diff --git a/l10n_es_aeat_mod190/models/l10n_es_aeat_mod190_report.py b/l10n_es_aeat_mod190/models/l10n_es_aeat_mod190_report.py index c2f0b8d6ac1..573a303c85f 100644 --- a/l10n_es_aeat_mod190/models/l10n_es_aeat_mod190_report.py +++ b/l10n_es_aeat_mod190/models/l10n_es_aeat_mod190_report.py @@ -552,7 +552,9 @@ def _compute_percepciones_dinerarias(self): lambda x: x.field_number in (11, 15) and x.res_id == item.report_id.id ) value = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): value += move_line.debit - move_line.credit item.percepciones_dinerarias = value @@ -565,7 +567,9 @@ def _compute_retenciones_dinerarias(self): lambda x: x.field_number in (12, 16) and x.res_id == item.report_id.id ) value = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): value += move_line.credit - move_line.debit item.retenciones_dinerarias = value @@ -578,7 +582,9 @@ def _compute_percepciones_en_especie(self): lambda x: x.field_number == 13 and x.res_id == item.report_id.id ) pde = rde = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): pde += move_line.debit - move_line.credit rde += move_line.credit - move_line.debit item.percepciones_en_especie = pde - rde @@ -592,7 +598,9 @@ def _compute_ingresos_a_cuenta_efectuados(self): lambda x: x.field_number == 13 and x.res_id == item.report_id.id ) value = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): value += move_line.debit - move_line.credit item.ingresos_a_cuenta_efectuados = value @@ -605,7 +613,9 @@ def _compute_ingresos_a_cuenta_repercutidos(self): lambda x: x.field_number == 13 and x.res_id == item.report_id.id ) value = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): value += move_line.credit - move_line.debit item.ingresos_a_cuenta_repercutidos = value @@ -618,7 +628,9 @@ def _compute_percepciones_dinerarias_incap(self): lambda x: x.field_number in (11, 15) and x.res_id == item.report_id.id ) value = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): value += move_line.debit - move_line.credit item.percepciones_dinerarias_incap = value @@ -630,7 +642,9 @@ def _compute_retenciones_dinerarias_incap(self): lambda x: x.field_number in (12, 16) and x.res_id == item.report_id.id ) value = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): value += move_line.credit - move_line.debit item.retenciones_dinerarias_incap = value @@ -642,7 +656,9 @@ def _compute_percepciones_en_especie_incap(self): lambda x: x.field_number == 13 and x.res_id == item.report_id.id ) pde = rde = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): pde += move_line.debit - move_line.credit rde += move_line.credit - move_line.debit item.percepciones_en_especie_incap = pde - rde @@ -655,7 +671,9 @@ def _compute_ingresos_a_cuenta_efectuados_incap(self): lambda x: x.field_number == 13 and x.res_id == item.report_id.id ) value = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): value += move_line.debit - move_line.credit item.ingresos_a_cuenta_efectuados_incap = value @@ -667,7 +685,9 @@ def _compute_ingresos_a_cuenta_repercutidos_incap(self): lambda x: x.field_number == 13 and x.res_id == item.report_id.id ) value = 0.0 - for move_line in tax_lines.move_line_ids: + for move_line in tax_lines.move_line_ids.filtered( + lambda mvl: mvl.partner_id == item.partner_id + ): value += move_line.credit - move_line.debit item.ingresos_a_cuenta_repercutidos_incap = value diff --git a/l10n_es_aeat_mod347_igic/README.rst b/l10n_es_aeat_mod347_igic/README.rst index 71a5369178c..c42087b578d 100644 --- a/l10n_es_aeat_mod347_igic/README.rst +++ b/l10n_es_aeat_mod347_igic/README.rst @@ -67,7 +67,6 @@ Contributors ~~~~~~~~~~~~ * Nicolás Ramos -* Almudena de La Puente Maintainers ~~~~~~~~~~~ diff --git a/l10n_es_igic/README.rst b/l10n_es_igic/README.rst index fd90b66d112..989dd2a3d6b 100644 --- a/l10n_es_igic/README.rst +++ b/l10n_es_igic/README.rst @@ -74,7 +74,6 @@ Contributors * Rodrigo Colombo * Hector Ravelo * Omar Castiñeira Saavedra -* Almudena de La Puente Maintainers ~~~~~~~~~~~ diff --git a/l10n_es_vat_book_igic/README.rst b/l10n_es_vat_book_igic/README.rst index dd8c9d8ed7d..74347b635cd 100644 --- a/l10n_es_vat_book_igic/README.rst +++ b/l10n_es_vat_book_igic/README.rst @@ -91,7 +91,6 @@ Contributors ~~~~~~~~~~~~ * Nicolás Ramos -* Almudena de La Puente Maintainers ~~~~~~~~~~~