diff --git a/modules/account_invoice/CHANGELOG b/modules/account_invoice/CHANGELOG index 6c09fab726..e5372197f5 100644 --- a/modules/account_invoice/CHANGELOG +++ b/modules/account_invoice/CHANGELOG @@ -1,3 +1,4 @@ +* Add common payment terms Version 7.4.0 - 2024-11-04 -------------------------- diff --git a/modules/account_invoice/payment_term.py b/modules/account_invoice/payment_term.py index 0cd82eec4b..17e715e102 100644 --- a/modules/account_invoice/payment_term.py +++ b/modules/account_invoice/payment_term.py @@ -36,6 +36,8 @@ class PaymentTerm(DeactivableMixin, ModelSQL, ModelView): @classmethod def check_remainder(cls, terms, field_names=None): + if Transaction().user == 0: + return if field_names and 'lines' not in field_names: return for term in terms: diff --git a/modules/account_invoice/payment_term.xml b/modules/account_invoice/payment_term.xml index f56febf1d6..3c1e8dd92f 100644 --- a/modules/account_invoice/payment_term.xml +++ b/modules/account_invoice/payment_term.xml @@ -122,4 +122,130 @@ this repository contains the full copyright notices and license terms. --> payment_term_test_result_list + + + + Upon Receipt + + + + + remainder + + + + Net 10 days + + + + + remainder + + + + + + + + + Net 15 days + + + + + remainder + + + + + + + + + Net 30 days + + + + + remainder + + + + + + + + + Net 60 days + + + + + remainder + + + + + + + + + End of Month + + + + + remainder + + + + + + + + + End of Month Following + + + + + remainder + + + + + + + + + + Net 30 days End of Month + + + + + remainder + + + + + + + + + + Net 60 days End of Month + + + + + remainder + + + + + + + +