Skip to content

Commit

Permalink
[FIX] l10n_it_fatturapa: field positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMule71 committed Feb 24, 2021
1 parent aaa0b8b commit 7873938
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ exclude: |
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
(LICENSE.*|COPYING.*)|
# Generated files
(l10n_it_fatturapa/bindings)|
# Original stylesheets
(l10n_it_fatturapa/data/fatturaordinaria_v1.2.1.xsl)|
(l10n_it_fatturapa/data/FoglioStileAssoSoftware_v1.1.xsl)
default_language_version:
python: python3
node: "14.13.0"
Expand Down
17 changes: 10 additions & 7 deletions l10n_it_fatturapa/views/account_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,25 @@
parent="account.menu_finance_payables"
/>

<record id="view_invoice_line_form_fatturapa" model="ir.ui.view">
<field name="name">account.invoice.line.fatturapa</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_move_line_form" />
<record id="view_invoice_form_fatturapa" model="ir.ui.view">
<field name="name">account.invoice.fatturapa</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<field name="name" position="after">
<xpath
expr="//field[@name='invoice_line_ids']/form/sheet/field[@name='name']"
position="after"
>
<separator string="Electronic Invoice" />
<div id="admin_ref">
<group>
<field name="admin_ref" />
</group>
</div>
</div>
<group string="Related Documents">
<field name="related_documents" nolabel="1" />
</group>
</field>
</xpath>
</field>
</record>

Expand Down

0 comments on commit 7873938

Please sign in to comment.