Account Accrual Subscriptions

account_cutoff_accrual_subscription
REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/18.0/account_cutoff_accrual_subscription
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_start_end_dates
    - account_cutoff_base
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows you to easily compute accrued expenses (and accrued
revenues) by comparing expected expense amounts (configured as
*subscriptions*) with real expense amounts.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_cutoff_accrual_subscription_form account.cutoff.accrual.subscription.form account.cutoff.accrual.subscription form New
account_cutoff_accrual_subscription_search account.cutoff.accrual.subscription.search account.cutoff.accrual.subscription search New
account_cutoff_accrual_subscription_tree account.cutoff.accrual.subscription.list account.cutoff.accrual.subscription list New
account_cutoff_line_form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_tree
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • get_lines(self)

New fields (14)
  • account_id Many2one → account.account
    check_company=True domain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]" required=True string='Account' args: 'account.account'
  • active Boolean
    default=True
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • company_id Many2one → res.company
    default=<expr> ondelete='cascade' required=True string='Company' args: 'res.company'
  • min_amount Monetary
    currency_field='company_currency_id' help='Minimum amount without taxes over the period' required=True string='Minimum Amount'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    compute='_compute_partner_id' domain=[('parent_id', '=', False)] ondelete='restrict' precompute=True readonly=False store=True string='Partner' args: 'res.partner'
  • partner_type Selection
    default='one' required=True args: [('any', 'Any Partner'), ('one', 'Specific Partner'), ('none', 'No Partner')]
  • periodicity Selection
    required=True args: [('month', 'Monthly'), ('quarter', 'Quarterly'), ('semester', 'Semesterly'), ('year', 'Yearly')]
  • provision_amount Monetary
    compute='_compute_provision_amount' currency_field='company_currency_id' precompute=True readonly=False store=True string='Default Provision Amount'
  • start_date Date
    required=True
  • subscription_type Selection
    default='expense' required=True string='Type' args: [('revenue', 'Revenue'), ('expense', 'Expense')]
  • tax_ids Many2many → account.tax
    check_company=True compute='_compute_tax_ids' domain="[('price_include', '=', False), ('company_id', '=', company_id), ('type_tax_use', '=', type_tax_use)]" precompute=True readonly=False store=True string='Taxes' args: 'account.tax'
  • type_tax_use Char
    compute='_compute_type_tax_use'
Public methods (1)
  • check_start_date(self)
    @api.constrains('start_date')

New fields (1)
  • subscription_id Many2one → account.cutoff.accrual.subscription
    check_company=True ondelete='restrict' args: 'account.cutoff.accrual.subscription'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/17.0/account_cutoff_accrual_subscription
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_start_end_dates
    - account_cutoff_base
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows you to easily compute accrued expenses (and accrued
revenues) by comparing expected expense amounts (configured as
*subscriptions*) with real expense amounts.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_cutoff_accrual_subscription_form account.cutoff.accrual.subscription.form account.cutoff.accrual.subscription form New
account_cutoff_accrual_subscription_search account.cutoff.accrual.subscription.search account.cutoff.accrual.subscription search New
account_cutoff_accrual_subscription_tree account.cutoff.accrual.subscription.tree account.cutoff.accrual.subscription tree New
account_cutoff_line_form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • get_lines(self)

New fields (14)
  • account_id Many2one → account.account
    check_company=True domain="[('deprecated', '=', False), ('company_id', '=', company_id)]" required=True string='Account' args: 'account.account'
  • active Boolean
    default=True
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • company_id Many2one → res.company
    default=<expr> ondelete='cascade' required=True string='Company' args: 'res.company'
  • min_amount Monetary
    currency_field='company_currency_id' help='Minimum amount without taxes over the period' required=True string='Minimum Amount'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    compute='_compute_partner_id' domain=[('parent_id', '=', False)] ondelete='restrict' precompute=True readonly=False store=True string='Partner' args: 'res.partner'
  • partner_type Selection
    default='one' required=True args: [('any', 'Any Partner'), ('one', 'Specific Partner'), ('none', 'No Partner')]
  • periodicity Selection
    required=True args: [('month', 'Monthly'), ('quarter', 'Quarterly'), ('semester', 'Semesterly'), ('year', 'Yearly')]
  • provision_amount Monetary
    compute='_compute_provision_amount' currency_field='company_currency_id' precompute=True readonly=False store=True string='Default Provision Amount'
  • start_date Date
    required=True
  • subscription_type Selection
    default='expense' required=True string='Type' args: [('revenue', 'Revenue'), ('expense', 'Expense')]
  • tax_ids Many2many → account.tax
    check_company=True compute='_compute_tax_ids' domain="[('price_include', '=', False), ('company_id', '=', company_id), ('type_tax_use', '=', type_tax_use)]" precompute=True readonly=False store=True string='Taxes' args: 'account.tax'
  • type_tax_use Char
    compute='_compute_type_tax_use'
Public methods (1)
  • check_start_date(self)
    @api.constrains('start_date')

