Skip to content

Commit b145df6

Browse files
committed
[IMP] account_ecotax_tax: pre-commit auto fixes
1 parent 2125334 commit b145df6

5 files changed

Lines changed: 22 additions & 23 deletions

File tree

account_ecotax_tax/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Ecotax Management (with Odoo tax)
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--fiscal--rule-lightgray.png?logo=github
20-
:target: https://github.com/OCA/account-fiscal-rule/tree/17.0/account_ecotax_tax
20+
:target: https://github.com/OCA/account-fiscal-rule/tree/18.0/account_ecotax_tax
2121
:alt: OCA/account-fiscal-rule
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/account-fiscal-rule-17-0/account-fiscal-rule-17-0-account_ecotax_tax
23+
:target: https://translation.odoo-community.org/projects/account-fiscal-rule-18-0/account-fiscal-rule-18-0-account_ecotax_tax
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-fiscal-rule&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-fiscal-rule&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -105,7 +105,7 @@ Bug Tracker
105105
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-fiscal-rule/issues>`_.
106106
In case of trouble, please check there if your issue has already been reported.
107107
If you spotted it first, help us to smash it by providing a detailed and welcomed
108-
`feedback <https://github.com/OCA/account-fiscal-rule/issues/new?body=module:%20account_ecotax_tax%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
108+
`feedback <https://github.com/OCA/account-fiscal-rule/issues/new?body=module:%20account_ecotax_tax%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
109109

110110
Do not contact contributors directly about support or help with technical issues.
111111

@@ -147,6 +147,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
147147

148148
|maintainer-mourad-ehm| |maintainer-florian-dacosta|
149149

150-
This module is part of the `OCA/account-fiscal-rule <https://github.com/OCA/account-fiscal-rule/tree/17.0/account_ecotax_tax>`_ project on GitHub.
150+
This module is part of the `OCA/account-fiscal-rule <https://github.com/OCA/account-fiscal-rule/tree/18.0/account_ecotax_tax>`_ project on GitHub.
151151

152152
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

account_ecotax_tax/report/invoice.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
inherit_id="account.document_tax_totals"
1919
priority="150"
2020
>
21-
<xpath expr="//tr[@name='ecotax_line']" position="replace">
22-
</xpath>
21+
<xpath expr="//tr[@name='ecotax_line']" position="replace" />
2322
</template>
2423
</odoo>

account_ecotax_tax/static/description/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">Ecotax Management (with Odoo tax)</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:325b4d53ac93f3760030128a6c45ca9e12cef59c1998fc54a3044f230150da9a
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-fiscal-rule/tree/17.0/account_ecotax_tax"><img alt="OCA/account-fiscal-rule" src="https://img.shields.io/badge/github-OCA%2Faccount--fiscal--rule-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-fiscal-rule-17-0/account-fiscal-rule-17-0-account_ecotax_tax"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-fiscal-rule&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-fiscal-rule/tree/18.0/account_ecotax_tax"><img alt="OCA/account-fiscal-rule" src="https://img.shields.io/badge/github-OCA%2Faccount--fiscal--rule-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-fiscal-rule-18-0/account-fiscal-rule-18-0-account_ecotax_tax"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-fiscal-rule&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module allows to compute the ecotax amounts from Odoo tax
374374
mechanism. The advantages compared to the base account_ecotax module is
375375
that it allows to : - Manage ecotax amount as included or excluded from
@@ -462,7 +462,7 @@ <h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
462462
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-fiscal-rule/issues">GitHub Issues</a>.
463463
In case of trouble, please check there if your issue has already been reported.
464464
If you spotted it first, help us to smash it by providing a detailed and welcomed
465-
<a class="reference external" href="https://github.com/OCA/account-fiscal-rule/issues/new?body=module:%20account_ecotax_tax%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
465+
<a class="reference external" href="https://github.com/OCA/account-fiscal-rule/issues/new?body=module:%20account_ecotax_tax%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
466466
<p>Do not contact contributors directly about support or help with technical issues.</p>
467467
</div>
468468
<div class="section" id="credits">
@@ -491,7 +491,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
491491
promote its widespread use.</p>
492492
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
493493
<p><a class="reference external image-reference" href="https://github.com/mourad-ehm"><img alt="mourad-ehm" src="https://github.com/mourad-ehm.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/florian-dacosta"><img alt="florian-dacosta" src="https://github.com/florian-dacosta.png?size=40px" /></a></p>
494-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-fiscal-rule/tree/17.0/account_ecotax_tax">OCA/account-fiscal-rule</a> project on GitHub.</p>
494+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-fiscal-rule/tree/18.0/account_ecotax_tax">OCA/account-fiscal-rule</a> project on GitHub.</p>
495495
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
496496
</div>
497497
</div>

account_ecotax_tax/views/account_move_view.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<field name="model">account.move.line</field>
55
<field name="inherit_id" ref="account_ecotax.view_move_line_ecotax_form" />
66
<field name="arch" type="xml">
7-
<field name="ecotax_line_ids" position="attributes">
8-
<attribute name="readonly">1</attribute>
9-
</field>
7+
<field name="ecotax_line_ids" position="attributes">
8+
<attribute name="readonly">1</attribute>
9+
</field>
1010
</field>
1111
</record>
1212
</odoo>

account_ecotax_tax/views/account_tax_view.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
@author Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
55
-->
66
<odoo>
7-
<record id="tax_form" model="ir.ui.view">
8-
<field name="name">l10n_fr_ecotax.account.tax.form</field>
9-
<field name="model">account.tax</field>
10-
<field name="inherit_id" ref="account.view_tax_form" />
11-
<field name="priority">300</field>
12-
<field name="arch" type="xml">
13-
<field name="active" position="after">
14-
<field name="is_ecotax" />
15-
</field>
7+
<record id="tax_form" model="ir.ui.view">
8+
<field name="name">l10n_fr_ecotax.account.tax.form</field>
9+
<field name="model">account.tax</field>
10+
<field name="inherit_id" ref="account.view_tax_form" />
11+
<field name="priority">300</field>
12+
<field name="arch" type="xml">
13+
<field name="active" position="after">
14+
<field name="is_ecotax" />
1615
</field>
17-
</record>
16+
</field>
17+
</record>
1818
</odoo>

0 commit comments

Comments
 (0)