Repository
OCA/l10n-romania · module folder · Try on Runboat
Module version
1.1.0
Category
Localization
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-romania
Last tracking update
2026-08-07 09:06:35
Authors
Odoo Community Association (OCA), Forest and Biomass Romania, NextERP Romania
Maintainers
Odoo Community Association (OCA), Forest and Biomass Romania, NextERP Romania
Committers
Weblate, OCA-git-bot, oca-ci, Debora7
Odoo dependencies
Python dependencies
python-dateutil
System dependencies
None
Required by
None
Description
This module allows you to close incomes, expense, vat between two dates.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_account_form account.account.form account.account form Inherits account.view_account_form
view_account_period_closing_wizard l10n.ro.account.period.closing.wizard l10n.ro.account.period.closing.wizard form New
view_l10n_ro_account_period_closing_form l10n.ro.account.period.closing.form l10n.ro.account.period.closing form New
view_l10n_ro_account_period_closing_tree l10n.ro.account.period.closing.tree l10n.ro.account.period.closing list New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • l10n_ro_close_check Boolean
    help='By checking this when you close a period, it will not respect the side of closing, meaning: expenses closed on credit side, incomed closed on debit side. \n You should check the 711xxx accounts.' string='Romania - Bypass Closing Side Check'
Public methods (0)

No public methods.

New fields (2)
  • l10n_ro_close_id Many2one → l10n.ro.account.period.closing
    string='Romania - Closed Account Period' args: 'l10n.ro.account.period.closing'
  • l10n_ro_closing_move Boolean
    string='Romania - Is Closing Move'
Public methods (0)

No public methods.

New fields (9)
  • account_ids Many2many → account.account
    string='Accounts to close' args: 'account.account'
  • close_result Boolean
    args: 'Close debit and credit accounts'
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • credit_account_id Many2one → account.account
    check_company=True required=True args: 'account.account', 'Closing account, credit'
  • debit_account_id Many2one → account.account
    check_company=True required=True args: 'account.account', 'Closing account, debit'
  • journal_id Many2one → account.journal
    required=True string='Journal' args: 'account.journal'
  • move_ids One2many → account.move
    domain=[('state', '!=', 'cancel')] args: 'account.move', 'l10n_ro_close_id', 'Closing Moves'
  • name Char
    required=True
  • type Selection
    required=True args: [('income', 'Incomes'), ('expense', 'Expenses'), ('selected', 'Selected')]
Public methods (1)
  • close(self, journal_id=None, date_from=None, date_to=None)
    This method will create the closing move for the date interval selected.

New fields (5)
  • closing_id Many2one → l10n.ro.account.period.closing
    ondelete='cascade' required=True args: 'l10n.ro.account.period.closing', 'Closing Model'
  • company_id Many2one → res.company
    comodel_name='res.company' related='closing_id.company_id'
  • date_from Date
    default=<expr> required=True args: 'Start Date'
  • date_to Date
    default=<expr> required=True args: 'End Date'
  • journal_id Many2one → account.journal
    comodel_name='account.journal'
Public methods (2)
  • do_close(self)
  • onchange_closing_id(self)
    @api.onchange('closing_id')
    Handle closing_id change.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…