Skip to content

Commit

Permalink
[FIX] stock_quant_package_product_packaging: Remove groups attribute …
Browse files Browse the repository at this point in the history
…from view

As Odoo introduced a new constraint on domains, fields that are used in those domains
can't have groups.
  • Loading branch information
rousseldenis committed Oct 19, 2022
1 parent 81d3aa9 commit 2dcf8ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<field name="inherit_id" ref="stock.view_quant_package_form" />
<field name="arch" type="xml">
<field name="company_id" position="before">
<field name="single_product_id" groups="base.group_no_one" />
<field name="single_product_qty" groups="base.group_no_one" />
<field name="single_product_id" invisible="1" />
<field name="single_product_qty" invisible="1" />
<field
name="product_packaging_id"
domain="[('product_id', '=', single_product_id), ('qty', '=', single_product_qty)]"
Expand Down

0 comments on commit 2dcf8ca

Please sign in to comment.