Skip to content
Snippets Groups Projects
Commit 5add840b authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] point_of_sale: always create missing picking types


Don't do it only at install.

closes odoo/odoo#132062

Signed-off-by: default avatarNicolas Seinlet (nse) <nse@odoo.com>
parent e1dcf886
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<function model="stock.warehouse" name="_create_missing_pos_picking_types"/>
</data>
<data noupdate="1">
<!-- After closing the PoS, open the dashboard menu -->
<record id="action_client_pos_menu" model="ir.actions.client">
......@@ -8,8 +12,6 @@
<field name="params" eval="{'menu_id': ref('menu_point_root')}"/>
</record>
<function model="stock.warehouse" name="_create_missing_pos_picking_types"/>
<record id="product_category_pos" model="product.category">
<field name="parent_id" ref="product.product_category_1"/>
<field name="name">PoS</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment