~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to analytic_override/analytic_line.py

  • Committer: jf
  • Date: 2016-02-08 16:40:08 UTC
  • mfrom: (2753.1.7 unifield-wm)
  • Revision ID: jfb@tempo-consulting.fr-20160208164008-426e001so4e9xoip
US-871 [FIX] Mass Realloc: add COR prefix in AJI, use entry_sequence as ref. in COR and REV AJIs
US-871 [FIX] Single AJI manually corrected, COR AJI can't be mass rallocated
lp:~jfb-tempo-consulting/unifield-wm/us-871

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
                'amount_currency': al.amount_currency * -1,
255
255
                'currency_id': al.currency_id.id,
256
256
                'is_reversal': True,
 
257
                'ref': al.entry_sequence,
257
258
            }
258
259
            new_al = self.copy(cr, uid, al.id, vals, context=context)
259
260
            res.append(new_al)