Missing entity in the bookkeeping table
This commit is contained in:
parent
9e5ae87ee2
commit
8fc857fdcb
@ -115,3 +115,6 @@ create table llx_product_warehouse_properties
|
|||||||
desiredstock integer DEFAULT '0',
|
desiredstock integer DEFAULT '0',
|
||||||
import_key varchar(14) -- Import key
|
import_key varchar(14) -- Import key
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|
||||||
|
ALTER TABLE llx_accounting_bookkeeping ADD COLUMN entity integer DEFAULT 1 NOT NULL;
|
||||||
|
|
||||||
|
|||||||
@ -20,6 +20,7 @@
|
|||||||
CREATE TABLE llx_accounting_bookkeeping
|
CREATE TABLE llx_accounting_bookkeeping
|
||||||
(
|
(
|
||||||
rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
doc_date date NOT NULL,
|
doc_date date NOT NULL,
|
||||||
doc_type varchar(30) NOT NULL, -- facture_client/reglement_client/facture_fournisseur/reglement_fournisseur
|
doc_type varchar(30) NOT NULL, -- facture_client/reglement_client/facture_fournisseur/reglement_fournisseur
|
||||||
doc_ref varchar(300) NOT NULL, -- facture_client/reglement_client/... reference number
|
doc_ref varchar(300) NOT NULL, -- facture_client/reglement_client/... reference number
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user