From ed073c1440d8e7e34fda287befeed6ad282d72a6 Mon Sep 17 00:00:00 2001
From: "angelica.fuentes" <angie8215@gmail.com>
Date: Thu, 20 Jun 2024 12:22:00 -0600
Subject: [PATCH 1/4] =?UTF-8?q?feat(account.invoice):=20Se=20borr=C3=B3=20?=
 =?UTF-8?q?l=C3=ADnea=2027?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Se borró línea 27 para hacer una prueba
---
 l10n_mx_facturae/models/account_invoice.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l10n_mx_facturae/models/account_invoice.py b/l10n_mx_facturae/models/account_invoice.py
index 17e4cabd58..99e68bfb7e 100644
--- a/l10n_mx_facturae/models/account_invoice.py
+++ b/l10n_mx_facturae/models/account_invoice.py
@@ -24,7 +24,7 @@ class AccountInvoice(models.Model):
         try:
             code = self.payment_type_ids[0].code
         except IndexError:
-            code = "99"
+
         return code
 
     @property
-- 
GitLab


From 24423e72b306a91b0159ddf10ba12b4e0c77c079 Mon Sep 17 00:00:00 2001
From: "angelica.fuentes" <angie8215@gmail.com>
Date: Thu, 20 Jun 2024 12:28:11 -0600
Subject: [PATCH 2/4] =?UTF-8?q?feat(account.voucher):cambio=20en=20l=C3=AD?=
 =?UTF-8?q?nea=20de=20c=C3=B3digo?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Se canbio una línea de código
---
 l10n_mx_facturae/models/account_voucher.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l10n_mx_facturae/models/account_voucher.py b/l10n_mx_facturae/models/account_voucher.py
index 6258e9bfbf..fd29c1f4c0 100644
--- a/l10n_mx_facturae/models/account_voucher.py
+++ b/l10n_mx_facturae/models/account_voucher.py
@@ -17,7 +17,7 @@ class AccountVoucher(models.Model):
 
     @api.multi
     @api.depends("state", "cfdi_state")
-    def _compute_show_unreconcile(self):
+
         for voucher in self:
             if voucher.cfdi_state in ["signed", "done"]:
                 voucher.show_unreconcile = False
-- 
GitLab


From de22ca0e67f1fd5b3b4525097a7f11567bb04321 Mon Sep 17 00:00:00 2001
From: "angelica.fuentes" <angie8215@gmail.com>
Date: Thu, 20 Jun 2024 12:33:16 -0600
Subject: [PATCH 3/4] hola

---
 l10n_mx_facturae/models/account_move.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/l10n_mx_facturae/models/account_move.py b/l10n_mx_facturae/models/account_move.py
index 06a0050e1e..7482927832 100644
--- a/l10n_mx_facturae/models/account_move.py
+++ b/l10n_mx_facturae/models/account_move.py
@@ -19,8 +19,7 @@ class AccountMove(models.Model):
             Extend `AccountMove.button_validate`: prevents  to manipulate the
             account move if related invoice is in waiting state
         """
-        for account_move in self:
-            invoice_status = account_move.line_id[0].invoice.state
+                   invoice_status = account_move.line_id[0].invoice.state
             if invoice_status == "waiting":
                 # pylint: disable=W8115
                 raise UserError(
-- 
GitLab


From f8b48237c5448fd7d6cf4c217a996f671d7b6667 Mon Sep 17 00:00:00 2001
From: "angelica.fuentes" <angie8215@gmail.com>
Date: Thu, 20 Jun 2024 12:39:34 -0600
Subject: [PATCH 4/4] feat(email.template): borrado de lineas

borrado de lineas
---
 l10n_mx_facturae/models/email_template.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/l10n_mx_facturae/models/email_template.py b/l10n_mx_facturae/models/email_template.py
index bfdcf7410b..d3e0c7e741 100644
--- a/l10n_mx_facturae/models/email_template.py
+++ b/l10n_mx_facturae/models/email_template.py
@@ -10,8 +10,7 @@ class EmailTemplate(models.Model):
 
     _inherit = "email.template"
 
-    @api.cr_uid_id_context
-    def generate_email_batch(
+
         self, cr, uid, template_id, res_ids, context=None, fields=None
     ):
         """
-- 
GitLab