[MIG] product_state: Migration to 16.0
This commit is contained in:
parent
6e42b9c38c
commit
a796e31f22
3 changed files with 1 additions and 9 deletions
|
@ -7,7 +7,7 @@
|
|||
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/product-attribute",
|
||||
"category": "Product",
|
||||
"version": "12.0.2.0.2",
|
||||
"version": "16.0.1.0.0",
|
||||
"license": "AGPL-3",
|
||||
"depends": ["sale", "product"],
|
||||
"data": [
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
# Copyright 2020 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
from odoo.addons.product_state.hooks import post_init_hook
|
||||
|
||||
|
||||
def migrate(cr, version):
|
||||
post_init_hook(cr, False)
|
|
@ -129,7 +129,6 @@
|
|||
<record model="ir.actions.act_window" id="action_product_state">
|
||||
<field name="name">State</field>
|
||||
<field name="res_model">product.state</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">kanban,form,tree</field>
|
||||
</record>
|
||||
<menuitem
|
||||
|
|
Loading…
Add table
Reference in a new issue