diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-12-11 18:51:05 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-12-11 18:51:05 +0100 |
| commit | 069278b6520be7d57a9eebb4a77b3c4fb0a3f7a8 (patch) | |
| tree | 1c9357f27139f5608bef7c028acfda9e238f6caa /odoo | |
| parent | 43b86aa704fba658b07ca6564ee0f1f2ffe2c3fd (diff) | |
| parent | 55dafc20f6bfef845f7db2e365b78b570d75a1d2 (diff) | |
[MERGE] forward port branch saas-11.3 up to 55dafc20f6b
Diffstat (limited to 'odoo')
| -rw-r--r-- | odoo/fields.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/odoo/fields.py b/odoo/fields.py index ce49ddc5e93..a678dec06d5 100644 --- a/odoo/fields.py +++ b/odoo/fields.py @@ -2582,6 +2582,8 @@ class Many2many(_RelationalMulti): self.column2 = '%s_id' % comodel._table # check validity of table name check_pg_name(self.relation) + else: + self.relation = self.column1 = self.column2 = None def _setup_regular_full(self, model): super(Many2many, self)._setup_regular_full(model) |
