diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-12-31 11:35:14 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-12-31 11:35:14 +0700 |
| commit | 8d5617370ca205bd4159e01d3ca63d1e694d5e04 (patch) | |
| tree | 23d9c088d50faa460127288341a56e98241f4a09 /fixco_custom/views | |
| parent | 1c42785d665f1b4d459e468d9c0428bc6f767954 (diff) | |
push
Diffstat (limited to 'fixco_custom/views')
| -rwxr-xr-x | fixco_custom/views/product_product.xml | 2 | ||||
| -rw-r--r-- | fixco_custom/views/purchase_pricelist.xml | 19 |
2 files changed, 1 insertions, 20 deletions
diff --git a/fixco_custom/views/product_product.xml b/fixco_custom/views/product_product.xml index a622d36..52945eb 100755 --- a/fixco_custom/views/product_product.xml +++ b/fixco_custom/views/product_product.xml @@ -17,7 +17,7 @@ <field name="barcode_box" /> <field name="qty_pcs_box" /> <field name="qr_code_variant" widget="image" readonly="True"/> - <field name="product_public_category_id" attrs="{'required': [('brand_id', '=', 3)]}"/> + <field name="product_public_category_id"/> </field> <field name="uom_po_id" position="after"> <field name="qty_multiple" /> diff --git a/fixco_custom/views/purchase_pricelist.xml b/fixco_custom/views/purchase_pricelist.xml index b4e70f6..dd4f6ea 100644 --- a/fixco_custom/views/purchase_pricelist.xml +++ b/fixco_custom/views/purchase_pricelist.xml @@ -35,23 +35,4 @@ </field> </record> - <record id="purchase_pricelist_action" model="ir.actions.act_window"> - <field name="name">Purchase Pricelist</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">purchase.pricelist</field> - <field name="view_mode">tree,form</field> - <field name="help" type="html"> - <p class="o_view_nocontent_smiling_face"> - Add Purchase Pricelist! - </p> - </field> - </record> - - <menuitem - id="menu_purchase_pricelist" - name="Purchase Pricelist" - parent="purchase.menu_purchase_products" - sequence="3" - action="purchase_pricelist_action" - /> </odoo>
\ No newline at end of file |
