Shopinvader Customer Price
Handle customer specific prices.
Provides:
endpoint /customer_price/products to fetch customer prices for products.
backend configuration to state which pricelist should be used by partner (by selecting a partner field that relates to pricelists)
Use case
Thousands of customers and at least 1 pricelist per each customer. You want to display customer specific prices in the frontend on demand. For instance: product page, wishlists, etc.
Rationale
One of the key points of Shopinvader’s speed is the delegation of products’ data indexing to external search engines.
While this is perfect for generic data and not so complex price rules, if you have very special prices per each customer that’s a blocker, and you’d need to index all prices for all customers to make it work seemlessly.
Warning
It’s strongly recommended to not call the endpoint for each product on search results otherwise you’ll get potentially thousands of requests to Odoo.
Also, when setting the pricelist field for the partner, beware that prices in the indexes might differ from the prices in the cart.
Table of contents
Known issues / Roadmap
Probably the best option would be to have 1 index per customer which would even allow to sort and filter products by customer’s prices but this requires a lot of work with current implementation of search engine machinery.
If you use Algolia this is probably a no-go as it would cost too much. In the context of ElasticSearch instead you could afford it.
Things that would be needed to go for an indexed solution:
make language not required on indexes (at the momemt the whole SE machinery relies on languages)
automatically generate one index per each pricelist/customer
make the frontend capable of switching indexes depending on the customer
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Simone Orsi <simahawk@gmail.com>
Other credits
The development of this module has been financially supported by:
Camptocamp
Cosanum
Maintainers
This module is part of the shopinvader/odoo-shopinvader project on GitHub.
You are welcome to contribute.
Metadata
Release files for odoo14-addon-shopinvader-customer-price 14.0.1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo14_addon_shopinvader_customer_price-14.0.1.0.2-py3-none-any.whl | Python 3 | none | any | Details for odoo14_addon_shopinvader_customer_price-14.0.1.0.2-py3-none-any.whl |
Release files / odoo14_addon_shopinvader_customer_price-14.0.1.0.2-py3-none-any.whl
| Download URL | odoo14_addon_shopinvader_customer_price-14.0.1.0.2-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e8651a14e6b6b90d2fbdc7c60bb6ce6d67d38f7532bded4c9b5f2ac26f208ac
|
|
BLAKE2b-256 checksum How to use checksums |
bb0208134be9378b7d9b52365f94f8fd978bed5d1078c79de4ee2cea0faa8046
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/59.5.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.10
|
Security for odoo14-addon-shopinvader-customer-price 14.0.1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.