Merge lp:~camptocamp/margin-analysis/7.0-fix-product_historical_margin-no-product-yvr into lp:~margin-analysis-core-editors/margin-analysis/7.0
Proposed by
Yannick Vaucher @ Camptocamp
Status: | Merged |
---|---|
Merged at revision: | 61 |
Proposed branch: | lp:~camptocamp/margin-analysis/7.0-fix-product_historical_margin-no-product-yvr |
Merge into: | lp:~margin-analysis-core-editors/margin-analysis/7.0 |
Diff against target: |
16 lines (+2/-2) 1 file modified
product_historical_margin/invoice.py (+2/-2) |
To merge this branch: | bzr merge lp:~camptocamp/margin-analysis/7.0-fix-product_historical_margin-no-product-yvr |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guewen Baconnier @ Camptocamp | Approve | ||
Pedro Manuel Baeza | code review | Approve | |
Alexandre Fayolle - camptocamp | code review, test | Approve | |
Review via email: mp+211354@code.launchpad.net |
Description of the change
Make sure we don't read a product of invoice line without product.
To post a comment you must log in.
Why do you need to re-read product record? You can make:
product = obj.product_id
Or there is something I'm missing?
Regards.