Romania - Payment to Statement
l10n_ro_payment_to_statement · OCA/l10n-romania
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 7 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
No new fields.
Public methods (1)-
create(self, vals_list)@api.model_create_multi
-
is_l10n_ro_payment_disposalBoolean
No public methods.
-
l10n_ro_auto_statementBooleanhelp='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_idMany2one → ir.sequencecopy=Falsehelp='Sequence used for cash in operations'string='Romania - Sequence cash in' args: 'ir.sequence' -
l10n_ro_cash_out_sequence_idMany2one → ir.sequencecopy=Falsehelp='Sequence used for cash out operations'string='Romania - Sequence cash out' args: 'ir.sequence' -
l10n_ro_customer_cash_in_sequence_idMany2one → ir.sequencecopy=Falsehelp='Sequence used for customer cash in operations (customer payments)'string='Romania - Customer sequence cash in' args: 'ir.sequence' -
l10n_ro_journal_sequence_idMany2one → ir.sequencecopy=Falsehelp='Sequence used for other (closing, line) account move names'string='Romania - Sequence Journal' args: 'ir.sequence' -
l10n_ro_statement_sequence_idMany2one → ir.sequencecopy=Falsehelp='Sequence used for statement name'string='Romania - Statement Sequence' args: 'ir.sequence'
-
create(self, vals_list)@api.model_create_multi
No new fields.
Public methods (2)-
get_l10n_ro_sequence(self)Sequence giving the number of a Romanian cash entry. -
write(self, vals)
-
l10n_ro_statement_idMany2one → account.bank.statementdomain="[('journal_id','=',journal_id)]"string='Romania - Statement' args: 'account.bank.statement' -
l10n_ro_statement_line_idMany2one → account.bank.statement.linedomain="[('l10n_ro_statement_id','=',statement_id)]"readonly=Truestring='Statement Line' args: 'account.bank.statement.line'
-
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…
Loading…