TIP: You can type at any time to perform a new search.
Disable Pricelist selection button in POS
pos_disable_pricelist_selection · OCA/pos
- Repository
- OCA/pos · module folder · Try on Runboat
- Module version
- 2.0.1
- Category
- Purchase
- Folder size
- 0.04 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/pos
- Last tracking update
- 2026-08-07 07:47:37
- Authors
- Odoo Community Association (OCA), Cetmix, Ooops
- Maintainers
- Odoo Community Association (OCA), Cetmix, Ooops
- Committers
- Ivàn Todorovich, Weblate, OCA Transbot, OCA-git-bot, oca-ci, Ilyas, yartsev, diga
Code Analysis ⓘ
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)