Revision fc1e67b4
Von Jan Büren vor mehr als 3 Jahren hinzugefügt
SL/DB/MetaSetup/Default.pm | ||
---|---|---|
19 | 19 |
allow_new_purchase_invoice => { type => 'boolean', default => 'true', not_null => 1 }, |
20 | 20 |
allow_sales_invoice_from_sales_order => { type => 'boolean', default => 'true', not_null => 1 }, |
21 | 21 |
allow_sales_invoice_from_sales_quotation => { type => 'boolean', default => 'true', not_null => 1 }, |
22 |
ap_add_doc => { type => 'boolean', default => 'true', not_null => 1 }, |
|
22 | 23 |
ap_changeable => { type => 'integer', default => 2, not_null => 1 }, |
23 | 24 |
ap_chart_id => { type => 'integer' }, |
24 | 25 |
ap_show_mark_as_paid => { type => 'boolean', default => 'true' }, |
26 |
ar_add_doc => { type => 'boolean', default => 'true', not_null => 1 }, |
|
25 | 27 |
ar_changeable => { type => 'integer', default => 2, not_null => 1 }, |
26 | 28 |
ar_chart_id => { type => 'integer' }, |
27 | 29 |
ar_paid_accno_id => { type => 'integer' }, |
... | ... | |
94 | 96 |
feature_ustva => { type => 'boolean', default => 'true', not_null => 1 }, |
95 | 97 |
fxgain_accno_id => { type => 'integer' }, |
96 | 98 |
fxloss_accno_id => { type => 'integer' }, |
99 |
gl_add_doc => { type => 'boolean', default => 'true', not_null => 1 }, |
|
97 | 100 |
gl_changeable => { type => 'integer', default => 2, not_null => 1 }, |
98 | 101 |
global_bcc => { type => 'text', default => '' }, |
99 | 102 |
id => { type => 'serial', not_null => 1 }, |
... | ... | |
102 | 105 |
inventory_system => { type => 'text' }, |
103 | 106 |
invnumber => { type => 'text' }, |
104 | 107 |
invoice_mail_settings => { type => 'enum', check_in => [ 'cp', 'invoice_mail', 'invoice_mail_cc_cp' ], db_type => 'invoice_mail_settings', default => 'cp' }, |
108 |
ir_add_doc => { type => 'boolean', default => 'true', not_null => 1 }, |
|
105 | 109 |
ir_changeable => { type => 'integer', default => 2, not_null => 1 }, |
106 | 110 |
ir_show_mark_as_paid => { type => 'boolean', default => 'true' }, |
107 | 111 |
is_changeable => { type => 'integer', default => 2, not_null => 1 }, |
sql/Pg-upgrade2/defaults_posting_records_add.sql | ||
---|---|---|
1 |
-- @tag: defaults_posting_records_add |
|
2 |
-- @description: Einstellung, ob Belege (PDF) zu einer Buchung hinzugefügt werden sollen |
|
3 |
-- @depends: release_3_5_6_1 |
|
4 |
|
|
5 |
ALTER TABLE defaults ADD COLUMN ir_add_doc BOOLEAN NOT NULL DEFAULT true; |
|
6 |
ALTER TABLE defaults ADD COLUMN ar_add_doc BOOLEAN NOT NULL DEFAULT true; |
|
7 |
ALTER TABLE defaults ADD COLUMN ap_add_doc BOOLEAN NOT NULL DEFAULT true; |
|
8 |
ALTER TABLE defaults ADD COLUMN gl_add_doc BOOLEAN NOT NULL DEFAULT true; |
templates/webpages/client_config/_posting_configuration.html | ||
---|---|---|
26 | 26 |
<td>[% L.select_tag('defaults.gl_changeable', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.gl_changeable) %]</td> |
27 | 27 |
<td>[% LxERP.t8('Should gl transactions be and when should they be changeable or deleteable after posting?') %]</td> |
28 | 28 |
</tr> |
29 |
|
|
30 | 29 |
<tr> </tr> |
31 | 30 |
<tr> </tr> |
32 |
|
|
33 | 31 |
<tr> |
34 | 32 |
<td align="right">[% LxERP.t8('Payments Changeable') %]</td> |
35 | 33 |
<td>[% L.select_tag('defaults.payments_changeable', SELF.payment_options, value_key = 'value', title_key = 'title', default = SELF.defaults.payments_changeable) %]</td> |
... | ... | |
39 | 37 |
<tr> </tr> |
40 | 38 |
<tr> </tr> |
41 | 39 |
|
40 |
<tr> |
|
41 |
<td align="right">[% LxERP.t8(' Add document for Purchase invoices') %]</td> |
|
42 |
<td>[% L.yes_no_tag('defaults.ir_add_doc', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.ir_add_doc) %]</td> |
|
43 |
<td>[% LxERP.t8('Show document tab after posting?') %]</td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<td align="right">[% LxERP.t8(' Add document for AR transactions') %]</td> |
|
47 |
<td>[% L.yes_no_tag('defaults.ar_add_doc', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.ar_add_doc) %]</td> |
|
48 |
<td>[% LxERP.t8('Show document tab after posting?') %]</td> |
|
49 |
</tr> |
|
50 |
<tr> |
|
51 |
<td align="right">[% LxERP.t8(' Add document for AP transactions') %]</td> |
|
52 |
<td>[% L.yes_no_tag('defaults.ap_add_doc', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.ap_add_doc) %]</td> |
|
53 |
<td>[% LxERP.t8('Show document tab after posting?') %]</td> |
|
54 |
</tr> |
|
55 |
<tr> |
|
56 |
<td align="right">[% LxERP.t8(' Add document for GL transactions') %]</td> |
|
57 |
<td>[% L.yes_no_tag('defaults.gl_add_doc', SELF.posting_options, value_key = 'value', title_key = 'title', default = SELF.defaults.gl_add_doc) %]</td> |
|
58 |
<td>[% LxERP.t8('Show document tab after posting?') %]</td> |
|
59 |
</tr> |
|
60 |
|
|
61 |
<tr> </tr> |
|
62 |
<tr> </tr> |
|
63 |
|
|
42 | 64 |
<tr> |
43 | 65 |
<td align="right">[% LxERP.t8('Show "mark as paid" in sales invoices') %]</td> |
44 | 66 |
<td>[% L.yes_no_tag('defaults.is_show_mark_as_paid', SELF.defaults.is_show_mark_as_paid) %]</td> |
Auch abrufbar als: Unified diff
Mandatenkonfig->Buchungskonfig-> Verhalten nach Buchen optional ändern
Falls der Mandant zu jeder Buchung einen Beleg hinzufügen möchte,
ist es nicht sinnvoll in eine leere Buchungsmaske zu springen.
Einzeln steuerbar für alle Buchungsmasken außer VK-Rechnung