Skip to content

Commit 25a0e23

Browse files
committed
Merge PR #4459 into 14.0
Signed-off-by SirAionTech
2 parents 912df97 + a394531 commit 25a0e23

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

l10n_it_ricevute_bancarie/models/account.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ def copy(self, default=None):
282282
{"invoice_line_ids": [(2, id, 0) for id in due_cost_line_ids]}
283283
)
284284
invoice._recompute_tax_lines()
285+
invoice.is_unsolved = False
285286
return invoice
286287

287288
def get_due_cost_line_ids(self):

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)