~camptocamp/openerp-rma/7.0-crm_claim_rma-fix-lp1317045_rde

« back to all changes in this revision

Viewing changes to crm_claim_rma/wizard/claim_make_picking.py

  • Committer: Romain Deheele
  • Date: 2014-05-07 11:39:04 UTC
  • Revision ID: romain.deheele@camptocamp.com-20140507113904-tewrtieukq2kgb9h
[FIX] partner_id on return picking is logically the claim partner_id

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
             'move_type': 'one',  # direct
212
212
             'state': 'draft',
213
213
             'date': time.strftime(DEFAULT_SERVER_DATETIME_FORMAT),
214
 
             'partner_id': partner_id,
 
214
             'partner_id': claim.partner_id.id,
215
215
             'invoice_state': "none",
216
216
             'company_id': claim.company_id.id,
217
217
             'location_id': wizard.claim_line_source_location.id,