diff options
| author | Thibault Delavallée <tde@odoo.com> | 2020-03-19 15:52:48 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-03-19 17:13:30 +0000 |
| commit | 215b2fffa23409ab91729bf926d6a8ed9a2e6f35 (patch) | |
| tree | c83cd6c9ca385f26e522dec7a724c349d0ec2767 /addons/web/static/src | |
| parent | 86691b1379ebb470c73030926a118e9f3770bf70 (diff) | |
[FIX] account_check_printing: do not set account_check_printing_layout as required
Adding required fields on company model is annoying for tests. Indeed multi
company tests may run during module installation, notably in CRM. Those tests
generally require to create a new company which is not possible if the column
is required but module not already loaded in registry. This is the case
if for example account_invoice_extract is installed and updating CRM
when testing website_crm_score.
When possible, avoid required fields on a such used model as company. In this
case we simply make the field required in the view, and handle a void value
as the default disabled one, leading to no functional change.
closes odoo/odoo#48059
Related: odoo/enterprise#9381
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
