Skip to content

Commit

Permalink
Merge pull request #1022 from Digital5-Odoo/8.0_fix_l10n_es_aeat_mod347
Browse files Browse the repository at this point in the history
[8.0][FIX] l10n_es_aeat_mod347: datos erróneos en clave B cuando un p…
  • Loading branch information
pedrobaeza committed Feb 21, 2019
2 parents 974c8f6 + efeb2bf commit ff32727
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions l10n_es_aeat_mod347/models/mod347.py
Expand Up @@ -77,6 +77,7 @@ def _partner_record_a_create(self, data, vals):
Create from income (from supplier) invoices
"""
vals = vals.copy()
partner_record_obj = self.env['l10n.es.aeat.mod347.partner_record']
record = False
vals['operation_key'] = 'A'
Expand All @@ -96,6 +97,7 @@ def _partner_record_b_create(self, data, vals):
Create from outcome (from customer) invoices and cash movements
"""
vals = vals.copy()
partner_record_obj = self.env['l10n.es.aeat.mod347.partner_record']
cash_record_obj = self.env['l10n.es.aeat.mod347.cash_record']
records = []
Expand Down

0 comments on commit ff32727

Please sign in to comment.