TIP: You can type at any time to perform a new search.
Account Payment Terms Discount
account_payment_term_discount · OCA/account-payment
- Repository
- OCA/account-payment · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Accounting & Finance
- Folder size
- 0.12 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-payment
- Last tracking update
- 2026-08-07 08:09:21
- Authors
- Odoo Community Association (OCA), Open Source Integrators
- Maintainers
- Odoo Community Association (OCA), Open Source Integrators
- Committers
- Jordi Ballester Alomar, Christopher Ormaza, Weblate, OCA-git-bot, oca-ci
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
invoice_form_discounts |
account.invoice.form.discount | account.move | form | Inherits account.view_move_form |
invoice_tree_discount |
account.invoice.tree.discount | account.move | tree | Inherits account.view_invoice_tree |
product_template_form_view_exclude_shipping |
product_template.form.view.exclude.shipping | product.template | form | Inherits product.product_template_form_view |
view_account_payment_term_form |
account.payment.term.form | account.payment.register | form | Inherits account.view_account_payment_register_form |
view_payment_term_disc_form |
account.payment.term.disc.form | account.payment.term | form | Inherits account.view_payment_term_form |
view_payment_term_disc_tree |
account.payment.term.disc.tree | account.payment.term | tree | Inherits account.view_payment_term_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (5)
-
check_payment_discountBooleancompute='_compute_payment_disc' -
discount_amtMonetarycompute='_compute_discount_amt'help='Discount amount possible with the given payment term'store=True args: 'Discount Possible' -
discount_dateDatecompute='_compute_discount_date'help='Compute discount on the invoice based on the payment term discount percentage.and the current date'store=True -
discount_takenMonetarycopy=False args: 'Discount taken' -
shipping_lines_totalMonetarycompute='_compute_shipping_lines_total'help='Exclude shipping lines total from discount if applicable in terms'
No public methods.
New fields (3)
-
amount_helperFloatrequired=Falsestring='Amount helper' -
discount_amtMonetarystore=True -
invoice_idMany2one → account.movecomodel_name='account.move'string='Invoice'
-
action_create_payments(self) -
default_get(self, fields)@api.model -
onchange_payment_amount(self)@api.onchange('amount', 'payment_difference', 'payment_date', 'currency_id')
New fields (3)
-
is_discountBooleanhelp='Check this box if this payment term has a discount. If discount is used the remaining amount of the invoice will not be paid'string='Early Payment Discount' -
is_exclude_shipping_linesBooleanhelp='Check this box if you want to exclude shipping charges from discount'string='Exclude Shipping from Discount' -
is_exclude_taxes_discountBooleanhelp='Check this box if want to exclude taxes from discount'string='Exclude Taxes from Discount'
No public methods.
New fields (3)
-
discount_expense_account_idMany2one → account.accounthelp='This account will be used to post the discount on sales.'string='Discount on Sales Account' args: 'account.account' -
discount_income_account_idMany2one → account.accounthelp='This account will be used to post the discount on purchases.'string='Discount on Purchases Account' args: 'account.account' -
is_discountBooleanreadonly=Truerelated='payment_id.is_discount'string='Early Payment Discount'
-
OnchangeDiscount(self)@api.onchange('discount_percentage')
New fields (1)
-
is_exclude_shipping_amountBooleanhelp='Check this box if want to exclude shipping charges from discount'string='Exclude Shipping Amount'
No public methods.
Loading…