Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 985c6455

Von Tamino Steinert vor fast 2 Jahren hinzugefügt

  • ID 985c645545286722fefc1dc785118526fff93de5
  • Vorgänger 34099460
  • Nachfolger 7687c447

Reclamation: add default settings

Unterschiede anzeigen:

SL/DB/MetaSetup/Default.pm
140 140
  order_warn_duplicate_parts                => { type => 'boolean', default => 'true' },
141 141
  order_warn_no_cusordnumber                => { type => 'boolean', default => 'false' },
142 142
  order_warn_no_deliverydate                => { type => 'boolean', default => 'true' },
143
  p_reclamation_record_number               => { type => 'text', default => '0', not_null => 1 },
143 144
  parts_image_css                           => { type => 'text', default => 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;' },
144 145
  parts_listing_image                       => { type => 'boolean', default => 'true' },
145 146
  parts_show_image                          => { type => 'boolean', default => 'true' },
......
159 160
  purchase_delivery_order_check_stocked     => { type => 'boolean', default => 'false' },
160 161
  purchase_delivery_order_show_delete       => { type => 'boolean', default => 'true' },
161 162
  purchase_order_show_delete                => { type => 'boolean', default => 'true' },
163
  purchase_reclamation_show_delete          => { type => 'boolean', default => 'true', not_null => 1 },
162 164
  quick_search_modules                      => { type => 'array' },
163 165
  rdonumber                                 => { type => 'text' },
164 166
  record_links_from_order_with_myself       => { type => 'boolean', default => 'false' },
165 167
  record_links_from_order_with_quotations   => { type => 'boolean', default => 'false' },
168
  reclamation_warn_duplicate_parts          => { type => 'boolean', default => 'true', not_null => 1 },
169
  reclamation_warn_no_reqdate               => { type => 'boolean', default => 'true', not_null => 1 },
166 170
  reqdate_interval                          => { type => 'integer', default => '0' },
167 171
  reqdate_on                                => { type => 'boolean', default => 'true' },
168 172
  require_transaction_description_ps        => { type => 'boolean', default => 'false', not_null => 1 },
......
172 176
  rmanumber                                 => { type => 'text' },
173 177
  rndgain_accno_id                          => { type => 'integer' },
174 178
  rndloss_accno_id                          => { type => 'integer' },
179
  s_reclamation_record_number               => { type => 'text', default => '0', not_null => 1 },
175 180
  sales_delivery_order_check_service        => { type => 'boolean', default => 'true' },
176 181
  sales_delivery_order_check_stocked        => { type => 'boolean', default => 'false' },
177 182
  sales_delivery_order_show_delete          => { type => 'boolean', default => 'true' },
178 183
  sales_order_show_delete                   => { type => 'boolean', default => 'true' },
179 184
  sales_purchase_order_ship_missing_column  => { type => 'boolean', default => 'false' },
180 185
  sales_purchase_record_numbers_changeable  => { type => 'boolean', default => 'false', not_null => 1 },
186
  sales_reclamation_show_delete             => { type => 'boolean', default => 'true', not_null => 1 },
181 187
  sales_serial_eq_charge                    => { type => 'boolean', default => 'false', not_null => 1 },
182 188
  sdonumber                                 => { type => 'text' },
183 189
  sepa_creditor_id                          => { type => 'text' },
sql/Pg-upgrade2/defaults_add_reclamation.sql
1
-- @tag: defaults_add_reclamations
2
-- @description: Add defaults show_delete, always_project, warn_no_reqdate and warn_duplicate_parts for reclamations
3
-- @depends: reclamations
4

  
5
--show_delete
6
ALTER TABLE defaults ADD COLUMN sales_reclamation_show_delete    boolean NOT NULL DEFAULT TRUE;
7
ALTER TABLE defaults ADD COLUMN purchase_reclamation_show_delete boolean NOT NULL DEFAULT TRUE;
8

  
9
--warn
10
ALTER TABLE defaults ADD COLUMN reclamation_warn_no_reqdate      boolean NOT NULL DEFAULT TRUE;
11
ALTER TABLE defaults ADD COLUMN reclamation_warn_duplicate_parts boolean NOT NULL DEFAULT TRUE;
templates/webpages/client_config/_features.html
274 274
   <td>[% L.yes_no_tag("defaults.warn_no_delivery_order_for_invoice", SELF.defaults.warn_no_delivery_order_for_invoice ) %]</td>
275 275
   <td>[% LxERP.t8("If enabled a warning will be shown if a sales invoices is created without having a sales delivery order as a predecessor.") %]</td>
276 276
  </tr>
277

  
278
  <tr>
279
   <td align="right">[% LxERP.t8("Warn before saving reclamations with duplicate parts") %]</td>
280
   <td>[% L.yes_no_tag("defaults.reclamation_warn_duplicate_parts", SELF.defaults.reclamation_warn_duplicate_parts) %]</td>
281
   <td>[% LxERP.t8("If enabled a warning will be shown in sales and purchase reclamations if there are two or more positions of the same part.") %]</td>
282
  </tr>
283
  <tr>
284
   <td align="right">[% LxERP.t8("Warn before saving reclamations without a due date") %]</td>
285
   <td>[% L.yes_no_tag("defaults.reclamation_warn_no_reqdate", SELF.defaults.reclamation_warn_no_reqdate) %]</td>
286
   <td>[% LxERP.t8("If enabled a warning will be shown in sales and purchase reclamations if there the due date is empty.") %]</td>
287
  </tr>
288

  
277 289
  <tr>
278 290
   <td align="right">[% LxERP.t8("Create sales invoices with Factur-X/ZUGFeRD data") %]</td>
279 291
   <td>[% L.select_tag("defaults.create_zugferd_invoices", SELF.zugferd_settings, default=SELF.defaults.create_zugferd_invoices) %]</td>
templates/webpages/client_config/_orders_deleteable.html
21 21
   <td>[% L.yes_no_tag('defaults.purchase_delivery_order_show_delete', SELF.defaults.purchase_delivery_order_show_delete) %]</td>
22 22
   <td>[% LxERP.t8('Show delete button in purchase delivery orders?') %]</td>
23 23
  </tr>
24

  
25
  <tr>
26
   <td align="right">[% LxERP.t8('Sales Reclamations deleteable') %]</td>
27
   <td>[% L.yes_no_tag('defaults.sales_reclamation_show_delete', SELF.defaults.sales_reclamation_show_delete) %]</td>
28
   <td>[% LxERP.t8('Show delete button in sales reclamations?') %]</td>
29
  </tr>
30
  <tr>
31
   <td align="right">[% LxERP.t8('Purchase Reclamations deleteable') %]</td>
32
   <td>[% L.yes_no_tag('defaults.purchase_reclamation_show_delete', SELF.defaults.purchase_reclamation_show_delete) %]</td>
33
   <td>[% LxERP.t8('Show delete button in purchase reclamations?') %]</td>
34
  </tr>
24 35
 </table>
25 36
</div>
templates/webpages/client_config/_ranges_of_numbers.html
6 6
   <td>[% L.input_tag("defaults.invnumber", SELF.defaults.invnumber, size="15") %]</td>
7 7
   <td align="right" nowrap>[% LxERP.t8('Last Customer Number') %]</td>
8 8
   <td>[% L.input_tag("defaults.customernumber", SELF.defaults.customernumber, size="15") %]</td>
9
   <td align="right" nowrap>[% LxERP.t8('Last Sales Reclamation Number') %]</td>
10
   <td>[% L.input_tag("defaults.s_reclamation_record_number", SELF.defaults.s_reclamation_record_number, size="15") %]</td>
9 11
  </tr>
10 12

  
11 13
  <tr>
......
13 15
   <td>[% L.input_tag("defaults.cnnumber", SELF.defaults.cnnumber, size="15") %]</td>
14 16
   <td align="right" nowrap>[% LxERP.t8('Last Vendor Number') %]</td>
15 17
   <td>[% L.input_tag("defaults.vendornumber", SELF.defaults.vendornumber, size="15") %]</td>
18
   <td align="right" nowrap>[% LxERP.t8('Last Purchase Reclamation Number') %]</td>
19
   <td>[% L.input_tag("defaults.p_reclamation_record_number", SELF.defaults.p_reclamation_record_number, size="15") %]</td>
16 20
  </tr>
17 21

  
18 22
  <tr>

Auch abrufbar als: Unified diff