Repository
OCA/account-payment · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.04 MB
License
LGPL-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), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
RicardCForgeFlow, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_payment_term_restriction_purchase, account_payment_term_restriction_sale
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_payment_term_form account.payment.term.form - account_payment_term_restriction account.payment.term form Inherits account.view_payment_term_form
view_payment_term_tree account.payment.term.tree - account_payment_term_restriction account.payment.term tree Inherits account.view_payment_term_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • applicable_on Selection
    default=<expr> selection='_selection_applicable_on'
Public methods (3)
  • check_not_applicable(self, applicable_on, record)
    :return: bool: returns True if all checks are passed correctly, False if the pre-check for the values used in the validation fails. Raises a ValidationError if the Payment Term doesn't comply with the checks.
  • get_purchase_applicable_on(self)
    @api.model
  • get_sale_applicable_on(self)
    @api.model

Loading…

Loading…