summaryrefslogtreecommitdiff
path: root/odoo/addons/base/data/base_data.sql
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2019-03-20 08:42:38 +0000
committerjem-odoo <jem@openerp.com>2019-05-07 14:05:35 +0000
commit58bcd394caff12967b63d0b837d5b5249f5df148 (patch)
tree3f892134b9fa95ca6f7e9faea50acc6048b542bc /odoo/addons/base/data/base_data.sql
parenta38dc1ccb94c45cf632d9cf547c6570f63cb45d1 (diff)
[IMP] sale: make confirmation_date required for confirmed SO
Somehow, when a sales order is confirmed, its confirmation date might not be set (or it is possible to remove it). This makes no sense as we expect it to be set when the SO is confirmed. This commit adds an SQL constraint to ensure the confirmation date is required when the SO is confirmed or done. To populate this column, the confirmation can be deduced from the mail.message, with the confirmed subtype. Task-1930506 closes odoo/odoo#33230 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Diffstat (limited to 'odoo/addons/base/data/base_data.sql')
0 files changed, 0 insertions, 0 deletions