Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 20615592

Von Jan Büren vor mehr als 3 Jahren hinzugefügt

  • ID 206155927763a94af31bcb89c556e394334d35dc
  • Vorgänger 29e70d36
  • Nachfolger 958c1727

Zum Feature: Beleg zur Buchung hinzufügen -> standardmäßig aus (so wie vorher)

Unterschiede anzeigen:

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
  ap_add_doc                                => { type => 'boolean', default => 'false', not_null => 1 },
23 23
  ap_changeable                             => { type => 'integer', default => 2, not_null => 1 },
24 24
  ap_chart_id                               => { type => 'integer' },
25 25
  ap_show_mark_as_paid                      => { type => 'boolean', default => 'true' },
26
  ar_add_doc                                => { type => 'boolean', default => 'true', not_null => 1 },
26
  ar_add_doc                                => { type => 'boolean', default => 'false', not_null => 1 },
27 27
  ar_changeable                             => { type => 'integer', default => 2, not_null => 1 },
28 28
  ar_chart_id                               => { type => 'integer' },
29 29
  ar_paid_accno_id                          => { type => 'integer' },
......
96 96
  feature_ustva                             => { type => 'boolean', default => 'true', not_null => 1 },
97 97
  fxgain_accno_id                           => { type => 'integer' },
98 98
  fxloss_accno_id                           => { type => 'integer' },
99
  gl_add_doc                                => { type => 'boolean', default => 'true', not_null => 1 },
99
  gl_add_doc                                => { type => 'boolean', default => 'false', not_null => 1 },
100 100
  gl_changeable                             => { type => 'integer', default => 2, not_null => 1 },
101 101
  global_bcc                                => { type => 'text', default => '' },
102 102
  id                                        => { type => 'serial', not_null => 1 },
......
105 105
  inventory_system                          => { type => 'text' },
106 106
  invnumber                                 => { type => 'text' },
107 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 },
108
  ir_add_doc                                => { type => 'boolean', default => 'false', not_null => 1 },
109 109
  ir_changeable                             => { type => 'integer', default => 2, not_null => 1 },
110 110
  ir_show_mark_as_paid                      => { type => 'boolean', default => 'true' },
111 111
  is_changeable                             => { type => 'integer', default => 2, not_null => 1 },
sql/Pg-upgrade2/defaults_posting_records_default_false.sql
1
-- @tag: defaults_posting_records_default_false
2
-- @description: Einstellung, ob Belege (PDF) zu einer Buchung hinzugefügt werden sollen
3
-- @depends: release_3_5_6_1 defaults_posting_records_add
4

  
5
ALTER TABLE defaults ALTER COLUMN ir_add_doc SET DEFAULT false;
6
ALTER TABLE defaults ALTER COLUMN ar_add_doc SET DEFAULT false;
7
ALTER TABLE defaults ALTER COLUMN ap_add_doc SET DEFAULT false;
8
ALTER TABLE defaults ALTER COLUMN gl_add_doc SET DEFAULT false;
9

  
10
UPDATE defaults set ir_add_doc='false';
11
UPDATE defaults set ar_add_doc='false';
12
UPDATE defaults set ap_add_doc='false';
13
UPDATE defaults set gl_add_doc='false';

Auch abrufbar als: Unified diff