Skip to content

Instantly share code, notes, and snippets.

@ray-odoo
Created September 17, 2023 16:22
Show Gist options
  • Save ray-odoo/92e9a22db292bb080d4f5f34160623c3 to your computer and use it in GitHub Desktop.
Save ray-odoo/92e9a22db292bb080d4f5f34160623c3 to your computer and use it in GitHub Desktop.
Bill of Material Lines View - Odoo 16
<tree multi_edit="1" create="0">
<field name="company_id" invisible="1"/>
<field name="bom_id" readonly="1"/>
<field name="product_id" context="{'default_detailed_type': 'product'}"/>
<field name="product_tmpl_id" invisible="1"/>
<button name="action_see_attachments" type="object" icon="fa-files-o" aria-label="Product Attachments"
title="Product Attachments" class="float-end"/>
<field name="attachments_count" class="text-start" string=" "/>
<field name="product_qty"/>
<field name="product_uom_category_id" invisible="1"/>
<field name="parent_product_tmpl_id" invisible="1"/>
<field name="product_uom_id" readonly="1" options="{'no_open':True,'no_create':True}" groups="uom.group_uom"/>
<field name="possible_bom_product_template_attribute_value_ids" invisible="1"/>
</tree>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment