Skip to content

Commit

Permalink
fixup! [IMP] UX for partner vat intra
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-champonnois committed Mar 12, 2024
1 parent fa0dd7c commit fd0597c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 26 deletions.
14 changes: 7 additions & 7 deletions l10n_be_vat_reports/wizard/l10n_be_vat_intra_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
-->
<odoo>
<record id="view_vat_intra_wizard" model="ir.ui.view">
<field name="name">Partner VAT intra</field>
<field name="name">Intracom VAT Declaration</field>
<field name="model">partner.vat.intra</field>
<field name="arch" type="xml">
<form string="Partner VAT intra">
<form string="Intracom VAT Declaration">
<group>
<separator string="Intracom VAT Declaration" />
</group>
Expand Down Expand Up @@ -43,7 +43,7 @@
</record>

<record id="action_vat_intra" model="ir.actions.act_window">
<field name="name">Partner Vat Intra</field>
<field name="name">Intracom VAT Declaration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">partner.vat.intra</field>
<field name="view_mode">form</field>
Expand All @@ -52,17 +52,17 @@
</record>

<menuitem
name="Partner VAT Intra"
name="Intracom VAT Declaration"
parent="l10n_be.account_reports_be_statements_menu"
action="action_vat_intra"
id="l10_be_vat_intra"
/>

<record id="view_vat_intra" model="ir.ui.view">
<field name="name">Partner VAT intra</field>
<field name="name">Intracom VAT Declaration</field>
<field name="model">partner.vat.intra</field>
<field name="arch" type="xml">
<form string="Partner VAT intra">
<form string="Intracom VAT Declaration">
<header>
<button
name="create_xml"
Expand All @@ -72,7 +72,7 @@
/>
<button
name="print_vat_intra"
string="Print PDF"
string="Print"
type="object"
class="oe_highlight"
/>
Expand Down
34 changes: 15 additions & 19 deletions l10n_be_vat_reports/wizard/partner_vat_list_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
type="object"
class="oe_highlight"
/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
Expand Down Expand Up @@ -53,6 +52,20 @@
<field name="model">partner.vat.list</field>
<field name="arch" type="xml">
<form string="Annual Listing of VAT-Subjected Customers">
<header>
<button
name="create_xml"
string="Create XML"
type="object"
class="oe_highlight"
/>
<button
name="print_vatlist"
string="Print"
type="object"
class="oe_highlight"
/>
</header>
<group col="4">
<notebook colspan="4">
<page string="Customer List">
Expand All @@ -75,25 +88,8 @@
<field name="comments" colspan="4" nolabel="1" />
</page>
</notebook>
<separator colspan="4" />
<group colspan="4">
<button
colspan="2"
name="create_xml"
string="Create XML"
type="object"
icon="fa-cogs"
/>
<button
colspan="2"
name="print_vatlist"
string="Print"
type="object"
icon="fa-print"
/>
</group>
</group>
</form>
</form>
</field>
</record>

Expand Down

0 comments on commit fd0597c

Please sign in to comment.