[FIX] purchase_requisition: use the requisition currency in the report
Steps to reproduce:
- Connect with a company that uses the dollar as currency
- Go to invoicing → Configuration → accounting → currencies
- Enable euro currency
- Create a new Purchase Agreement:
- Agreement type: “Blanket Order”
- Currency: “euro”
- Add any product:
- Qty: 1
- Price: 10
- save
- Print → Call for tenders
Problem:
The price is displayed in the current company device instead of the
Purchase agreements currency
opw-2991156
closes odoo/odoo#103067
X-original-commit: 8103d501541db07d0b546d5729e66c9a9915a4d1
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
</td>
|
||||
</t>
|
||||
<td t-if="o.type_id == env.ref('purchase_requisition.type_single')">
|
||||
<span t-field="line_ids.price_unit" t-options='{"widget": "monetary", "display_currency": o.company_id.currency_id}'/>
|
||||
<span t-field="line_ids.price_unit" t-options='{"widget": "monetary", "display_currency": line_ids.requisition_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<span t-field="line_ids.schedule_date"/>
|
||||
|
||||
Reference in New Issue
Block a user