File tree Expand file tree Collapse file tree
product_harmonized_system Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111{
1212 "name" : "Product Harmonized System Codes" ,
13- "version" : "18 .0.1.2 .0" ,
13+ "version" : "19 .0.1.0 .0" ,
1414 "category" : "Reporting" ,
1515 "license" : "AGPL-3" ,
1616 "summary" : "Base module for Product Import/Export reports" ,
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ def _compute_product_tmpl_count(self):
8888 for code in self :
8989 code .product_tmpl_count = mapped_data .get (code .id , 0 )
9090
91- @api .depends ("local_code" , "description" )
91+ @api .constrains ("local_code" , "description" )
9292 def _compute_display_name (self ):
9393 for this in self :
9494 name = this .local_code or ""
Original file line number Diff line number Diff line change 2626 <field name =" model" >product.template</field >
2727 <field name =" inherit_id" ref =" product.product_template_search_view" />
2828 <field name =" arch" type =" xml" >
29- <filter name = " categ_id" position =" after" >
29+ <xpath expr = " //field[@name=' categ_id'] " position =" after" >
3030 <filter
3131 string =" H.S. Code"
3232 name =" hs_code_groupby"
3737 name =" origin_country_groupby"
3838 context =" {'group_by': 'origin_country_id'}"
3939 />
40- </filter >
40+ </xpath >
4141 </field >
4242 </record >
4343</odoo >
You can’t perform that action at this time.
0 commit comments