Account Cut-off Prepaid

account_cutoff_prepaid
REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/13.0/account_cutoff_prepaid
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, GitHub, OCA Transbot, JordiMForgeFlow, oca-travis, Weblate, OCA-git-bot, jim.hoefnagels
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - 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 (6)
XML IDNameModelTypeStatus
account_cutoff_filter prepaid.account.cutoff.prepaid.search account.cutoff filter Inherits account_cutoff_base.account_cutoff_filter
account_cutoff_form account.cutoff.prepaid.form account.cutoff button Inherits account_cutoff_base.account_cutoff_form
account_cutoff_line_form account.cutoff.line.prepaid.form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line.prepaid.tree account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_tree
account_cutoff_tree account.cutoff.prepaid.tree account.cutoff field Inherits account_cutoff_base.account_cutoff_tree
res_config_settings_view_form accrual.base.account.config.form res.config.settings div Inherits account_cutoff_base.res_config_settings_view_form
Models touched (4)

New fields (4)
  • end_date Date
  • forecast Boolean
    help='The Forecast mode allows the user to compute the prepaid revenue/expense between 2 dates in the future.' readonly=True tracking=True
  • source_journal_ids Many2many → account.journal
    column1='cutoff_id' column2='journal_id' default=<expr> readonly=True states={'draft': [('readonly', False)]} string='Source Journals' args: 'account.journal'
  • start_date Date
Public methods (3)
  • forecast_disable(self)
  • forecast_enable(self)
  • get_lines(self)

New fields (7)
  • end_date Date
    readonly=True
  • move_date Date
    related='move_line_id.move_id.date' string='Entry Date'
  • move_id Many2one
    related='move_line_id.move_id' string='Journal Entry'
  • move_line_id Many2one → account.move.line
    string='Journal Item' args: 'account.move.line'
  • prepaid_days Integer
    help='In regular mode, this is the number of days after the cut-off date. In forecast mode, this is the number of days between the start date and the end date.' readonly=True
  • start_date Date
    readonly=True
  • total_days Integer
    readonly=True args: 'Total Days'
Public methods (0)

No public methods.

New fields (2)
  • default_prepaid_expense_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Expense' args: 'account.account'
  • default_prepaid_revenue_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Revenue' args: 'account.account'
Public methods (0)

No public methods.

New fields (2)
  • dft_prepaid_expense_account_id Many2one
    readonly=False related='company_id.default_prepaid_expense_account_id'
  • dft_prepaid_revenue_account_id Many2one
    readonly=False related='company_id.default_prepaid_revenue_account_id'
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/12.0/account_cutoff_prepaid
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
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, GitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Jim Hoefnagels
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_base
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
account_cutoff_filter prepaid.account.cutoff.prepaid.search account.cutoff filter Inherits account_cutoff_base.account_cutoff_filter
account_cutoff_form account.cutoff.prepaid.form account.cutoff field Inherits account_cutoff_base.account_cutoff_form
account_cutoff_line_form account.cutoff.line.prepaid.form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line.prepaid.tree account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_tree
account_cutoff_tree account.cutoff.prepaid.tree account.cutoff field Inherits account_cutoff_base.account_cutoff_tree
res_config_settings_view_form accrual.base.account.config.form res.config.settings field Inherits account_cutoff_base.res_config_settings_view_form
Models touched (4)

New fields (4)
  • end_date Date
  • forecast Boolean
    help='The Forecast mode allows the user to compute the prepaid revenue/expense between 2 dates in the future.' readonly=True states={'draft': [('readonly', False)]}
  • source_journal_ids Many2many → account.journal
    column1='cutoff_id' column2='journal_id' default=<expr> readonly=True states={'draft': [('readonly', False)]} string='Source Journals' args: 'account.journal'
  • start_date Date
Public methods (2)
  • get_lines(self)
  • onchange_forecast(self)
    @api.onchange('forecast')

New fields (7)
  • end_date Date
    readonly=True
  • invoice_id Many2one
    readonly=True related='move_line_id.invoice_id' string='Invoice'
  • move_date Date
    readonly=True related='move_line_id.date' string='Account Move Date'
  • move_line_id Many2one → account.move.line
    readonly=True string='Account Move Line' args: 'account.move.line'
  • prepaid_days Integer
    help='In regular mode, this is the number of days after the cut-off date. In forecast mode, this is the number of days between the start date and the end date.' readonly=True
  • start_date Date
    readonly=True
  • total_days Integer
    readonly=True args: 'Total Number of Days'
