Purchase - Manual Currency

purchase_manual_currency
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/18.0/purchase_manual_currency
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSSaran440
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Andreu Orensanz
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - account_manual_currency
odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form_purchase res.config.settings.view.form.inherit.purchase res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (7)
  • company_currency_id Many2one → res.currency
    comodel_name='res.currency' related='company_id.currency_id' string='Company Currency'
  • currency_diff Boolean
    compute='_compute_currency_diff' store=True
  • is_manual Boolean
    compute='_compute_currency'
  • manual_currency Boolean
  • manual_currency_rate Float
    digits='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_currency Monetary
    compute='_compute_total_company_currency' currency_field='company_currency_id' store=True
  • type_currency Selection
    default=<expr> selection=<expr>
Public methods (3)
  • action_refresh_currency(self)
  • action_view_invoice(self, invoices=False)
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    Change string name to company currency

New fields (2)
  • company_currency_id Many2one → res.currency
    comodel_name='res.currency' related='order_id.company_currency_id' string='Company Currency'
  • subtotal_company_currency Monetary
    compute='_compute_amount_company_currency' currency_field='company_currency_id' store=True string='Subtotal (Company Currency)'
Public methods (0)

No public methods.

New fields (1)
  • manual_currency_po_inv Selection
    default='currency_inv' selection=[('currency_inv', 'Use currency invoice'), ('currency_po', 'Use currency purchase')] string='Manual Currency Purchase - Invoice'
Public methods (0)

No public methods.

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

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/17.0/purchase_manual_currency
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSSaran440
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, ArnauCForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - account_manual_currency
odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form_purchase res.config.settings.view.form.inherit.purchase res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (7)
  • company_currency_id Many2one → res.currency
    comodel_name='res.currency' related='company_id.currency_id' string='Company Currency'
  • currency_diff Boolean
    compute='_compute_currency_diff' store=True
  • is_manual Boolean
    compute='_compute_currency'
  • manual_currency Boolean
  • manual_currency_rate Float
    digits='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_currency Monetary
    compute='_compute_total_company_currency' currency_field='company_currency_id' store=True
  • type_currency Selection
    default=<expr> selection=<expr>
Public methods (3)
  • action_refresh_currency(self)
  • action_view_invoice(self, invoices=False)
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    Change string name to company currency

New fields (2)
  • company_currency_id Many2one → res.currency
    comodel_name='res.currency' related='order_id.company_currency_id' string='Company Currency'
  • subtotal_company_currency Monetary
    compute='_compute_amount_company_currency' currency_field='company_currency_id' store=True string='Subtotal (Company Currency)'
Public methods (0)

No public methods.

New fields (1)
  • manual_currency_po_inv Selection
    default='currency_inv' selection=[('currency_inv', 'Use currency invoice'), ('currency_po', 'Use currency purchase')] string='Manual Currency Purchase - Invoice'
Public methods (0)

No public methods.

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

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/15.0/purchase_manual_currency
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSSaran440
COMMITTERS
COMMITTERSWeblate, oca-ci, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - account_manual_currency
odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
res_config_settings_view_form_purchase res.config.settings.view.form.inherit.purchase res.config.settings xpath Inherits purchase.res_config_settings_view_form_purchase
Models touched (4)

New fields (7)
  • company_currency_id Many2one → res.currency
    comodel_name='res.currency' related='company_id.currency_id' string='Company Currency'
  • currency_diff Boolean
    compute='_compute_currency_diff' store=True
  • is_manual Boolean
    compute='_compute_currency'
  • manual_currency Boolean
    readonly=True states={'draft': [('readonly', False)]}
  • manual_currency_rate Float
    digits='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' readonly=True states={'draft': [('readonly', False)]} tracking=True
  • total_company_currency Monetary
    compute='_compute_total_company_currency' currency_field='company_currency_id' store=True
  • type_currency Selection
    default=<expr> readonly=True selection=<expr> states={'draft': [('readonly', False)]}
Public methods (2)
  • action_refresh_currency(self)
  • action_view_invoice(self, invoices=False)

New fields (2)
  • company_currency_id Many2one → res.currency
    comodel_name='res.currency' related='order_id.company_currency_id' string='Company Currency'
  • subtotal_company_currency Monetary
    compute='_compute_amount_company_currency' currency_field='company_currency_id' store=True string='Subtotal (Company Currency)'
Public methods (0)

No public methods.

New fields (1)
  • manual_currency_po_inv Selection
    default='currency_inv' selection=[('currency_inv', 'Use currency invoice'), ('currency_po', 'Use currency purchase')] string='Manual Currency Purchase - Invoice'
Public methods (0)

No public methods.

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

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/14.0/purchase_manual_currency
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSSaran440
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, Héctor Vi Or, Prapassorn Sornkaew
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
Models touched (1)

New fields (3)
  • custom_rate Float
    digits='Purchase 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
  • is_manual Boolean
    compute='_compute_currency'
  • manual_currency Boolean
Public methods (1)
  • action_refresh_currency(self)
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/13.0/purchase_manual_currency
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSSaran440
COMMITTERS
COMMITTERSoca-travis, OCA-git-bot, Héctor Villarreal Ortega, Saran440, Prapassorn Sornkaew
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
Models touched (1)

New fields (3)
  • custom_rate Float
    digits='Purchase 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
  • is_manual Boolean
    compute='_compute_currency'
  • manual_currency Boolean
Public methods (1)
  • action_refresh_currency(self)