Merge lp://staging/~pedro.baeza/openerp-product-attributes/7.0-product_pricelist_fixed_price into lp://staging/~product-core-editors/openerp-product-attributes/7.0
Proposed by
Pedro Manuel Baeza
Status: | Merged |
---|---|
Approved by: | Ronald Portier (Therp) |
Approved revision: | 232 |
Merged at revision: | 234 |
Proposed branch: | lp://staging/~pedro.baeza/openerp-product-attributes/7.0-product_pricelist_fixed_price |
Merge into: | lp://staging/~product-core-editors/openerp-product-attributes/7.0 |
Diff against target: |
918 lines (+197/-598) 13 files modified
product_pricelist_fixed_price/AUTHORS.txt (+0/-1) product_pricelist_fixed_price/__init__.py (+5/-9) product_pricelist_fixed_price/__openerp__.py (+29/-20) product_pricelist_fixed_price/i18n/ca.po (+0/-65) product_pricelist_fixed_price/i18n/de.po (+0/-65) product_pricelist_fixed_price/i18n/es.po (+35/-52) product_pricelist_fixed_price/i18n/it.po (+0/-64) product_pricelist_fixed_price/i18n/product_pricelist_fixed_price.pot (+23/-35) product_pricelist_fixed_price/model/__init__.py (+19/-0) product_pricelist_fixed_price/model/product_pricelist_item.py (+51/-0) product_pricelist_fixed_price/pricelist.py (+0/-211) product_pricelist_fixed_price/pricelist_view.xml (+0/-76) product_pricelist_fixed_price/view/product_pricelist_item_view.xml (+35/-0) |
To merge this branch: | bzr merge lp://staging/~pedro.baeza/openerp-product-attributes/7.0-product_pricelist_fixed_price |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ronald Portier (Therp) (community) | Approve | ||
Yannick Vaucher @ Camptocamp | code review, no tests | Approve | |
Lorenzo Battistini (community) | code review | Approve | |
Niels Huylebroeck (community) | Approve | ||
Lionel Sausin - Initiatives/Numérigraphe (community) | Needs Information | ||
Review via email:
|
Description of the change
This is the module product_
This only has one drawback: if you install it when you have some pricelists created, when you go to the pricelist form, based on field will be empty for these pricelists (although the behaviour won't break).
To post a comment you must log in.
Dear Pedro Manuel Baeza,
Thanks for your proposal, it's simpler than I expected.
Reading the code I understand that you're still using the "-100% + Price" trick, aren't you?
What happens if on_change() is not executed (for example records are added through XML-RPC)? The 100% discount will not be applied will it?
I'll test it in more depth tomorrow is I can.
Lionel.