TIP: You can type at any time to perform a new search.
Account Cut-off Base
account_cutoff_base · OCA/account-closing
- Repository
- OCA/account-closing · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Accounting & Finance
- Folder size
- 2.14 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-closing
- Last tracking update
- 2026-08-07 08:42:59
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Alexis de Lattre, Weblate, OCA-git-bot, oca-ci, vbnext
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_cutoff_picking, account_cutoff_start_end_dates
- Description
This module contains the technical basis for other cut-off modules ; it doesn't provide useful features by itself. You need to install other cut-off modules to get the useful features: - the module *account_cutoff_start_end_dates* will manage cut-offs based on start date and end date of invoice/move lines, - the module *account_cutoff_picking* will manage cut-offs based on the pickings. - the module *account_cutoff_accrual_subscription* will manage cut-offs based on subscriptions.
Code Analysis ⓘ
Views touched (12)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_cutoff_filter |
account.cutoff.filter | account.cutoff | search | New |
account_cutoff_form |
account.cutoff.form | account.cutoff | form | New |
account_cutoff_line_form |
account.cutoff.line.form | account.cutoff.line | form | New |
account_cutoff_line_search |
account.cutoff.line.search | account.cutoff.line | search | New |
account_cutoff_line_tree |
account.cutoff.line.list | account.cutoff.line | list | New |
account_cutoff_mapping_form |
account.cutoff.mapping.form | account.cutoff.mapping | form | New |
account_cutoff_mapping_tree |
account.cutoff.mapping.list | account.cutoff.mapping | list | New |
account_cutoff_tax_line_form |
account.cutoff.tax.line.form | account.cutoff.tax.line | form | New |
account_cutoff_tax_line_tree |
account.cutoff.tax.line.list | account.cutoff.tax.line | list | New |
account_cutoff_tree |
account.cutoff.list | account.cutoff | list | New |
res_config_settings_view_form |
cutoff.res.config.settings.form | res.config.settings | form | Inherits account.res_config_settings_view_form |
view_tax_form |
account.cutoff.accrual.view_tax_form | account.tax | form | Inherits account.view_tax_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (15)
-
auto_reverseBooleanhelp='Automatically reverse created move on following day. Use this if you accrue a value end of period that you want to reverse begin of next period' -
company_currency_idMany2onerelated='company_id.currency_id'string='Company Currency' -
company_idMany2one → res.companydefault=<expr>required=Truestring='Company' args: 'res.company' -
cutoff_account_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'compute='_compute_cutoff_account_id'domain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"precompute=Truereadonly=Falsestore=Truestring='Cut-off Account'tracking=True -
cutoff_dateDatecompute='_compute_cutoff_date'copy=Falseprecompute=Truereadonly=Falsestore=Truestring='Cut-off Date'tracking=True -
cutoff_journal_idMany2one → account.journalcheck_company=Truecomodel_name='account.journal'compute='_compute_cutoff_journal_id'domain="[('company_id', '=', company_id), ('type', '=', 'general')]"precompute=Truereadonly=Falsestore=Truestring='Cut-off Account Journal'tracking=True -
cutoff_typeSelectionrequired=Trueselection='_selection_cutoff_type'string='Type' -
line_idsOne2many → account.cutoff.linecomodel_name='account.cutoff.line'inverse_name='parent_id'string='Cut-off Lines' -
move_idMany2one → account.movecheck_company=Truecopy=Falsereadonly=Truestring='Cut-off Journal Entry' args: 'account.move' -
move_partnerBooleancompute='_compute_move_partner'precompute=Truereadonly=Falsestore=Truestring='Partner on Journal Items'tracking=True -
move_refCharcompute='_compute_move_ref'precompute=Truereadonly=Falsestore=Truestring='Reference of the Cut-off Journal Entry' -
move_reversal_idMany2one → account.movecompute='_compute_move_reversal_id'string='Cut-off Journal Entry Reversal' args: 'account.move' -
source_move_stateSelectiondefault='posted'required=Truestring='Source Entries'tracking=True args: [('posted', 'Posted Entries'), ('draft_posted', 'Draft and Posted Entries')] -
stateSelectioncopy=Falsedefault='draft'help="State of the cutoff. When the Journal Entry is created, the state is set to 'Done' and the fields become read-only."index=Truereadonly=Trueselection=[('draft', 'Draft'), ('done', 'Done')]tracking=True -
total_cutoff_amountMonetarycompute='_compute_total_cutoff'currency_field='company_currency_id'string='Total Cut-off Amount'tracking=True
-
back2draft(self) -
button_line_list(self) -
create_move(self) -
cutoff_type_label_map(self)@property -
get_lines(self)This method is designed to be inherited in other modules -
unlink(self)
New fields (20)
-
account_idMany2one → account.accountcheck_company=Truereadonly=Truerequired=True args: 'account.account', 'Account' -
amountMonetarycurrency_field='currency_id'help='Amount that is used as base to compute the Cut-off Amount.'readonly=True -
company_currency_idMany2onerelated='parent_id.company_currency_id'string='Company Currency' -
company_idMany2one → res.companyrelated='parent_id.company_id'store=True args: 'res.company' -
currency_idMany2one → res.currencyreadonly=Truestring='Currency' args: 'res.currency' -
cutoff_account_codeCharrelated='cutoff_account_id.code'string='Cut-off Account Code' -
cutoff_account_idMany2one → account.accountcheck_company=Truereadonly=Truerequired=Truestring='Cut-off Account' args: 'account.account' -
cutoff_amountMonetarycurrency_field='company_currency_id'help='Cut-off Amount without taxes in the Company Currency.'readonly=Truestring='Cut-off Amount' -
cutoff_typeSelectionrelated='parent_id.cutoff_type' -
nameCharargs: 'Description' -
notesHtml -
origin_move_dateDaterelated='origin_move_line_id.move_id.date'string='Origin Journal Entry Date' -
origin_move_idMany2onerelated='origin_move_line_id.move_id'string='Origin Journal Entry' -
origin_move_line_idMany2one → account.move.linereadonly=Truestring='Origin Journal Item' args: 'account.move.line' -
parent_idMany2one → account.cutoffondelete='cascade'string='Cut-off' args: 'account.cutoff' -
partner_idMany2one → res.partnerreadonly=Truestring='Partner' args: 'res.partner' -
price_originCharreadonly=True -
price_unitFloatdigits='Product Price'help="Price per unit (discount included) without taxes in the default unit of measure of the product in the currency of the 'Currency' field."readonly=Truestring='Unit Price w/o Tax' -
quantityFloatdigits='Product Unit of Measure'readonly=True -
tax_line_idsOne2many → account.cutoff.tax.linereadonly=Truestring='Cut-off Tax Lines' args: 'account.cutoff.tax.line', 'parent_id'
No public methods.
New fields (4)
-
account_idMany2one → account.accountcheck_company=Truedomain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"required=Truestring='Regular Account' args: 'account.account' -
company_idMany2one → res.companydefault=<expr>required=Truestring='Company' args: 'res.company' -
cutoff_account_idMany2one → account.accountcheck_company=Truedomain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"required=Truestring='Cut-off Account' args: 'account.account' -
cutoff_typeSelectiondefault='all'required=Truestring='Cut-off Type' args: [('all', 'All Cut-off Types'), ('accrued_revenue', 'Accrued Revenue'), ('accrued_expense', 'Accrued Expense'), ('prepaid_revenue', 'Prepaid Revenue'), ('prepaid_expense', 'Prepaid Expense')]
No public methods.
New fields (10)
-
amountMonetarycurrency_field='currency_id'readonly=Truestring='Tax Amount' -
baseMonetarycurrency_field='currency_id'readonly=True -
company_currency_idMany2onerelated='parent_id.company_currency_id'string='Company Currency' -
company_idMany2one → res.companyrelated='parent_id.company_id'store=True args: 'res.company' -
currency_idMany2onerelated='parent_id.currency_id'string='Currency' -
cutoff_account_idMany2one → account.accountcheck_company=Truereadonly=Truerequired=Truestring='Cut-off Account' args: 'account.account' -
cutoff_amountMonetarycurrency_field='company_currency_id'help='Tax Cut-off Amount in the company currency.'readonly=Truestring='Cut-off Tax Amount' -
parent_idMany2one → account.cutoff.lineondelete='cascade'required=Truestring='Account Cut-off Line' args: 'account.cutoff.line' -
sequenceIntegerreadonly=True -
tax_idMany2one → account.taxcheck_company=Truerequired=Truestring='Tax' args: 'account.tax'
No public methods.
New fields (2)
-
account_accrued_expense_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'domain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"string='Accrued Expense Tax Account' -
account_accrued_revenue_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'domain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"string='Accrued Revenue Tax Account'
No public methods.
New fields (10)
-
accrual_taxesBooleandefault=Truestring='Accrual On Taxes' -
default_accrued_expense_account_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'string='Default Account for Accrued Expenses' -
default_accrued_expense_tax_account_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'string='Default Tax Account for Accrued Expense' -
default_accrued_revenue_account_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'string='Default Account for Accrued Revenues' -
default_accrued_revenue_tax_account_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'string='Default Tax Account for Accrued Revenue' -
default_cutoff_journal_idMany2one → account.journalcheck_company=Truestring='Default Cut-off Journal' args: 'account.journal' -
default_cutoff_move_partnerBooleanstring='Partner on Journal Items by Default' -
default_prepaid_expense_account_idMany2one → account.accountcheck_company=Truestring='Default Account for Prepaid Expense' args: 'account.account' -
default_prepaid_revenue_account_idMany2one → account.accountcheck_company=Truestring='Default Account for Prepaid Revenue' args: 'account.account' -
post_cutoff_moveBooleanstring='Post Cut-off Journal Entry'
No public methods.
New fields (10)
-
accrual_taxesBooleanreadonly=Falserelated='company_id.accrual_taxes' -
dft_accrued_expense_account_idMany2onedomain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"readonly=Falserelated='company_id.default_accrued_expense_account_id' -
dft_accrued_expense_tax_account_idMany2onedomain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"readonly=Falserelated='company_id.default_accrued_expense_tax_account_id' -
dft_accrued_revenue_account_idMany2onedomain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"readonly=Falserelated='company_id.default_accrued_revenue_account_id' -
dft_accrued_revenue_tax_account_idMany2onedomain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"readonly=Falserelated='company_id.default_accrued_revenue_tax_account_id' -
dft_cutoff_journal_idMany2onedomain="[('type', '=', 'general'), ('company_id', '=', company_id)]"readonly=Falserelated='company_id.default_cutoff_journal_id' -
dft_cutoff_move_partnerBooleanreadonly=Falserelated='company_id.default_cutoff_move_partner' -
dft_prepaid_expense_account_idMany2onedomain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"readonly=Falserelated='company_id.default_prepaid_expense_account_id' -
dft_prepaid_revenue_account_idMany2onedomain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]"readonly=Falserelated='company_id.default_prepaid_revenue_account_id' -
post_cutoff_moveBooleanreadonly=Falserelated='company_id.post_cutoff_move'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…