Merge lp:~akretion-team/openobject-addons/trunk-addons-dont-access-product-template into lp:openobject-addons
Proposed by
Alexis de Lattre
Status: | Merged |
---|---|
Merged at revision: | 7018 |
Proposed branch: | lp:~akretion-team/openobject-addons/trunk-addons-dont-access-product-template |
Merge into: | lp:openobject-addons |
Diff against target: |
132 lines (+9/-26) 5 files modified
product/pricelist.py (+1/-2) product_visible_discount/product_visible_discount.py (+2/-8) stock/wizard/stock_change_product_qty.py (+4/-10) stock_planning/wizard/stock_planning_createlines.py (+1/-3) stock_planning/wizard/stock_planning_forecast.py (+1/-3) |
To merge this branch: | bzr merge lp:~akretion-team/openobject-addons/trunk-addons-dont-access-product-template |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
qdp (OpenERP) | Pending | ||
OpenERP Core Team | Pending | ||
Review via email: mp+114001@code.launchpad.net |
Description of the change
When we use the ORM, we should always use product.product ; we should never use product.template.
With this merge proposal, we will be able to "move" some fields from product.template to product.product in a custom module by just defining the field on product.product.
To post a comment you must log in.