Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.1
Category
Product
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 08:42:54
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
Weblate, OCA-git-bot, oca-ci, Fernando, Heliconia Solutions
Odoo dependencies
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the product pricelists feature to allow to set a
fixed currency rate to convert from a pricelist with a different
currency.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
product_pricelist_item_form_view product.pricelist.item.form - product_pricelist_fixed_currency_rate product.pricelist.item form Inherits product.product_pricelist_item_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (7)
  • actual_currency_rate Float
    compute='_compute_is_fixed_currency_rate_applicable' digits=(12, 12)
  • currency_rate_tooltip Char
    compute='_compute_currency_rate_tooltip'
  • do_inverse_currency_rate Boolean
    compute='_compute_do_inverse_currency_rate' readonly=False store=True
  • fixed_currency_rate Float
    digits=(12, 12) help='If set (different to 0.0), the currency conversion will ignore the actual currency rate and always use the fixed currency rate.'
  • inverse_actual_currency_rate Float
    compute='_compute_is_fixed_currency_rate_applicable' digits=(12, 12)
  • inverse_fixed_currency_rate Float
    compute='_compute_inverse_fixed_currency_rate' digits=(12, 12) help='If set (different to 0.0), the currency conversion will ignore the actual currency rate and always use the fixed currency rate.' inverse='_inverse_inverse_fixed_currency_rate'
  • is_fixed_currency_rate_applicable Boolean
    compute='_compute_is_fixed_currency_rate_applicable'
Public methods (1)
  • toggle_do_inverse_currency_rate(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
94 days ago
Last activity
49 days ago
Repository
OCA/product-attribute
Pull request
[19.0][MIG] product_pricelist_fixed_currency_rate : Migration to 19.0. (#2297)
Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
169 days ago
Last activity
112 days ago
Repository
OCA/product-attribute
Pull request
[19.0][MIG] product_pricelist_fixed_currency_rate (#2231)