Skip to content

Commit

Permalink
[FIX] connector_oxigesti: fix error with Codigo Articulo allowing mod…
Browse files Browse the repository at this point in the history
…ification of the default code
  • Loading branch information
FrankC013 authored and eantones committed Sep 25, 2024
1 parent b6dd334 commit d66b2ed
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions connector_oxigesti/views/product_product_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
<field name="default_code" position="attributes">
<attribute
name="attrs"
>{'invisible': [('product_variant_count', '>', 1)],
'readonly': [('oxigesti_product_variant_bind_ids', '!=', [])]}</attribute>
>{'invisible': [('product_variant_count', '>', 1)]}</attribute>
</field>
</field>
</record>
Expand All @@ -35,11 +34,6 @@
<field name="oxigesti_bind_ids" nolabel="1" />
</group>
</page>
<field name="default_code" position="attributes">
<attribute
name="attrs"
>{'readonly': [('oxigesti_bind_ids', '!=', [])]}</attribute>
</field>
</field>
</record>

Expand Down

0 comments on commit d66b2ed

Please sign in to comment.