Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7fede255

Von Tamino Steinert vor mehr als 2 Jahren hinzugefügt

  • ID 7fede2550be5fda2a9a7a6be40c91fbafdcc6cdf
  • Vorgänger f1b40800
  • Nachfolger e0486ad9

Reclamation: add default settings

Unterschiede anzeigen:

SL/DB/MetaSetup/Default.pm
order_warn_duplicate_parts => { type => 'boolean', default => 'true' },
order_warn_no_cusordnumber => { type => 'boolean', default => 'false' },
order_warn_no_deliverydate => { type => 'boolean', default => 'true' },
p_reclamation_record_number => { type => 'text', default => '0', not_null => 1 },
parts_image_css => { type => 'text', default => 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;' },
parts_listing_image => { type => 'boolean', default => 'true' },
parts_show_image => { type => 'boolean', default => 'true' },
......
purchase_delivery_order_check_stocked => { type => 'boolean', default => 'false' },
purchase_delivery_order_show_delete => { type => 'boolean', default => 'true' },
purchase_order_show_delete => { type => 'boolean', default => 'true' },
purchase_reclamation_show_delete => { type => 'boolean', default => 'true', not_null => 1 },
quick_search_modules => { type => 'array' },
rdonumber => { type => 'text' },
reclamation_warn_duplicate_parts => { type => 'boolean', default => 'true', not_null => 1 },
reclamation_warn_no_reqdate => { type => 'boolean', default => 'true', not_null => 1 },
reqdate_interval => { type => 'integer', default => '0' },
reqdate_on => { type => 'boolean', default => 'true' },
require_transaction_description_ps => { type => 'boolean', default => 'false', not_null => 1 },
......
rmanumber => { type => 'text' },
rndgain_accno_id => { type => 'integer' },
rndloss_accno_id => { type => 'integer' },
s_reclamation_record_number => { type => 'text', default => '0', not_null => 1 },
sales_delivery_order_check_service => { type => 'boolean', default => 'true' },
sales_delivery_order_check_stocked => { type => 'boolean', default => 'false' },
sales_delivery_order_show_delete => { type => 'boolean', default => 'true' },
sales_order_show_delete => { type => 'boolean', default => 'true' },
sales_purchase_order_ship_missing_column => { type => 'boolean', default => 'false' },
sales_purchase_record_numbers_changeable => { type => 'boolean', default => 'false', not_null => 1 },
sales_reclamation_show_delete => { type => 'boolean', default => 'true', not_null => 1 },
sales_serial_eq_charge => { type => 'boolean', default => 'false', not_null => 1 },
sdonumber => { type => 'text' },
sepa_creditor_id => { type => 'text' },
sql/Pg-upgrade2/defaults_add_reclamation.sql
-- @tag: defaults_add_reclamations
-- @description: Add defaults show_delete, always_project, warn_no_reqdate and warn_duplicate_parts for reclamations
-- @depends: reclamations
--show_delete
ALTER TABLE defaults ADD COLUMN sales_reclamation_show_delete boolean NOT NULL DEFAULT TRUE;
ALTER TABLE defaults ADD COLUMN purchase_reclamation_show_delete boolean NOT NULL DEFAULT TRUE;
--warn
ALTER TABLE defaults ADD COLUMN reclamation_warn_no_reqdate boolean NOT NULL DEFAULT TRUE;
ALTER TABLE defaults ADD COLUMN reclamation_warn_duplicate_parts boolean NOT NULL DEFAULT TRUE;
templates/webpages/client_config/_features.html
<td>[% L.yes_no_tag("defaults.warn_no_delivery_order_for_invoice", SELF.defaults.warn_no_delivery_order_for_invoice ) %]</td>
<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>
</tr>
<tr>
<td align="right">[% LxERP.t8("Warn before saving reclamations with duplicate parts") %]</td>
<td>[% L.yes_no_tag("defaults.reclamation_warn_duplicate_parts", SELF.defaults.reclamation_warn_duplicate_parts) %]</td>
<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>
</tr>
<tr>
<td align="right">[% LxERP.t8("Warn before saving reclamations without a due date") %]</td>
<td>[% L.yes_no_tag("defaults.reclamation_warn_no_reqdate", SELF.defaults.reclamation_warn_no_reqdate) %]</td>
<td>[% LxERP.t8("If enabled a warning will be shown in sales and purchase reclamations if there the due date is empty.") %]</td>
</tr>
<tr>
<td align="right">[% LxERP.t8("Create sales invoices with Factur-X/ZUGFeRD data") %]</td>
<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
<td>[% L.yes_no_tag('defaults.purchase_delivery_order_show_delete', SELF.defaults.purchase_delivery_order_show_delete) %]</td>
<td>[% LxERP.t8('Show delete button in purchase delivery orders?') %]</td>
</tr>
<tr>
<td align="right">[% LxERP.t8('Sales Reclamations deleteable') %]</td>
<td>[% L.yes_no_tag('defaults.sales_reclamation_show_delete', SELF.defaults.sales_reclamation_show_delete) %]</td>
<td>[% LxERP.t8('Show delete button in sales reclamations?') %]</td>
</tr>
<tr>
<td align="right">[% LxERP.t8('Purchase Reclamations deleteable') %]</td>
<td>[% L.yes_no_tag('defaults.purchase_reclamation_show_delete', SELF.defaults.purchase_reclamation_show_delete) %]</td>
<td>[% LxERP.t8('Show delete button in purchase reclamations?') %]</td>
</tr>
</table>
</div>
templates/webpages/client_config/_ranges_of_numbers.html
<td>[% L.input_tag("defaults.invnumber", SELF.defaults.invnumber, size="15") %]</td>
<td align="right" nowrap>[% LxERP.t8('Last Customer Number') %]</td>
<td>[% L.input_tag("defaults.customernumber", SELF.defaults.customernumber, size="15") %]</td>
<td align="right" nowrap>[% LxERP.t8('Last Sales Reclamation Number') %]</td>
<td>[% L.input_tag("defaults.s_reclamation_record_number", SELF.defaults.s_reclamation_record_number, size="15") %]</td>
</tr>
<tr>
......
<td>[% L.input_tag("defaults.cnnumber", SELF.defaults.cnnumber, size="15") %]</td>
<td align="right" nowrap>[% LxERP.t8('Last Vendor Number') %]</td>
<td>[% L.input_tag("defaults.vendornumber", SELF.defaults.vendornumber, size="15") %]</td>
<td align="right" nowrap>[% LxERP.t8('Last Purchase Reclamation Number') %]</td>
<td>[% L.input_tag("defaults.p_reclamation_record_number", SELF.defaults.p_reclamation_record_number, size="15") %]</td>
</tr>
<tr>

Auch abrufbar als: Unified diff