Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][IMP]l10n_it_ricevute_bancarie: improvements for is_unsolved field #4459

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions l10n_it_ricevute_bancarie/models/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ def copy(self, default=None):
{"invoice_line_ids": [(2, id, 0) for id in due_cost_line_ids]}
)
invoice._recompute_tax_lines()
invoice.is_unsolved = False
return invoice

def get_due_cost_line_ids(self):
Expand Down
4 changes: 4 additions & 0 deletions l10n_it_ricevute_bancarie/views/account_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@
domain="[('partner_id','=', commercial_partner_id)]"
/>
</div>

</xpath>

<xpath expr="//label[@for='invoice_payment_term_id']" position="before">
<field
name="is_unsolved"
string="Past Due"
Expand Down
Loading