Skip to content

Commit

Permalink
fix mrp_sale_grouped test
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinDupont committed Feb 14, 2025
1 parent 743f092 commit 4cdac94
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions mrp_bom_report_allergen/views/view_product_template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2022 - Today: GRAP (http://www.grap.coop)
@author: Quentin DUPONT ([email protected])
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>

<!-- ************************************************************ -->
<!-- Product.template Form View -->
<!-- ************************************************************ -->

<record id="view_mrp_bom_report_allergen_product_template_form" model="ir.ui.view">
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view" />
<field name="arch" type="xml">

<xpath expr="//field[@name='categ_id']" position="after">
<field name="meal_category_id"/>
</xpath>

</field>
</record>


</odoo>
2 changes: 1 addition & 1 deletion mrp_sale_grouped/tests/test_mrp_sale_grouped.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def setUp(self):
# Objects
self.mrp_sale_grouped_obj = self.env["mrp.sale.grouped"]
self.wizard_obj = self.env["sale.grouped.wizard"]
self.wizard_purchase_list_obj = self.env["bom.print.purchase.list.wizard"]
self.wizard_purchase_list_obj = self.env["bom.wizard.production"]
# Demo datas
self.sale_order_gemini = self.env.ref("mrp_sale_grouped.demo_sale_gemini")
self.sale_order_ready_mat = self.env.ref("mrp_sale_grouped.demo_sale_ready_mat")
Expand Down

0 comments on commit 4cdac94

Please sign in to comment.