TIP: You can type at any time to perform a new search.
Purchase - Manual Currency
purchase_manual_currency · OCA/purchase-workflow
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Purchase Management
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-08-07 08:42:59
- Authors
- Odoo Community Association (OCA), Ecosoft
- Maintainers
- Saran440
- Committers
- Weblate, OCA-git-bot, oca-ci, Andreu Orensanz
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- purchase_stock_manual_currency
- Description
This module allows users to update the currency manual of Purchase Order in draft state. Example, The company will make a deal with vendor before buy product that process maybe not same day. So, currency rate in purchase order will calculated from order date but Company get currency rate from date of make a deal or special currency rate.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order.form | purchase.order | form | Inherits purchase.purchase_order_form |
res_config_settings_view_form_purchase |
res.config.settings.view.form.inherit.purchase | res.config.settings | form | Inherits purchase.res_config_settings_view_form_purchase |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (7)
-
company_currency_idMany2one → res.currencycomodel_name='res.currency'related='company_id.currency_id'string='Company Currency' -
currency_diffBooleancompute='_compute_currency_diff'store=True -
is_manualBooleancompute='_compute_currency' -
manual_currencyBoolean -
manual_currency_rateFloatdigits='Manual Currency'help='Set new currency rate to apply on the invoice\n.This rate will be taken in order to convert amounts between the currency on the purchase order and last currency'tracking=True -
total_company_currencyMonetarycompute='_compute_total_company_currency'currency_field='company_currency_id'store=True -
type_currencySelectiondefault=<expr>selection=<expr>
-
action_refresh_currency(self) -
action_view_invoice(self, invoices=False) -
get_view(self, view_id=None, view_type='form', **options)@api.modelChange string name to company currency
New fields (2)
-
company_currency_idMany2one → res.currencycomodel_name='res.currency'related='order_id.company_currency_id'string='Company Currency' -
subtotal_company_currencyMonetarycompute='_compute_amount_company_currency'currency_field='company_currency_id'store=Truestring='Subtotal (Company Currency)'
No public methods.
New fields (1)
-
manual_currency_po_invSelectiondefault='currency_inv'selection=[('currency_inv', 'Use currency invoice'), ('currency_po', 'Use currency purchase')]string='Manual Currency Purchase - Invoice'
No public methods.
New fields (1)
-
manual_currency_po_invSelectionreadonly=Falserelated='company_id.manual_currency_po_inv'
No public methods.
Loading…
Loading…
Loading…
Loading…