diff options
| author | Haresh Shyara <hsh@odoo.com> | 2017-06-22 14:55:22 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-08-09 16:55:15 +0200 |
| commit | a40be1135bf31caf4f95ecce9d108d665d2a7ac4 (patch) | |
| tree | 02200ba1110dc4dc57ff8218e936cdd4aa7488fe /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 26786dba68d317b041ecfb82590b70c9b0947528 (diff) | |
[IMP] product, purchase: allow to set vendor prices on specific variant
- Show Product(product.supplierinfo) field when product has more than one variants.
- Improve tooltip on Product(product.supplierinfo) and 'Cost'(product.template) fields.
- Hide 'Cost'(product.template) field when product has more than one variant
Purpose
=======
1. There is some confusion between the vendor price and the cost price of a product. The goal of this task is to clarify it for users.
2. Some users would like to set up vendor prices specific to a variant, the goal of this task is to allow them to do that.
Specification
=============
- Add a clear tooltip on the Cost field (standard_price) : "The cost price is used to valuate your inventory."
- When creating variants, it is impossible to set the cost of the product variant, it always resets to 0. It should be hidden if the product has some variants
- Add product_id o2m in vendors form, tree view on product template, and same field should be displayed on variant form view (the field is not required)
- Product_id field visible only when product has more than one variant
- Add a tooltip on this field : "If not set, the vendor price will apply to all variants of this products."
- Vendor price calculation for automated generated RFQ (should be based on sequence: take the first vendor price that matches all the conditions)
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
