Skip to main content

Pricelist Mixin

Project description

License: AGPL-3

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:

  1. Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-mixin

  2. Add the path to this repository in your configuration (addons-path)

  3. Update the module list (Must be on developer mode)

  4. Go to menu Apps -> Apps -> Main Apps

  5. Search For Pricelist Mixin

  6. 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

Maintainer

PT. Simetri Sinergi Indonesia

This module is maintained by the PT. Simetri Sinergi Indonesia.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo14_addon_ssi_pricelist_mixin-14.0.1.1.1.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_ssi_pricelist_mixin-14.0.1.1.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 0360d84aa7cf2e59130a0708c139fde8e54828daadc6d880e7787d0330f6e304
MD5 8f41f712071cfd7dd36a67784a3e6782
BLAKE2b-256 d63a762e1b15f03ee491d1532dc378fa21935d37bf037fed0660994c525a9cee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page