Public methods (0)

No public methods.

New fields (2)
  • default_prepaid_expense_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Expense' args: 'account.account'
  • default_prepaid_revenue_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Revenue' args: 'account.account'
Public methods (0)

No public methods.

New fields (2)
  • dft_prepaid_expense_account_id Many2one
    readonly=False related='company_id.default_prepaid_expense_account_id'
  • dft_prepaid_revenue_account_id Many2one
    readonly=False related='company_id.default_prepaid_revenue_account_id'
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/11.0/account_cutoff_prepaid
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, mpanarin
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_base
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
account_cutoff_filter prepaid.account.cutoff.prepaid.search account.cutoff filter Inherits account_cutoff_base.account_cutoff_filter
account_cutoff_form account.cutoff.prepaid.form account.cutoff field Inherits account_cutoff_base.account_cutoff_form
account_cutoff_line_form account.cutoff.line.prepaid.form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line.prepaid.tree account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_tree
account_cutoff_tree account.cutoff.prepaid.tree account.cutoff field Inherits account_cutoff_base.account_cutoff_tree
view_company_form account.prepaid.cutoff.company.form res.company field Inherits account_cutoff_base.view_company_form
Models touched (3)

New fields (4)
  • end_date Date
    string='End Date'
  • forecast Boolean
    help='The Forecast mode allows the user to compute the prepaid revenue/expense between 2 dates in the future.' readonly=True states={'draft': [('readonly', False)]} string='Forecast'
  • source_journal_ids Many2many → account.journal
    column1='cutoff_id' column2='journal_id' default=<expr> readonly=True states={'draft': [('readonly', False)]} string='Source Journals' args: 'account.journal'
  • start_date Date
    string='Start Date'
Public methods (3)
  • create(self, vals)
    @api.model
  • get_prepaid_lines(self)
    @api.multi
  • onchange_forecast(self)
    @api.onchange('forecast')

New fields (7)
  • end_date Date
    readonly=True string='End Date'
  • invoice_id Many2one
    readonly=True related='move_line_id.invoice_id' string='Invoice'
  • move_date Date
    readonly=True related='move_line_id.date' string='Account Move Date'
  • move_line_id Many2one → account.move.line
    readonly=True string='Account Move Line' args: 'account.move.line'
  • prepaid_days Integer
    help='In regular mode, this is the number of days after the cut-off date. In forecast mode, this is the number of days between the start date and the end date.' readonly=True string='Prepaid Days'
  • start_date Date
    readonly=True string='Start Date'
  • total_days Integer
    readonly=True args: 'Total Number of Days'
Public methods (0)

No public methods.

New fields (2)
  • default_prepaid_expense_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Expense' args: 'account.account'
  • default_prepaid_revenue_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Revenue' args: 'account.account'
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_prepaid
VERSION
VERSION 1.1.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, Pedro M. Baeza, GitHub, OCA Transbot, Adrien Peiffer (ACSONE), oca-travis, Weblate
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_base
    - account_invoice_start_end_dates
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 (6)
XML IDNameModelTypeStatus
account_cutoff_filter prepaid.account.cutoff.prepaid.search account.cutoff filter Inherits account_cutoff_base.account_cutoff_filter
account_cutoff_form account.cutoff.prepaid.form account.cutoff field Inherits account_cutoff_base.account_cutoff_form
account_cutoff_line_form account.cutoff.line.prepaid.form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line.prepaid.tree account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_tree
account_cutoff_tree account.cutoff.prepaid.tree account.cutoff field Inherits account_cutoff_base.account_cutoff_tree
view_account_config_settings account.prepaid.cutoff.config.form account.config.settings field Inherits account_cutoff_base.view_account_config_settings
Models touched (4)

New fields (2)
  • default_prepaid_expense_account_id Many2one
    related='company_id.default_prepaid_expense_account_id'
  • default_prepaid_revenue_account_id Many2one
    related='company_id.default_prepaid_revenue_account_id'
Public methods (0)

No public methods.

