Ver código fonte

[ADD] change_vat_in_partner: change addres native

FernizaM22 2 anos atrás
pai
commit
8b50d9101f

+ 1 - 1
change_vat_in_partner/__manifest__.py

@@ -3,7 +3,7 @@
     'description': """
         Change the rfc of the client       
     """,
-    "version": "16.0.1.0.2",
+    "version": "16.0.1.0.3",
     "category": "Partner",
     "author": "M22",
     'website': "https://www.m22.mx",

+ 0 - 6
change_vat_in_partner/report/account_move_report.xml

@@ -2,16 +2,10 @@
 <odoo>
     <template id="custom_report_invoice_document" inherit_id="account.report_invoice_document">
         <xpath expr="//div[hasclass('row')]//div[@name='address_not_same_as_shipping']//t[@t-set='address']" position="replace">
-            <field t-field="o.partner_id.name" />
-            <address class="mb-0" t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address"], "no_marker": True}'/>
         </xpath>
         <xpath expr="//div[hasclass('row')]//div[@name='address_same_as_shipping']//t[@t-set='address']" position="replace">
-            <field t-field="o.partner_id.name" />
-            <address class="mb-0" t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address"], "no_marker": True}'/>
         </xpath>
         <xpath expr="//div[hasclass('row')]//div[@name='no_shipping']//t[@t-set='address']" position="replace">
-            <field t-field="o.partner_id.name" />
-            <address class="mb-0" t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address"], "no_marker": True}'/>
         </xpath>
     </template>
 </odoo>