Skip to content

Commit

Permalink
[FIX] get back to mrp_bom_simple_report
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinDupont committed Nov 20, 2024
1 parent 2520fb0 commit f328bab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mrp_bom_wizard_production/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "AGPL-3",
"depends": [
"mrp_bom_product_price_margin",
"mrp_bom_simple_report_with_sections_notes",
"mrp_bom_simple_report",
],
"data": [
"security/ir.model.access.csv",
Expand Down
6 changes: 3 additions & 3 deletions mrp_bom_wizard_production/report/report_bom_purchase_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -245,20 +245,20 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
</t>

<!--
This part is handled by module mrp_bom_simple_report_with_sections_notes
This part is handled by module mrp_bom_simple_report
so we need to extract from t-call web.simple_layout to be handle correctly
-->
<!-- ======= BOMS ======= -->
<t t-if="option_print_bom">
<t t-foreach="wizard_lines" t-as="wizard_line">
<t t-call="mrp_bom_simple_report_with_sections_notes.bom_simple_report_xml">
<t t-call="mrp_bom_simple_report.bom_simple_report_xml">
<t t-set="docs" t-value="wizard_line.bom_id"/>
<t t-set="bom_qty" t-value="wizard_line.quantity"/>
</t>
</t>
<!-- ======= INTERMEDIATE BOMS TO PRODUCE ======= -->
<t t-foreach="data_produce_bom_qty" t-as="intermediate_bom">
<t t-call="mrp_bom_simple_report_with_sections_notes.bom_simple_report_xml">
<t t-call="mrp_bom_simple_report.bom_simple_report_xml">
<t t-set="docs" t-value="intermediate_bom[0]"/>
<t t-set="bom_qty" t-value="intermediate_bom[1]"/>
<t t-set="bom_intermediate_parent_bom_text" t-value="intermediate_bom[2]"/>
Expand Down

0 comments on commit f328bab

Please sign in to comment.