POS Remove POS Category
pos_remove_pos_category · OCA/pos
Health
64/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 30 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 8.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
0.03 MB
Module directory on disk
Code analysis
2 migration notes
3 models
4 views
0 HTTP endpoints
Migration considerations
ProductTemplate— 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) (2 occurrences in this file) migration-api-multi-one · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE product_template SET pos_categ_id=NULL` - re-check the table/column names still match after upgrading. (3 occurrences in this file) migration-raw-sql-write · 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 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets |
assets | ir.ui.view | qweb | Inherits point_of_sale.assets |
product_category_form_view |
product.category | form | Inherits product.product_category_form_view | |
product_category_list_view |
product.category | list | Inherits product.product_category_list_view | |
product_template_form_view |
hide.pos_categ_id.product.template.form | product.template | form | Inherits point_of_sale.product_template_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (1)-
module_uninstall(self)
New fields (3)
-
available_in_posBooleandefault=Truehelp='Check if you want this category to appear in Point Of Sale.\nIf you uncheck, children categories will becomes invisible too, whatever their checkbox state.'string='Available in the Point of Sale' -
imageBinaryhelp='Show Image Category in Form View' -
image_mediumBinarycompute='_compute_image'help='Show image category button in POS'inverse='_set_image'store=True
No public methods.
New fields (1)
-
pos_categ_idMany2one → product.categoryrelated='categ_id'search='_search_pos_categ_id'store=False args: 'product.category'
-
create(self, vals)@api.model -
write(self, vals)@api.multi
Loading…
Loading…