diff options
| author | jem-odoo <jem@openerp.com> | 2019-03-20 08:42:38 +0000 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2019-05-07 14:05:35 +0000 |
| commit | 58bcd394caff12967b63d0b837d5b5249f5df148 (patch) | |
| tree | 3f892134b9fa95ca6f7e9faea50acc6048b542bc /odoo/addons/base/data/base_data.sql | |
| parent | a38dc1ccb94c45cf632d9cf547c6570f63cb45d1 (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
