Point Of Sale - Store Draft Orders
pos_store_draft_order · OCA/pos
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 88 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis
6 migration notes
3 models
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
PosOrder— 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. (2 methods) migration-api-multi-one · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · 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 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
pos_config_view_form |
pos.config | form | Inherits point_of_sale.view_pos_config_form | |
pos_order_view_form |
pos.order | form | Inherits point_of_sale.view_pos_order_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
allow_store_draft_orderBooleanhelp='If you check this field, users will have the possibility to let some PoS orders in a draft state, and allow the customer to paid later.\nOrder in a draft state will not generate entries during the close of the session.'string='Allow to Store Draft Orders'
No public methods.
New fields (1)
-
is_partial_paidBooleancompute='compute_is_partial_paid'store=Truestring='Is Partially Paid'
-
compute_is_partial_paid(self)@api.one@api.depends('state', 'statement_ids')
New fields (0)
No new fields.
Public methods (2)-
create(self, vals)@api.modelRecover all PoS Order in 'draft' state and associate them to the new Pos Session -
wkf_action_closing_control(self)@api.multiRemove all PoS Orders in 'draft' to the sessions we want to close. Check if there is any Partial Paid Orders