TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/l10n-romania · module folder · Try on Runboat
Module version
Category
Accounting
Folder size
0.11 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-romania
Last tracking update
2026-09-23 17:36:45
Authors
Odoo Community Association (OCA), NextERP Romania, Terrabit
Maintainers
Odoo Community Association (OCA), NextERP Romania, Terrabit
Committers
Mihai Fekete, Weblate, OCA-git-bot, oca-ci, stananatanaela, Debora7
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_ro_payment_receipt_report
Description
Keeps the cash register (registru de casa) of a cash journal.

Every payment posted in a cash journal set to keep a register is added to
the register of its day, which is opened when it does not exist yet.

The payment and its register line are two entries: the payment moves the
money to the account of its payment method (4111 = 581), the line of the
register brings it into the cash account (5311 = 581), and the module
reconciles the two with each other. So the line never has to be
reconciled by hand, and the register shows the cash as it moves.

The module also numbers the documents of a cash journal with sequences of
its own, instead of letting Odoo build the numbers: receipt (chitanta),
cash in and cash out slips (dispozitie de incasare / de plata) and the
register itself.

A sequence can be set on any other journal as well, in *Journal sequence*,
and the entries of that journal are then numbered from it: the invoices of
a sale journal, the bills of a purchase one, the entries of a
miscellaneous one.

Code Analysis info_outline

Views touched (2)
XML IDNameModelTypeStatus
view_account_journal_form l10n.ro.account.journal.form account.journal form Inherits account.view_account_journal_form
view_account_payment_form l10n.ro.account.payment.form account.payment form Inherits account.view_account_payment_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • is_l10n_ro_payment_disposal Boolean
Public methods (0)

No public methods.

New fields (6)
  • l10n_ro_auto_statement Boolean
    help='Automatically add the payments of this cash journal to the cash register (statement) of their day' string='Romania - Auto Statement'
  • l10n_ro_cash_in_sequence_id Many2one → ir.sequence
    copy=False help='Sequence used for cash in operations' string='Romania - Sequence cash in' args: 'ir.sequence'
  • l10n_ro_cash_out_sequence_id Many2one → ir.sequence
    copy=False help='Sequence used for cash out operations' string='Romania - Sequence cash out' args: 'ir.sequence'
  • l10n_ro_customer_cash_in_sequence_id Many2one → ir.sequence
    copy=False help='Sequence used for customer cash in operations (customer payments)' string='Romania - Customer sequence cash in' args: 'ir.sequence'
  • l10n_ro_journal_sequence_id Many2one → ir.sequence
    copy=False help='Sequence used for other (closing, line) account move names' string='Romania - Sequence Journal' args: 'ir.sequence'
  • l10n_ro_statement_sequence_id Many2one → ir.sequence
    copy=False help='Sequence used for statement name' string='Romania - Statement Sequence' args: 'ir.sequence'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (2)
  • get_l10n_ro_sequence(self)
    Sequence giving the number of a Romanian cash entry.
  • write(self, vals)

New fields (2)
  • l10n_ro_statement_id Many2one → account.bank.statement
    domain="[('journal_id','=',journal_id)]" string='Romania - Statement' args: 'account.bank.statement'
  • l10n_ro_statement_line_id Many2one → account.bank.statement.line
    domain="[('l10n_ro_statement_id','=',statement_id)]" readonly=True string='Statement Line' args: 'account.bank.statement.line'
Public methods (6)
  • action_cancel(self)
  • action_draft(self)
  • action_post(self)
  • create(self, vals_list)
    @api.model_create_multi
  • l10n_ro_force_cash_sequence(self)
  • unlink(self)

Loading…

Loading…

Loading…

Loading…

Loading…