Skip to content

Commit

Permalink
[ADD] product_internal_reference_generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasProgrammer committed Oct 26, 2023
1 parent bab2b14 commit 07628fc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions product_internal_reference_generator/views/product.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,12 @@
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_variant_easy_edit_view" />
<field name="arch" type="xml">
<attribute
name="attrs"
>{'readonly': [('default_code', '!=', False)]}</attribute>
<field name="default_code" position="attributes">
<attribute
name="attrs"
>{'readonly': [('default_code', '!=', False)]}</attribute>
</field>
</field>
</record>


</odoo>

0 comments on commit 07628fc

Please sign in to comment.