Skip to content

Commit 221e4b4

Browse files
committed
[IMP]l10n_it_ricevute_bancarie: improvements for is_unsolved field
- Changed placement to see the label better - When a invioce is duplicated the field is set to false. This behaviuor that was not present before this commit
1 parent ce388d4 commit 221e4b4

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

l10n_it_ricevute_bancarie/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ Contributors
134134

135135
* `Ooops <https://www.ooops404.com>`_:
136136
* Giovanni Serra <[email protected]>
137+
* Eduard Brahas <[email protected]>
137138

138139
Maintainers
139140
~~~~~~~~~~~

l10n_it_ricevute_bancarie/models/account.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ def copy(self, default=None):
260260
{"invoice_line_ids": [(2, id, 0) for id in due_cost_line_ids]}
261261
)
262262
invoice._recompute_tax_lines()
263+
invoice.is_unsolved = False
263264
return invoice
264265

265266
def get_due_cost_line_ids(self):

l10n_it_ricevute_bancarie/readme/CONTRIBUTORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212

1313
* `Ooops <https://www.ooops404.com>`_:
1414
* Giovanni Serra <[email protected]>
15+
* Eduard Brahas <[email protected]>

l10n_it_ricevute_bancarie/static/description/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,8 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
468468
<li>Simone Vanin &lt;<a class="reference external" href="mailto:simone.vanin&#64;agilebg.com">simone.vanin&#64;agilebg.com</a>&gt;</li>
469469
<li>Sergio Corato &lt;<a class="reference external" href="https://github.com/sergiocorato">https://github.com/sergiocorato</a>&gt;</li>
470470
<li><a class="reference external" href="https://www.ooops404.com">Ooops</a>:
471-
* Giovanni Serra &lt;<a class="reference external" href="mailto:giovanni&#64;gslab.it">giovanni&#64;gslab.it</a>&gt;</li>
471+
* Giovanni Serra &lt;<a class="reference external" href="mailto:giovanni&#64;gslab.it">giovanni&#64;gslab.it</a>&gt;
472+
* Eduard Brahas &lt;<a class="reference external" href="mailto:eduard&#64;ooops404.com">eduard&#64;ooops404.com</a>&gt;</li>
472473
</ul>
473474
</div>
474475
<div class="section" id="maintainers">

l10n_it_ricevute_bancarie/views/account_view.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@
150150
domain="[('partner_id','=', commercial_partner_id)]"
151151
/>
152152
</div>
153+
154+
</xpath>
155+
156+
<xpath expr="//label[@for='invoice_payment_term_id']" position="before">
153157
<field
154158
name="is_unsolved"
155159
string="Past Due"

0 commit comments

Comments
 (0)