New fields (1)
  • subscription_id Many2one → account.cutoff.accrual.subscription
    check_company=True ondelete='restrict' args: 'account.cutoff.accrual.subscription'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/16.0/account_cutoff_accrual_subscription
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_start_end_dates
    - account_cutoff_base
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_cutoff_accrual_subscription_form account.cutoff.accrual.subscription.form account.cutoff.accrual.subscription form New
account_cutoff_accrual_subscription_search account.cutoff.accrual.subscription.search account.cutoff.accrual.subscription search New
account_cutoff_accrual_subscription_tree account.cutoff.accrual.subscription.tree account.cutoff.accrual.subscription tree New
account_cutoff_line_form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • get_lines(self)

New fields (14)
  • account_id Many2one → account.account
    check_company=True domain="[('deprecated', '=', False), ('company_id', '=', company_id)]" required=True string='Account' args: 'account.account'
  • active Boolean
    default=True
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • company_id Many2one → res.company
    default=<expr> ondelete='cascade' required=True string='Company' args: 'res.company'
  • min_amount Monetary
    currency_field='company_currency_id' help='Minimum amount without taxes over the period' required=True string='Minimum Amount'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    domain=[('parent_id', '=', False)] ondelete='restrict' string='Partner' args: 'res.partner'
  • partner_type Selection
    default='one' required=True args: [('any', 'Any Partner'), ('one', 'Specific Partner'), ('none', 'No Partner')]
  • periodicity Selection
    required=True args: [('month', 'Monthly'), ('quarter', 'Quarterly'), ('semester', 'Semesterly'), ('year', 'Yearly')]
  • provision_amount Monetary
    currency_field='company_currency_id' string='Default Provision Amount'
  • start_date Date
    required=True
  • subscription_type Selection
    default='expense' required=True string='Type' args: [('revenue', 'Revenue'), ('expense', 'Expense')]
  • tax_ids Many2many → account.tax
    check_company=True domain="[('price_include', '=', False), ('company_id', '=', company_id), ('type_tax_use', '=', type_tax_use)]" string='Taxes' args: 'account.tax'
  • type_tax_use Char
    compute='_compute_type_tax_use'
Public methods (4)
  • account_id_change(self)
    @api.onchange('account_id')
  • check_start_date(self)
    @api.constrains('start_date')
  • min_amount_change(self)
    @api.onchange('min_amount')
  • partner_type_change(self)
    @api.onchange('partner_type')

New fields (1)
  • subscription_id Many2one → account.cutoff.accrual.subscription
    check_company=True ondelete='restrict' args: 'account.cutoff.accrual.subscription'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/15.0/account_cutoff_accrual_subscription
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Miquel Raïch, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_start_end_dates
    - account_cutoff_base
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_cutoff_accrual_subscription_form account.cutoff.accrual.subscription.form account.cutoff.accrual.subscription form New
account_cutoff_accrual_subscription_search account.cutoff.accrual.subscription.search account.cutoff.accrual.subscription search New
account_cutoff_accrual_subscription_tree account.cutoff.accrual.subscription.tree account.cutoff.accrual.subscription tree New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_lines(self)

New fields (14)
  • account_id Many2one → account.account
    check_company=True domain="[('deprecated', '=', False), ('company_id', '=', company_id)]" required=True string='Account' args: 'account.account'
  • active Boolean
    default=True
  • analytic_account_id Many2one → account.analytic.account
    check_company=True domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]" string='Analytic Account' args: 'account.analytic.account'
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • company_id Many2one → res.company
    default=<expr> ondelete='cascade' required=True string='Company' args: 'res.company'
  • min_amount Monetary
    currency_field='company_currency_id' help='Minimum expense amount without taxes over the period' required=True string='Minimum Expense Amount'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    domain=[('parent_id', '=', False)] ondelete='restrict' string='Supplier' args: 'res.partner'
  • partner_type Selection
    default='one' required=True args: [('none', 'No Partner'), ('one', 'Specific Partner'), ('any', 'Any Partner')]
  • periodicity Selection
    required=True args: [('month', 'Monthly'), ('quarter', 'Quarterly'), ('semester', 'Semesterly'), ('year', 'Yearly')]
  • provision_amount Monetary
    currency_field='company_currency_id' string='Default Provision Amount'
  • start_date Date
    required=True
  • subscription_type Selection
    default='expense' required=True string='Type' args: [('revenue', 'Revenue'), ('expense', 'Expense')]
  • tax_ids Many2many → account.tax
    check_company=True domain="[('price_include', '=', False), ('company_id', '=', company_id)]" string='Taxes' args: 'account.tax'
Public methods (4)
  • account_id_change(self)
    @api.onchange('account_id')
  • check_start_date(self)
    @api.constrains('start_date')
  • min_amount_change(self)
    @api.onchange('min_amount')
  • partner_type_change(self)
    @api.onchange('partner_type')
REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/14.0/account_cutoff_accrual_subscription
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_start_end_dates
    - account_cutoff_base
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_cutoff_accrual_subscription_form account.cutoff.accrual.subscription.form account.cutoff.accrual.subscription form New
account_cutoff_accrual_subscription_search account.cutoff.accrual.subscription.search account.cutoff.accrual.subscription search New
account_cutoff_accrual_subscription_tree account.cutoff.accrual.subscription.tree account.cutoff.accrual.subscription tree New
account_cutoff_line_form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • get_lines(self)

New fields (15)
  • account_id Many2one → account.account
    check_company=True domain="[('deprecated', '=', False), ('company_id', '=', company_id)]" required=True string='Account' args: 'account.account'
  • active Boolean
    default=True
  • analytic_account_id Many2one → account.analytic.account
    check_company=True domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]" string='Analytic Account' args: 'account.analytic.account'
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • company_id Many2one → res.company
    default=<expr> ondelete='cascade' required=True string='Company' args: 'res.company'
  • min_amount Monetary
    currency_field='company_currency_id' help='Minimum expense amount without taxes over the period' required=True string='Minimum Expense Amount'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    domain=[('parent_id', '=', False)] ondelete='restrict' string='Supplier' args: 'res.partner'
  • partner_type Selection
    default='one' required=True string='Partner Type' args: [('none', 'No Partner'), ('one', 'Specific Partner'), ('any', 'Any Partner')]
  • periodicity Selection
    required=True string='Periodicity' args: [('month', 'Monthly'), ('quarter', 'Quarterly'), ('semester', 'Semesterly'), ('year', 'Yearly')]
  • provision_amount Monetary
    currency_field='company_currency_id' string='Default Provision Amount'
  • start_date Date
    required=True
  • subscription_type Selection
    default='expense' required=True string='Type' args: [('revenue', 'Revenue'), ('expense', 'Expense')]
  • tax_ids Many2many → account.tax
    check_company=True domain="[('price_include', '=', False), ('company_id', '=', company_id), ('type_tax_use', '=', type_tax_use)]" string='Taxes' args: 'account.tax'
  • type_tax_use Char
    compute='_compute_type_tax_use'
Public methods (4)
  • account_id_change(self)
    @api.onchange('account_id')
  • check_start_date(self)
    @api.constrains('start_date')
  • min_amount_change(self)
    @api.onchange('min_amount')
  • partner_type_change(self)
    @api.onchange('partner_type')

New fields (1)
  • subscription_id Many2one → account.cutoff.accrual.subscription
    ondelete='restrict' args: 'account.cutoff.accrual.subscription'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/10.0/account_cutoff_accrual_subscription
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_accrual_dates
    - account_cutoff_prepaid
    - account_cutoff_base
    - account_invoice_start_end_dates
    - account_cutoff_accrual_base
odoo/odoo:
    - account_accountant
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_cutoff_accrual_subscription_form account.cutoff.accrual.subscription.form account.cutoff.accrual.subscription form New
account_cutoff_accrual_subscription_search account.cutoff.accrual.subscription.search account.cutoff.accrual.subscription search New
account_cutoff_accrual_subscription_tree account.cutoff.accrual.subscription.tree account.cutoff.accrual.subscription tree New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_lines(self)

New fields (14)
  • account_id Many2one → account.account
    domain=[('deprecated', '=', False)] required=True string='Account' args: 'account.account'
  • active Boolean
    default=True
  • analytic_account_id Many2one → account.analytic.account
    string='Analytic Account' args: 'account.analytic.account'
  • company_currency_id Many2one
    readonly=True related='company_id.currency_id' store=True string='Company Currency'
  • company_id Many2one → res.company
    default=<expr> ondelete='cascade' required=True string='Company' args: 'res.company'
  • min_amount Monetary
    currency_field='company_currency_id' help='Minimum expense amount without taxes over the period' required=True string='Minimum Expense Amount'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    domain=[('parent_id', '=', False), ('supplier', '=', True)] ondelete='restrict' string='Supplier' args: 'res.partner'
  • partner_type Selection
    default='one' required=True string='Partner Type' args: [('none', 'No Partner'), ('one', 'Specific Partner'), ('any', 'Any Partner')]
  • periodicity Selection
    required=True string='Periodicity' args: [('month', 'Monthly'), ('quarter', 'Quarterly'), ('semester', 'Semesterly'), ('year', 'Yearly')]
  • provision_amount Monetary
    currency_field='company_currency_id' string='Default Provision Amount'
  • start_date Date
    required=True
  • subscription_type Selection
    default='expense' required=True string='Type' args: [('revenue', 'Revenue'), ('expense', 'Expense')]
  • tax_ids Many2many → account.tax
    domain=[('price_include', '=', False)] string='Taxes' args: 'account.tax'
Public methods (4)
  • account_id_change(self)
    @api.onchange('account_id')
  • check_start_date(self)
    @api.constrains('start_date')
  • min_amount_change(self)
    @api.onchange('min_amount')
  • partner_type_change(self)
    @api.onchange('partner_type')