Skip to content

Commit

Permalink
[MIG] l10n_ar_sale: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
docker-odoo authored and jjscarafia committed Nov 18, 2024
1 parent 149f14f commit d6ebb19
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions l10n_ar_sale/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
'name': 'Argentinian Sale Total Fields',
'version': "17.0.1.2.0",
'version': "18.0.1.0.0",
'category': 'Localization/Argentina',
'sequence': 14,
'author': 'ADHOC SA',
Expand All @@ -24,7 +24,7 @@
],
'demo': [
],
'installable': False,
'installable': True,
'auto_install': False,
'application': False,
}
8 changes: 4 additions & 4 deletions l10n_ar_sale/views/sale_checkbook_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
</record>

<record id="view_sale_checkbook_tree" model="ir.ui.view">
<field name="name">sale.checkbook.tree</field>
<field name="name">sale.checkbook.list</field>
<field name="model">sale.checkbook</field>
<field name="arch" type="xml">
<tree string="Sale Checkbook">
<list string="Sale Checkbook">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="discriminate_taxes"/>
<field name="report_partner_id"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
</tree>
</list>
</field>
</record>

Expand Down Expand Up @@ -55,7 +55,7 @@
<record id="action_checkbook_form" model="ir.actions.act_window">
<field name="name">Sale Checkbook</field>
<field name="res_model">sale.checkbook</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
<field name="search_view_id" ref="view_sale_checkbook_search"/>
</record>

Expand Down
5 changes: 2 additions & 3 deletions l10n_ar_sale/views/sale_report_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@
<!-- remove default partner address -->
<t t-set="address" position="replace"/>

<!-- remove default document title -->
<h2 position="replace"/>

<!-- remove default layout document title -->
<t t-set="layout_document_title" position="replace"/>

<xpath expr="//span[@t-field='line.price_unit']" position="attributes">
<attribute name="t-field">line.report_price_unit</attribute>
Expand Down
2 changes: 1 addition & 1 deletion l10n_ar_sale/views/sale_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<group name="sale_info">
<field name="vat_discriminated"/>
</group>
<xpath expr="//field[@name='order_line']/tree//field[@name='tax_id']" position="after">
<xpath expr="//field[@name='order_line']/list//field[@name='tax_id']" position="after">
<field name="price_unit_with_tax" groups="l10n_ar_sale.sale_price_unit_with_tax" widget="monetary"/>
<!-- <field name="currency_id" invisible="1"/> -->
</xpath>
Expand Down

0 comments on commit d6ebb19

Please sign in to comment.