Add column subtype
This commit is contained in:
parent
789336ab34
commit
a5a55b37c5
@ -397,3 +397,5 @@ ALTER TABLE llx_mailing ADD COLUMN name_from varchar(128) AFTER email_from;
|
||||
|
||||
ALTER TABLE llx_bom_bomline ADD COLUMN fk_default_workstation integer DEFAULT NULL;
|
||||
ALTER TABLE llx_mrp_production ADD COLUMN fk_default_workstation integer DEFAULT NULL;
|
||||
|
||||
ALTER TABLE llx_facture ADD COLUMN subtype smallint DEFAULT NULL;
|
||||
|
||||
@ -33,13 +33,15 @@ create table llx_facture
|
||||
ref_client varchar(255), -- reference for customer
|
||||
|
||||
type smallint DEFAULT 0 NOT NULL, -- type of invoice
|
||||
subtype smallint DEFAULT NULL, -- subtype of invoice (some countries need a subtype to classify invoices)
|
||||
fk_soc integer NOT NULL,
|
||||
|
||||
datec datetime, -- date de creation de la facture
|
||||
datef date, -- date invoice
|
||||
date_pointoftax date DEFAULT NULL, -- date point of tax (for GB)
|
||||
date_valid date, -- date validation
|
||||
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- last modification date
|
||||
date_closing datetime, -- date de cloture
|
||||
date_closing datetime, -- date de cloture
|
||||
paye smallint DEFAULT 0 NOT NULL,
|
||||
|
||||
remise_percent real DEFAULT 0, -- remise relative
|
||||
|
||||
Loading…
Reference in New Issue
Block a user