Skip to content
Health
85/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 5 Odoo series since 13.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 4 models 2 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
purchase_stock_manual_currency

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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 (3)
  • company_currency_id Many2one → res.currency
    comodel_name='res.currency' related='company_id.currency_id' string='Company Currency'
  • manual_currency Boolean
  • type_currency Selection
    default=<expr> selection=<expr>
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' store=True 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.

Loading…

Loading…

Loading…

Loading…