Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.1.0
Category
Sale
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 08:42:49
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, OCA-git-bot, oca-ci, cristina-hidalgo-tecnativa
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
When a sale order uses a currency different from the company currency, this
module adds an informative exchange rate box to the PDF report showing:

- The rate between the order currency and the company currency
- The date of the order

The box is only shown when a rate is available and the currencies differ, to
avoid displaying misleading information.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
report_saleorder_document_currency_rate report_saleorder_document_currency_rate ir.ui.view qweb Inherits sale.report_saleorder_document
res_config_settings_view_form res.config.settings.view.form.sale.order.show.currency.rate res.config.settings form Inherits sale.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • sale_order_currency_report_id Many2one → res.currency
    comodel_name='res.currency' help='Currency shown as informative exchange rate on sale order PDF reports when the order currency matches the company currency.' string='Sale Order Report Reference Currency'
Public methods (0)

No public methods.

New fields (1)
  • sale_order_currency_report_id Many2one
    readonly=False related='company_id.sale_order_currency_report_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.