c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #07611
[Bug 688914] [NEW] [6.0] add function field - required true - wrong sequence
Public bug reported:
adding a required function field in a module
IMHO it must compute the value first and then issue
ALTER TABLE set <field> not null;
if not a warning is issued like
WARNING:orm:WARNING: unable to set column period_id of table stock_move not null !
Try to re-run: openerp-server.py --update=module
If it doesn't work, update records and execute manually:
ALTER TABLE stock_move ALTER COLUMN period_id SET NOT NULL
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/688914
Title:
[6.0] add function field - required true - wrong sequence
Status in OpenObject Server:
New
Bug description:
adding a required function field in a module
IMHO it must compute the value first and then issue
ALTER TABLE set <field> not null;
if not a warning is issued like
WARNING:orm:WARNING: unable to set column period_id of table stock_move not null !
Try to re-run: openerp-server.py --update=module
If it doesn't work, update records and execute manually:
ALTER TABLE stock_move ALTER COLUMN period_id SET NOT NULL
Follow ups
References