diff --git a/addons/purchase_requisition/i18n/purchase_requisition.pot b/addons/purchase_requisition/i18n/purchase_requisition.pot index da58c5985766584eb2631ff437f836bad9c098bb..a8372d41081c6846ba4cfa447ffc4213af923d0d 100644 --- a/addons/purchase_requisition/i18n/purchase_requisition.pot +++ b/addons/purchase_requisition/i18n/purchase_requisition.pot @@ -35,6 +35,11 @@ msgstr "" msgid "<strong>Description</strong>" msgstr "" +#. module: purchase_requisition +#: model_terms:ir.ui.view,arch_db:purchase_requisition.report_purchaserequisitions +msgid "<strong>Product</strong>" +msgstr "" + #. module: purchase_requisition #: model_terms:ir.ui.view,arch_db:purchase_requisition.report_purchaserequisitions msgid "<strong>Product UoM</strong>" diff --git a/addons/purchase_requisition/report/report_purchaserequisition.xml b/addons/purchase_requisition/report/report_purchaserequisition.xml index 88415b479db9940e4d8956bcdf37bc182781b989..d98a244fe830142020ea3b4974032777b839d039 100644 --- a/addons/purchase_requisition/report/report_purchaserequisition.xml +++ b/addons/purchase_requisition/report/report_purchaserequisition.xml @@ -5,12 +5,17 @@ <t t-call="web.html_container"> <t t-foreach="docs" t-as="o"> <t t-call="web.external_layout"> + <t t-set="address"> + <div t-field="o.vendor_id" + t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}'/> + <p t-if="o.vendor_id.vat"><t t-esc="o.company_id.account_fiscal_country_id.vat_label or 'Tax ID'"/>: <span t-field="o.vendor_id.vat"/></p> + </t> <div class="page"> <div class="oe_structure"/> <h2><span t-out="o.type_id.name"/> <span t-field="o.name"/></h2> - <div class="row mt32 mb32"> + <div class="row my-2"> <div class="col-3"> <strong><span t-out="o.type_id.name"/> Reference:</strong><br/> <span t-field="o.name"/> @@ -34,6 +39,7 @@ <table class="table table-sm"> <thead> <tr> + <th><strong>Product</strong></th> <th><strong>Description</strong></th> <th class="text-right"><strong>Qty</strong></th> <th class="text-center" groups="uom.group_uom"> @@ -51,6 +57,9 @@ </t> <span t-field="line_ids.product_id.name"/> </td> + <td> + <span t-field="line_ids.product_description_variants"/> + </td> <td class="text-right"> <span t-field="line_ids.product_qty"/> </td> @@ -76,7 +85,7 @@ <thead> <tr> <th><strong>Vendor </strong></th> - <th><strong>Date</strong></th> + <th class="text-right"><strong>Date</strong></th> <th class="text-right"><strong>Reference </strong></th> </tr> </thead> @@ -85,7 +94,7 @@ <td> <span t-field="purchase_ids.partner_id.name"/> </td> - <td class="text-center"> + <td class="text-right"> <span t-field="purchase_ids.date_order"/> </td> <td class="text-right">