By default in Odoo, on the product.template and product.product form views, the list of the available Purchase UoM is not filtered. (uom_po_id field)
So the UI is proposing all the uoms, even those that are not consistent with the selected main UoM. (defined in the uom_id field.)
This module extends the functionallity of product module, adding a domain on this field.
Table of contents
Development
Technically, this module add two new related fields on product.template model,
uom_category_id, related to uom_id.category_id
uom_measure_type related to uom_id.category_id.measure_type. This second field is a technical field that can be used for other modules.
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
Sylvain LE GAL (https://www.twitter.com/legalsylvain)
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/product-attribute project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo12-addon-product-uom-po-domain 12.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 | Reset |
|---|---|---|---|---|
| odoo12_addon_product_uom_po_domain-12.0.1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo12_addon_product_uom_po_domain-12.0.1.0.2-py3-none-any.whl
| Download URL | odoo12_addon_product_uom_po_domain-12.0.1.0.2-py3-none-any.whl |
|---|---|
| Size | 170.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10b92ab706bade7ddbf78cad24b9077ab15db5467f064e1b8784276962a8ed89
|
|
BLAKE2b-256 checksum How to use checksums |
5be2ba8bcdb9d1653919f26b3663b2e3cd1fde3a0f4a3ee73b5518ef45048324
|
| 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/58.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
|