Browse Source

[FIX] beesdoo_product: child.attrs is undefined

- double closing tag /> /> creates a TypeError in form_renderer.js
pull/141/head
Vincent Van Rossem 4 years ago
parent
commit
31c496d3ec
  1. 2
      beesdoo_product/views/beesdoo_product.xml

2
beesdoo_product/views/beesdoo_product.xml

@ -6,7 +6,7 @@
<field name="inherit_id" ref="product.product_template_only_form_view" />
<field name="arch" type="xml">
<field name="barcode" position="after">
<button string="Generate Barcode" name="generate_barcode" type="object" colspan="2" attrs="{'invisible' : [('barcode','!=',False)]}" /> />
<button string="Generate Barcode" name="generate_barcode" type="object" colspan="2" attrs="{'invisible' : [('barcode','!=',False)]}" />
</field>
<field name="list_price" position="after">
<field name="suggested_price" widget='monetary' options="{'currency_field': 'currency_id'}" />

Loading…
Cancel
Save