Skip to content

Commit

Permalink
[ADD] account_payment_group_financial_surcharge: compatibility with A…
Browse files Browse the repository at this point in the history
…R edi

Add conext key in order to be used to identify and auto complete missing
fields required for EDI

Original commit d334b53

closes #351

X-original-commit: 3382cc7
Related: ingadhoc/odoo-argentina-ee#182
Signed-off-by: Ignacio Cainelli <ica@adhoc.com.ar>
Signed-off-by: Katherine Zaoral <kz@adhoc.com.ar>
  • Loading branch information
zaoral committed Feb 13, 2023
1 parent 899ec7d commit 6c4af23
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -41,7 +41,7 @@ def post(self):
else:
journal = self.env['account.journal'].search([('type', '=', 'sale'), ('company_id', '=', self.company_id.id)], limit=1)
wiz = self.env['account.payment.group.invoice.wizard'].with_context(
active_id=self.id, internal_type='debit_note').create({
is_automatic_subcharge=True, active_id=self.id, internal_type='debit_note').create({
'journal_id': journal.id,
'product_id': product.id,
'tax_ids': [(6, 0, taxes.ids)],
Expand Down

0 comments on commit 6c4af23

Please sign in to comment.