File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
product_attribute_archive Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 55 "name" : "Product Attribute Archive" ,
66 "summary" : """
77 Add an active field on product attributes""" ,
8- "version" : "16 .0.1.0.0" ,
8+ "version" : "18 .0.1.0.0" ,
99 "license" : "AGPL-3" ,
1010 "author" : "Akretion,Odoo Community Association (OCA)" ,
1111 "depends" : ["product" ],
Original file line number Diff line number Diff line change 22<!-- Copyright 2021 Akretion
33 License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
44<odoo >
5-
65 <record model =" ir.ui.view" id =" product_attribute_form_view" >
76 <field name =" name" >product.attribute.form</field >
87 <field name =" model" >product.attribute</field >
98 <field name =" inherit_id" ref =" product.product_attribute_view_form" />
109 <field name =" arch" type =" xml" >
1110 <xpath expr =" //group[@name='main_fields']" position =" before" >
12- <field name =" active" invisible =" 1" />
13- <widget
11+ <field name =" active" invisible =" 1" />
12+ <widget
1413 name =" web_ribbon"
1514 title =" Archived"
1615 bg_color =" bg-danger"
17- attrs = " {'invisible': [(' active', '=', True)]} "
16+ invisible = " active"
1817 />
1918 </xpath >
2019 <field name =" html_color" position =" after" >
3736 <record model =" ir.actions.act_window" id =" product.attribute_action" >
3837 <field name =" context" >{'active_test': False}</field >
3938 </record >
40-
4139</odoo >
You can’t perform that action at this time.
0 commit comments