~julie-w/unifield-wm/UTP-925

« back to all changes in this revision

Viewing changes to account_override/invoice.py

UF-359 [MERGE] Merge UF_358_engagement_journal because it adds some improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
                    'amount': eng.amount * -1,
58
58
                    'date': inv.date_invoice,
59
59
                    'reversal_origin': eng.id,
 
60
                    'amount_currency': eng.amount_currency * -1,
 
61
                    'currency_id': eng.currency_id.id,
60
62
                }
61
63
                # Write changes
62
64
                eng_obj.write(cr, uid, [new_line_id], vals, context=context)