2
0
forked from Wavyzz/dolibarr

Merge pull request #22085 from lkotsoni/Add_notes_to_productlot

[NEW][#22048][Added notes to productlot module]
This commit is contained in:
Laurent Destailleur
2022-10-07 23:28:13 +02:00
committed by GitHub
5 changed files with 142 additions and 2 deletions

View File

@@ -145,6 +145,9 @@ CREATE TABLE llx_bank_extrafields
ALTER TABLE llx_bank_extrafields ADD INDEX idx_bank_extrafields (fk_object);
ALTER TABLE llx_product_lot ADD COLUMN note_public text DEFAULT NULL after batch;
ALTER TABLE llx_product_lot ADD COLUMN note_private text DEFAULT NULL after note_public;
ALTER TABLE llx_user CHANGE COLUMN note note_private text;
UPDATE llx_c_effectif SET code='EF101-500', libelle='101 - 500' WHERE code='EF100-500';

View File

@@ -22,6 +22,8 @@ CREATE TABLE llx_product_lot (
entity integer DEFAULT 1,
fk_product integer NOT NULL, -- Id of product
batch varchar(128) DEFAULT NULL, -- Lot or serial number
note_public text DEFAULT NULL,
note_private text DEFAULT NULL,
eatby date DEFAULT NULL, -- Eatby date
sellby date DEFAULT NULL, -- Sellby date
eol_date datetime NULL,