Disable Pricelist selection button in POS
pos_disable_pricelist_selection · OCA/pos
Health
41/100
poor
-
Security25/25No findings
-
Activity6/25Last human commit 33 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.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
LGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
1 migration note
1 model
2 views
0 HTTP endpoints
Migration considerations
pos_config_view_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 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets |
assets | ir.ui.view | qweb | Inherits point_of_sale.assets |
pos_config_view_form |
pos.config.form.view | pos.config | form | Inherits point_of_sale.pos_config_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (3)
-
hide_pricelist_buttonBooleandefault=False -
pricelist_id_domainBinarycompute='_compute_pricelist_id_domain'readonly=Truestore=False -
selectable_pricelist_idsMany2many → product.pricelistdefault=_default_pricelistdomain="[('id', 'in', available_pricelist_ids)]"relation='pos_conf_selectable_pricelist_rel'string='Selectable Pricelists' args: 'product.pricelist'
-
onchange_available_pricelist_ids(self)@api.onchange('available_pricelist_ids') -
onchange_hide_pricelist_button(self)@api.onchange('hide_pricelist_button') -
onchange_selectable_pricelist_ids(self)@api.onchange('selectable_pricelist_ids') -
write(self, vals)