[FIX] stock: starting demo data inventory
The demo data inventory didn't call the right method (`action_start` instead of `_action_start`), so, if user tried to re-install stock module, the `ensure_once` check will fail when reinstall the demo data. closes odoo/odoo#33811 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
<field name="location_id" ref="stock_location_components"/>
|
||||
</record>
|
||||
|
||||
<function model="stock.inventory" name="action_start">
|
||||
<function model="stock.inventory" name="_action_start">
|
||||
<function eval="[[('state','=','draft'),('id', '=', ref('stock_inventory_0'))]]" model="stock.inventory" name="search"/>
|
||||
</function>
|
||||
<function model="stock.inventory" name="action_validate">
|
||||
|
||||
Reference in New Issue
Block a user