Skip to content

Commit

Permalink
Fix: field is not mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 7, 2013
1 parent 74a50d8 commit edaeaf3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions htdocs/install/mysql/migration/3.4.0-3.5.0.sql
Expand Up @@ -288,4 +288,9 @@ ALTER TABLE llx_bordereau_cheque ADD tms timestamp;
-- Task 1011
ALTER TABLE llx_societe ADD mode_reglement_supplier integer NULL AFTER cond_reglement;
ALTER TABLE llx_societe ADD cond_reglement_supplier integer NULL AFTER mode_reglement_supplier;

ALTER TABLE llx_facture_fourn ADD fk_mode_reglement integer NULL AFTER fk_cond_reglement;

ALTER TABLE llx_facture_fourn MODIFY COLUMN fk_mode_reglement integer NULL;
ALTER TABLE llx_facture_fourn MODIFY COLUMN fk_cond_reglement integer NULL;

4 changes: 2 additions & 2 deletions htdocs/install/mysql/tables/llx_facture_fourn.sql
Expand Up @@ -58,8 +58,8 @@ create table llx_facture_fourn
fk_facture_source integer, -- facture origine si facture avoir
fk_projet integer, -- projet auquel est associee la facture

fk_cond_reglement integer DEFAULT 1 NOT NULL, -- condition de reglement (30 jours, fin de mois ...)
fk_mode_reglement integer DEFAULT 0 NOT NULL, -- mode de reglement (CHQ, VIR, ...)
fk_cond_reglement integer, -- condition de reglement (30 jours, fin de mois ...)
fk_mode_reglement integer, -- mode de reglement (CHQ, VIR, ...)
date_lim_reglement date, -- date limite de reglement

note_private text,
Expand Down

0 comments on commit edaeaf3

Please sign in to comment.