openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #06586
[Merge] lp:~camptocamp/openerp-rma/7.0-crm_claim_rma-fix-lp1317045_rde into lp:openerp-rma
Romain Deheele - Camptocamp has proposed merging lp:~camptocamp/openerp-rma/7.0-crm_claim_rma-fix-lp1317045_rde into lp:openerp-rma.
Requested reviews:
OpenERP RMA (openerprma)
Related bugs:
Bug #1317045 in OpenERP RMA: "when we create a return product, selected partner_id on picking is wrong."
https://bugs.launchpad.net/openerp-rma/+bug/1317045
For more details, see:
https://code.launchpad.net/~camptocamp/openerp-rma/7.0-crm_claim_rma-fix-lp1317045_rde/+merge/218595
Hello,
It fixes https://bugs.launchpad.net/openerp-rma/+bug/1317045
Set the correct partner_id on picking when we generate a new product return from a claim.
Regards,
Romain
--
https://code.launchpad.net/~camptocamp/openerp-rma/7.0-crm_claim_rma-fix-lp1317045_rde/+merge/218595
Your team OpenERP RMA is requested to review the proposed merge of lp:~camptocamp/openerp-rma/7.0-crm_claim_rma-fix-lp1317045_rde into lp:openerp-rma.
=== modified file 'crm_claim_rma/wizard/claim_make_picking.py'
--- crm_claim_rma/wizard/claim_make_picking.py 2014-04-08 19:41:50 +0000
+++ crm_claim_rma/wizard/claim_make_picking.py 2014-05-07 11:41:18 +0000
@@ -211,7 +211,7 @@
'move_type': 'one', # direct
'state': 'draft',
'date': time.strftime(DEFAULT_SERVER_DATETIME_FORMAT),
- 'partner_id': partner_id,
+ 'partner_id': claim.partner_id.id,
'invoice_state': "none",
'company_id': claim.company_id.id,
'location_id': wizard.claim_line_source_location.id,
Follow ups