erickabrego пре 9 месеци
родитељ
комит
30a80aa07d

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+*.pyc

+ 3 - 3
change_vat_in_partner/__manifest__.py

@@ -3,12 +3,12 @@
     'description': """
         Change the rfc of the client       
     """,
-    "version": "16.0.1.0.5",
+    "version": "17.1",
     "category": "Partner",
     "author": "M22",
-    'website': "https://www.m22.mx",
+    'website': "https://www.m22.mx", 
     "license": "AGPL-3",
-    "depends": ["account", "l10n_mx_edi_40", "contacts"],
+    "depends": ["account", "l10n_mx_edi", "contacts"],
     "data": [
         "views/res_partner_view.xml",
         "report/account_move_report.xml",

+ 1 - 1
change_vat_in_partner/models/__init__.py

@@ -1,3 +1,3 @@
 from . import res_partner
 from . import account_edi_formart
-from . import account_payment
+from . import account_payment

+ 2 - 2
change_vat_in_partner/models/account_payment.py

@@ -8,7 +8,7 @@ class AccountPayment(models.Model):
     @api.model_create_multi
     def create(self, vals_list):
         vals = super().create(vals_list)
-        partner = self.env['account.move'].search([("name", "=", vals_list[0]["ref"])], limit=1)
+        partner = self.env['account.move'].search([("name", "=", vals_list[0]["ref"])],limit=1)
         if partner:
             vals.partner_id = partner.partner_id
-        return vals
+        return vals

+ 1 - 1
custom_import_layout/__manifest__.py

@@ -10,7 +10,7 @@
     'author': "M22",
     'website': "https://www.m22.mx",
     'category': 'Import',
-    'version': '16.0.5',
+    'version': '17.1',
     'depends': ['base','sale','purchase', 'account'],
     'data': [
         'security/ir.model.access.csv',

+ 2 - 2
custom_import_layout/views/account_move_line.xml

@@ -5,10 +5,10 @@
         <field name="model">account.move</field>
         <field name="inherit_id" ref="account.view_move_form" />
         <field name="arch" type="xml">
-            <xpath expr="//field[@name='invoice_line_ids']/tree/field[@name='tax_ids']" position="before">
+            <xpath expr="//field[@name='invoice_line_ids']/list/field[@name='tax_ids']" position="before">
                 <field name="import_name_taxes" />
             </xpath>
-            <xpath expr="//field[@name='line_ids']/tree/field[@name='tax_ids']" position="before">
+            <xpath expr="//field[@name='line_ids']/list/field[@name='tax_ids']" position="before">
                 <field name="import_name_taxes" invisible="1"/>
             </xpath>
         </field>

+ 7 - 7
custom_import_layout/views/import_layout_rule.xml

@@ -6,10 +6,10 @@
             <field name="name">import_layout_rule_view_tree</field>
             <field name="model">import.layout.rule</field>
             <field name="arch" type="xml">
-                <tree string="Reglas de importación">
+                <list string="Reglas de importación">
                     <field name="name"/>
                     <field name="model_id"/>
-                </tree>
+                </list>
             </field>
         </record>
 
@@ -31,13 +31,13 @@
                                     <field name="main_model_id" domain="[('model','in',['sale.order','purchase.order','account.move'])]" options="{'no_create':True, 'no_open': True}"/>
                                 </group>
                                 <field name="main_columns_ids">
-                                    <tree editable="bottom">
+                                    <list editable="bottom">
                                         <field name="sequence" widget="handle"/>
                                         <field name="name"/>
                                         <field name="field_id" domain="[('model_id','=',parent.main_model_id)]"
                                                options="{'no_create':True, 'no_open': True}"/>
                                         <field name="group_by"/>
-                                    </tree>
+                                    </list>
                                 </field>
                             </page>
                             <page string="Lineas">
@@ -45,12 +45,12 @@
                                     <field name="model_id" domain="[('model','in',['sale.order.line','purchase.order.line','account.move.line'])]" options="{'no_create':True, 'no_open': True}"/>
                                 </group>
                                 <field name="column_ids">
-                                    <tree editable="bottom">
+                                    <list editable="bottom">
                                         <field name="sequence" widget="handle"/>
                                         <field name="name"/>
                                         <field name="field_id" domain="[('model_id','=',parent.model_id)]"
                                                options="{'no_create':True, 'no_open': True}"/>
-                                    </tree>
+                                    </list>
                                 </field>
                             </page>
                         </notebook>
@@ -64,7 +64,7 @@
             <field name="name">Reglas de importación</field>
             <field name="type">ir.actions.act_window</field>
             <field name="res_model">import.layout.rule</field>
-            <field name="view_mode">tree,form</field>
+            <field name="view_mode">list,form</field>
         </record>
 
         <menuitem id="import_layout_rule_categ_menu" name="Importación" parent="base.menu_administration"

+ 2 - 2
custom_supplier_cfdi_data/__manifest__.py

@@ -11,8 +11,8 @@
     'author': "M22",
     'website': "http://www.m22.mx",
     'category': 'Contabilidad',
-    'version': '14.0.1',
-    'depends': ['base','l10n_mx_edi','l10n_mx_edi_40'],
+    'version': '18.1',
+    'depends': ['base','l10n_mx_edi'],
     'data': ['views/res_company.xml'],
     'license': 'AGPL-3' 
 

+ 1 - 1
cutom_report_invoice/__manifest__.py

@@ -3,7 +3,7 @@
     'description': """
         Custom Report Invoice M22      
     """,
-    "version": "16.0.1.0.3",
+    "version": "17.1",
     "category": "Partner",
     "author": "M22",
     'website': "https://www.m22.mx",

BIN
cutom_report_invoice/__pycache__/__init__.cpython-310.pyc


BIN
cutom_report_invoice/i18n/es_MX.mo


+ 11 - 19
cutom_report_invoice/i18n/es_MX.po

@@ -7,13 +7,15 @@ msgstr ""
 "Project-Id-Version: Odoo Server 16.0+e\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2023-09-26 03:08+0000\n"
-"PO-Revision-Date: 2023-09-26 03:08+0000\n"
+"PO-Revision-Date: 2025-04-25 21:56-0600\n"
 "Last-Translator: \n"
 "Language-Team: \n"
+"Language: es_MX\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 3.5\n"
 
 #. module: cutom_report_invoice
 #: model:ir.actions.report,print_report_name:cutom_report_invoice.custom_report_invoice
@@ -97,8 +99,7 @@ msgstr "<span>Información Extra</span>"
 #. module: cutom_report_invoice
 #: model_terms:ir.ui.view,arch_db:cutom_report_invoice.custom_report_invoice_document
 msgid "<span>Original chain complement of digital certification SAT</span>"
-msgstr ""
-"<span>Cadena original del complemento del certificado digital del SAT</span>"
+msgstr "<span>Cadena original del complemento del certificado digital del SAT</span>"
 
 #. module: cutom_report_invoice
 #: model_terms:ir.ui.view,arch_db:cutom_report_invoice.custom_report_invoice_document
@@ -122,21 +123,13 @@ msgstr ""
 
 #. module: cutom_report_invoice
 #: model_terms:ir.ui.view,arch_db:cutom_report_invoice.custom_report_invoice_document
-msgid ""
-"<strong class=\"text-center\">Scan me with your banking "
-"app.</strong><br/><br/>"
-msgstr ""
-"<strong class=\"text-center\">Escanéame con tu aplicación "
-"bancaria.</strong><br/><br/>"
+msgid "<strong class=\"text-center\">Scan me with your banking app.</strong><br/><br/>"
+msgstr "<strong class=\"text-center\">Escanéame con tu aplicación bancaria.</strong><br/><br/>"
 
 #. module: cutom_report_invoice
 #: model_terms:ir.ui.view,arch_db:cutom_report_invoice.custom_report_invoice_document
-msgid ""
-"<strong>A signature of this invoice is required, but it is not "
-"signed.</strong>"
-msgstr ""
-"<strong>Se requiere una firma de esta factura, pero no está "
-"firmada.</strong>"
+msgid "<strong>A signature of this invoice is required, but it is not signed.</strong>"
+msgstr "<strong>Se requiere una firma de esta factura, pero no está firmada.</strong>"
 
 #. module: cutom_report_invoice
 #: model_terms:ir.ui.view,arch_db:cutom_report_invoice.custom_report_invoice_document
@@ -213,8 +206,7 @@ msgstr "<strong>Origen:</strong>"
 #. module: cutom_report_invoice
 #: model_terms:ir.ui.view,arch_db:cutom_report_invoice.custom_report_invoice_document
 msgid "<strong>This document is a printed representation of a CFDI</strong>"
-msgstr ""
-"<strong>Este documento es una representación impresa de un CFDI</strong>"
+msgstr "<strong>Este documento es una representación impresa de un CFDI</strong>"
 
 #. module: cutom_report_invoice
 #: model_terms:ir.ui.view,arch_db:cutom_report_invoice.custom_report_invoice_document

BIN
cutom_report_invoice/models/__pycache__/__init__.cpython-310.pyc


BIN
cutom_report_invoice/models/__pycache__/account_move.cpython-310.pyc


+ 1 - 1
cutom_report_invoice/models/account_move.py

@@ -11,7 +11,7 @@ class AccountMove(models.Model):
         if self.currency_id.rate_ids:
             rate = self.currency_id.rate_ids[0]
             if rate:
-                self.rate= rate.inverse_company_rate
+                self.rate = rate.inverse_company_rate
         else:
             self.rate = 0