New fields (4)
  • end_date Date
    string='End Date'
  • forecast Boolean
    help='The Forecast mode allows the user to compute the prepaid revenue/expense between 2 dates in the future.' readonly=True states={'draft': [('readonly', False)]} string='Forecast'
  • source_journal_ids Many2many → account.journal
    column1='cutoff_id' column2='journal_id' default=<expr> readonly=True states={'draft': [('readonly', False)]} string='Source Journals' args: 'account.journal'
  • start_date Date
    string='Start Date'
Public methods (2)
  • forecast_onchange(self)
    @api.onchange('forecast')
  • get_lines(self)

New fields (7)
  • end_date Date
    readonly=True string='End Date'
  • invoice_id Many2one
    readonly=True related='move_line_id.invoice_id' string='Invoice'
  • move_date Date
    readonly=True related='move_line_id.date' string='Account Move Date'
  • move_line_id Many2one → account.move.line
    readonly=True string='Account Move Line' args: 'account.move.line'
  • prepaid_days Integer
    help='On a prepaid revenue/expense, this is the number of days after the cut-off date (in forecast mode, this is the number of days between the start date and the end date). In accrued revenue/expense, this is the number of days before the cut-off date.' readonly=True string='Cutoff Days'
  • start_date Date
    readonly=True string='Start Date'
  • total_days Integer
    readonly=True args: 'Total Number of Days'
Public methods (0)

No public methods.

New fields (2)
  • default_prepaid_expense_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Expense' args: 'account.account'
  • default_prepaid_revenue_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Revenue' args: 'account.account'
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/9.0/account_cutoff_prepaid
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
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, Pedro M. Baeza, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_base
    - account_invoice_start_end_dates
odoo/odoo:
    - account_accountant
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
account_cutoff_filter prepaid.account.cutoff.prepaid.search account.cutoff filter Inherits account_cutoff_base.account_cutoff_filter
account_cutoff_form account.cutoff.prepaid.form account.cutoff field Inherits account_cutoff_base.account_cutoff_form
account_cutoff_line_form account.cutoff.line.prepaid.form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line.prepaid.tree account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_tree
account_cutoff_tree account.cutoff.prepaid.tree account.cutoff field Inherits account_cutoff_base.account_cutoff_tree
view_company_form account.prepaid.cutoff.company.form res.company field Inherits account_cutoff_base.view_company_form
Models touched (3)

New fields (4)
  • end_date Date
    string='End Date'
  • forecast Boolean
    help='The Forecast mode allows the user to compute the prepaid revenue/expense between 2 dates in the future.' readonly=True states={'draft': [('readonly', False)]} string='Forecast'
  • source_journal_ids Many2many → account.journal
    default=_get_default_source_journals id1='cutoff_id' id2='journal_id' readonly=True states={'draft': [('readonly', False)]} string='Source Journals' args: 'account.journal'
  • start_date Date
    string='Start Date'
Public methods (2)
  • forecast_onchange(self)
    @api.onchange('forecast')
  • get_prepaid_lines(self)
    @api.multi

New fields (7)
  • end_date Date
    readonly=True string='End Date'
  • invoice_id Many2one
    readonly=True related='move_line_id.invoice_id' string='Invoice'
  • move_date Date
    readonly=True related='move_line_id.date' string='Account Move Date'
  • move_line_id Many2one → account.move.line
    readonly=True string='Account Move Line' args: 'account.move.line'
  • prepaid_days Integer
    help='In regular mode, this is the number of days after the cut-off date. In forecast mode, this is the number of days between the start date and the end date.' readonly=True string='Prepaid Days'
  • start_date Date
    readonly=True string='Start Date'
  • total_days Integer
    readonly=True args: 'Total Number of Days'
Public methods (0)

No public methods.

New fields (2)
  • default_prepaid_expense_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Expense' args: 'account.account'
  • default_prepaid_revenue_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Revenue' args: 'account.account'
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/8.0/account_cutoff_prepaid
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Alexandre Fayolle, Pedro M. Baeza, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Adrien Peiffer (ACSONE), oca-travis, Weblate, Daniel Rodriguez
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_base
OCA/account-financial-tools:
    - account_reversal
