Point Of Sale - Multiple Cash Control
pos_multiple_control · OCA/pos
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 53 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
3.79 MB
Module directory on disk
Code analysis
7 migration notes
9 models
7 views
0 HTTP endpoints
Migration considerations
AccountBankStatement— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (6 methods) migration-api-multi-one · sourcePosConfig— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcePosSession— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (12 methods) migration-api-multi-one · sourceWizardUpdateBankStatement— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) (3 occurrences in this file) migration-api-multi-one · sourceview_account_journal_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_pos_session_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_wizard_update_bank_statement_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_bank_statement_cashbox_form |
account.bank.statement.cashbox | form | New | |
view_account_journal_form |
account.journal | form | Inherits account.view_account_journal_form | |
view_account_journal_tree |
account.journal | tree | Inherits account.view_account_journal_tree | |
view_pos_config_form |
pos.config | form | Inherits point_of_sale.pos_config_view_form | |
view_pos_config_kanban |
pos.config | kanban | Inherits point_of_sale.view_pos_config_kanban | |
view_pos_session_form |
pos.session | form | Inherits point_of_sale.view_pos_session_form | |
view_wizard_update_bank_statement_form |
wizard.update.bank.statement | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 9
New fields (7)
-
cashbox_endingMany2one → account.bank.statement.cashboxcomodel_name='account.bank.statement.cashbox'string='Cashbox end' -
cashbox_startingMany2one → account.bank.statement.cashboxcomodel_name='account.bank.statement.cashbox'string='Cashbox start' -
control_balanceFloatcompute='_compute_control_balance'digits=dp.get_precision('Account')string='Controled Balance' -
control_differenceFloatcompute='_compute_control_difference'digits=dp.get_precision('Account')string='Control Difference' -
display_autosolveBooleancompute='_compute_display_autosolve'string='Display autosolve' -
is_pos_controlBooleancompute='_compute_is_pos_control'store=Truestring='Pos control Bank statement' -
pos_session_stateCharcompute='_compute_pos_session_state'string='Pos session state'
-
automatic_solve(self)@api.multi@api.depends('pos_session_state') -
open_cashbox_balance(self, balance_moment) -
open_cashbox_ending_balance(self) -
open_cashbox_starting_balance(self)
New fields (2)
-
is_patternBooleandefault=Falsestring='Is a selectable pattern' -
nameCharstring='Name'
No public methods.
New fields (2)
-
balance_momentSelectiondefault='bydefault'selection=_BALANCE_MOMENT_SELECTIONstring='Balance moment' -
numberIntegerdefault=1
No public methods.
New fields (2)
-
cashbox_defaultMany2one → account.bank.statement.cashboxcomodel_name='account.bank.statement.cashbox'string='Cashbox Defaut' -
pos_controlBooleandefault=Falsehelp='If you want this journal to be controled at closing of point of sale, check this option'string='POS Journal Control'
-
onchange_type(self)@api.onchange('type')
New fields (2)
-
autosolve_limitFloatdefault=20description='Limit for autosolving bank statement'string='Autosolve limit' -
autosolve_pos_move_reasonMany2one → pos.move.reasoncomodel_name='pos.move.reason'default=''description='Product used to autosolve control difference'domain="['|', ('is_income_reason', '=', True), ('is_expense_reason', '=', True)]"string='Autosolve pos move reason'
-
open_new_session(self, openui)@api.multi
New fields (8)
-
control_register_balanceFloatcompute='_compute_control_register_balance'string='Real Closing Balances' -
control_register_balance_endFloatcompute='_compute_control_register_balance_end'string='Theoretical Closing Balances' -
control_register_balance_startFloatcompute='_compute_control_register_balance_start'string='Opening Balances' -
control_register_differenceFloatcompute='_compute_control_register_difference'string='Total difference' -
control_register_total_entry_encodingFloatcompute='_compute_control_register_total_entry_encoding'string='Transactions' -
control_statement_idsOne2many → account.bank.statementcomodel_name='account.bank.statement'related='statement_ids'string='Control statements' -
statement_idsOne2manyreadonly=False -
summary_statement_idsOne2many → account.bank.statementcomodel_name='account.bank.statement'related='statement_ids'string='Summary statements'
-
action_pos_session_closing_control(self)@api.multi -
action_pos_session_new_session(self)@api.multi -
action_pos_session_validate(self)@api.multi -
open_cashbox_opening(self)@api.multi -
wkf_action_closing_control(self)@api.multi
New fields (12)
-
balance_endMonetarycompute='_compute_balance_end'default=0.0string='Computed Balance' -
balance_end_realMonetarycompute='_compute_balance_end_real'default=0.0string='Real End Balance' -
balance_momentSelectiondefault='bydefault'selection=_BALANCE_MOMENT_SELECTIONstring='Balance moment' -
balance_startMonetarycompute='_compute_balance_start'default=0.0string='Starting Balance' -
balance_start_realMonetarycompute='_compute_balance_start_real'default=0.0string='Real Start Balance' -
cashbox_linesOne2many → wizard.update.cashbox.linecomodel_name='wizard.update.cashbox.line'default=_default_cashbox_linesinverse_name='wiz_id' -
currency_idMany2one → res.currencycomodel_name='res.currency'related='statement_id.currency_id' -
journal_idMany2one → account.journalcomodel_name='account.journal'related='statement_id.journal_id' -
nameCharrelated='statement_id.name' -
session_idMany2one → pos.sessioncomodel_name='pos.session'default=_default_session_idreadonly=Truerequired=Truestring='Current Session' -
statement_idMany2one → account.bank.statementcomodel_name='account.bank.statement' -
total_entry_encodingMonetaryrelated='statement_id.total_entry_encoding'
-
action_confirm(self)@api.multi -
default_get(self, flds)@api.model
New fields (2)
-
cashbox_lines_idsOne2many → wizard.update.cashbox.linecomodel_name='wizard.update.cashbox.line'inverse_name='cashbox_id'string='Cashbox Lines' -
totalFloatcompute='_total'digits=0readonly=Truestring='Total'
No public methods.
New fields (7)
-
balance_momentSelectionrelated='wiz_id.balance_moment'string='Balance moment' -
cashbox_idMany2one → wizard.update.cashboxcomodel_name='wizard.update.cashbox'string='Cashbox' -
coin_valueFloatdigits=0required=Truestring='Coin/Bill Value' -
currency_idMany2one → res.currencycomodel_name='res.currency'related='wiz_id.currency_id' -
numberIntegerdefault=1help='Opening Unit Numbers'string='Number of Coins/Bills' -
subtotalFloatcompute='_sub_total'digits=0readonly=Truestring='Subtotal' -
wiz_idMany2one → wizard.update.bank.statementcomodel_name='wizard.update.bank.statement'string='Wizard'
No public methods.