Point Of Sale - Backup Draft Orders
pos_backup_draft_orders · OCA/pos
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 140 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.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.02 MB
Module directory on disk
Code analysis
2 migration notes
1 model
0 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
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv.orm`) 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
Allow users to backup draft orders in Point Of Sale (Front end)
Functionality:
* Allow user to backup in the backoffice side orders selected in front-end;
Copyright, Authors and Licence:
* Copyright: 2014, GRAP: Groupement Régional Alimentaire de Proximité;
* Author:
* Julien WESTE;
* Sylvain LE GAL (https://twitter.com/legalsylvain);
* Licence: AGPL-3 (http://www.gnu.org/licenses/);
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (0)
No new fields.
Public methods (1)-
create_from_ui(self, cr, uid, orders, context=None)- remove from the 'orders' list all orders where amount_return is < 0 (because that means they are not paid, but just saved) and put them in a 'saved_orders' list - call a specific function for the 'saved_orders' list - call the parent create_from_ui() for the remaining orders