[MIG] product_state: Migration to 16.0

This commit is contained in:
santi 2024-08-28 18:14:13 +00:00
parent 6e42b9c38c
commit a796e31f22
3 changed files with 1 additions and 9 deletions

View file

@ -7,7 +7,7 @@
"author": "ACSONE SA/NV, Odoo Community Association (OCA)", "author": "ACSONE SA/NV, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute", "website": "https://github.com/OCA/product-attribute",
"category": "Product", "category": "Product",
"version": "12.0.2.0.2", "version": "16.0.1.0.0",
"license": "AGPL-3", "license": "AGPL-3",
"depends": ["sale", "product"], "depends": ["sale", "product"],
"data": [ "data": [

View file

@ -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)

View file

@ -129,7 +129,6 @@
<record model="ir.actions.act_window" id="action_product_state"> <record model="ir.actions.act_window" id="action_product_state">
<field name="name">State</field> <field name="name">State</field>
<field name="res_model">product.state</field> <field name="res_model">product.state</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,form,tree</field> <field name="view_mode">kanban,form,tree</field>
</record> </record>
<menuitem <menuitem