diff options
| author | Goffin Simon <sig@odoo.com> | 2019-06-17 07:48:28 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2019-06-17 08:14:18 +0000 |
| commit | 413c8c4d858f832f978bfbd830f8dcc3324b93e0 (patch) | |
| tree | e4905ca38447ac1cf03ebd74bb5b82c95dd1275d | |
| parent | 805e38295558b4dccf2ea17113f73a3b5ba99ac8 (diff) | |
[FIX] mrp: Manufacturing routes all get reference 'New'
When creating a manufacturing route in 2 companies in a multi-company environment,
only the routing 's reference of 'My company' got a sequence but the routing 's reference
of the other company stayed 'New'. Now the default sequences for mrp.routing are shared
between companies like SO and PO.
opw:2008570
closes odoo/odoo#34169
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
| -rw-r--r-- | addons/mrp/data/mrp_data.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mrp/data/mrp_data.xml b/addons/mrp/data/mrp_data.xml index 1343cbcf146..c9f6b8e608f 100644 --- a/addons/mrp/data/mrp_data.xml +++ b/addons/mrp/data/mrp_data.xml @@ -9,6 +9,7 @@ <field name="padding">5</field> <field name="number_next">1</field> <field name="number_increment">1</field> + <field name="company_id" eval="False"/> </record> <record id="sequence_mrp_unbuild" model="ir.sequence"> |