odoo/odoo:
    - account_accountant
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
account_cutoff_form account.cutoff.prepaid.form account.cutoff button Inherits account_cutoff_base.account_cutoff_form
account_cutoff_line_form account.cutoff.line.prepaid.form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line.prepaid.tree account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_tree
invoice_form prepaid.cutoff.invoice_form account.invoice xpath Inherits account.invoice_form
invoice_supplier_form prepaid.cutoff.invoice_supplier_form account.invoice xpath Inherits account.invoice_supplier_form
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_company_form account.prepaid.cutoff.company.form res.company xpath Inherits account_cutoff_base.view_company_form
view_invoice_line_form prepaid.cutoff.invoice_line_form account.invoice.line xpath Inherits account.view_invoice_line_form
view_move_form prepaid.cutoff.start.end.date.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form prepaid.cutoff.start.end.date.view_move_line_form account.move.line field Inherits account.view_move_line_form
view_move_line_form2 prepaid.cutoff.start.end.date.view_move_line_form2 account.move.line field Inherits account.view_move_line_form2
Models touched (7)

New fields (0)

No new fields.

Public methods (1)
  • get_prepaid_lines(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • action_move_create(self)
    @api.multi
    Check that products with must_have_dates=True have Start and End Dates
  • inv_line_characteristic_hashcode(self, invoice_line)
    Add start and end dates to hashcode used when the option "Group Invoice Lines" is active on the Account Journal
  • line_get_convert(self, line, part, date)
    @api.model

New fields (2)
  • end_date Date
    args: 'End Date'
  • start_date Date
    args: 'Start Date'
Public methods (1)
  • move_line_get_item(self, line)
    @api.model

New fields (2)
  • end_date Date
    args: 'End Date'
  • start_date Date
    args: 'Start Date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

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/7.0/account_cutoff_prepaid
VERSION
VERSION 0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Alexandre Fayolle, Pedro M. Baeza, Rudolf Schnapka
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_base
odoo/odoo:
    - account_accountant
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Manage prepaid expense and revenue based on start and end dates
===============================================================

This module adds a **Start Date** and **End Date** field on invoice lines. For
example, if you have an insurance contrat for your company that run from April
1st 2013 to March 31st 2014, you will enter these dates as start and end dates
on the supplier invoice line. If your fiscal year ends on December 31st 2013,
3 months of expenses are part of the 2014 fiscal year and should not be part of
the 2013 fiscal year. So, thanks to this module, you will create a *Prepaid
Expense* on December 31st 2013 and OpenERP will identify this expense with the
3 months that are after the cut-off date and propose to generate the
appropriate cut-off journal entry.

Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com>
for any help or question about this module.
    

Code Analysis

Views touched (12)
XML IDNameModelTypeStatus
account_cutoff_form account.cutoff.prepaid.form account.cutoff button Inherits account_cutoff_base.account_cutoff_form
account_cutoff_line_form account.cutoff.line.prepaid.form account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line.prepaid.tree account.cutoff.line field Inherits account_cutoff_base.account_cutoff_line_tree
invoice_form prepaid.cutoff.invoice_form account.invoice xpath Inherits account.invoice_form
invoice_supplier_form prepaid.cutoff.invoice_supplier_form account.invoice xpath Inherits account.invoice_supplier_form
product_normal_form_view add.must.have.dates.on.product.product.form product.product group Inherits account.product_normal_form_view
product_template_form_view add.must.have.dates.on.product.template.form product.template separator Inherits account.product_template_form_view
view_company_form account.prepaid.cutoff.company.form res.company field Inherits account_cutoff_base.view_company_form
view_invoice_line_form prepaid.cutoff.invoice_line_form account.invoice.line xpath Inherits account.view_invoice_line_form
view_move_form prepaid.cutoff.start.end.date.view_move_form account.move field Inherits account.view_move_form
view_move_line_form prepaid.cutoff.start.end.date.view_move_line_form account.move.line field Inherits account.view_move_line_form
view_move_line_form2 prepaid.cutoff.start.end.date.view_move_line_form2 account.move.line field Inherits account.view_move_line_form2
Models touched (7)

New fields (0)

No new fields.

Public methods (1)
  • get_prepaid_lines(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • action_move_create(self, cr, uid, ids, context=None)
    Check that products with must_have_dates=True have Start and End Dates
  • inv_line_characteristic_hashcode(self, invoice, invoice_line)
    Add start and end dates to hashcode used when the option "Group Invoice Lines" is active on the Account Journal
  • line_get_convert(self, cr, uid, x, part, date, context=None)

New fields (0)

No new fields.

Public methods (1)
  • move_line_get_item(self, cr, uid, line, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.