Pricelist Mixin
by OpenSynergy Indonesia https://simetri-sinergi.id , PT. Simetri Sinergi Indonesia https://simetri-sinergi.id
Odoo
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 35 |
| Technical Name |
ssi_pricelist_mixin |
| License | AGPL-3 |
| Website | https://simetri-sinergi.id |
Pricelist Mixin
ssi_pricelist_mixin provides an abstract Odoo model — mixin.pricelist — that adds currency and pricelist selection to any model.
Any model that inherits from mixin.pricelist automatically gains:
- currency_id (res.currency) — the transaction currency.
- pricelist_id (product.pricelist) — the selected pricelist.
- allowed_pricelist_ids — a computed Many2many that filters available pricelists to those matching the selected currency.
- onchange_pricelist_id — clears the pricelist whenever the currency changes to prevent mismatches.
Installation
To install this module, you need to:
- Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-mixin
- Add the path to this repository in your configuration (addons-path)
- Update the module list (Must be on developer mode)
- Go to menu Apps -> Apps -> Main Apps
- Search For Pricelist Mixin
- Install the module
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.
Credits
Contributors
- Andhitia Rama <andhitia.r@gmail.com>
Maintainer
This module is maintained by the PT. Simetri Sinergi Indonesia.
Please log in to comment on this module