Merge lp://qastaging/~therp-nl/ocb-addons/lp754339 into lp://qastaging/ocb-addons
Proposed by
Holger Brunn (Therp)
Status: | Rejected |
---|---|
Rejected by: | Holger Brunn (Therp) |
Proposed branch: | lp://qastaging/~therp-nl/ocb-addons/lp754339 |
Merge into: | lp://qastaging/ocb-addons |
Diff against target: |
242 lines (+184/-24) 3 files modified
account/account_invoice.py (+86/-22) account/tests/__init__.py (+4/-2) account/tests/test_product_id_change.py (+94/-0) |
To merge this branch: | bzr merge lp://qastaging/~therp-nl/ocb-addons/lp754339 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | Disapprove | ||
Lionel Sausin - Initiatives/Numérigraphe (community) | Abstain | ||
Stefan Rijnhart (Opener) | Approve | ||
Christophe CHAUVET | Needs Fixing | ||
Ronald Portier (Therp) | Approve | ||
Review via email: mp+189107@code.qastaging.launchpad.net |
Commit message
[FIX] This is a port of the fix to have prices in manually added invoice lines originate from the partner's pricelist, if any. If there are no pricelists involved, nothing should change.
Description of the change
This is a port of the fix to have prices in manually added invoice lines originate from the partner's pricelist, if any. If there are no pricelists involved, nothing should change.
To post a comment you must log in.
Unmerged revisions
- 9559. By Holger Brunn (Therp)
-
[MRG] merge with upstream
- 9558. By Holger Brunn (Therp)
-
[ADD] re-add test
- 9557. By Holger Brunn (Therp)
-
[IMP] apply original changes
- 9556. By Holger Brunn (Therp)
-
[MRG] merge with upstream
- 9555. By Holger Brunn (Therp)
-
[FIX] call function on model, not browse record
[FIX] use standard_price for purchase invoices/refunds, list_price
otherwise
Thanks for taking the effort of forward porting (and improving) this old fix for 6.1 to 7.0! I sure hope this important fix lands in upstream one day.
l.66 seems wrong. I think in 7.0 you need to append it to the invoice line's name field like the original code does in l.42.
l.8..12 seems cosmetic, can it be restored in that case?
Such a large code change would warrant adding a test with pricelist (and one without if it does not yet exist).