TIP: You can type at any time to perform a new search.
Pos to weight by product uom
pos_to_weight_by_product_uom · OCA/pos
Security findings
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE uom_category SET to_weight = true WHERE id = ( SELECT res_id FROM ir_model_data WHERE module = 'uom' AND name = 'product_uom_categ_kgm' );` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE product_template SET to_weight = true FROM uom_uom, uom_category WHERE uom_uom.id = product_template.uom_id AND uom_category.id = uom_uom.category_id AND uom_category.to_weight = True;` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/pos · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.15 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/pos
- Last tracking update
- 2026-09-21 10:58:10
- Authors
- Odoo Community Association (OCA), GRAP
- Maintainers
- Odoo Community Association (OCA), GRAP
- Committers
- Sylvain LE GAL, Weblate, OCA-git-bot, oca-ci
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_uom_category_form |
uom.category | form | Inherits uom.product_uom_categ_form_view | |
view_uom_category_tree |
uom.category | tree | Inherits uom.product_uom_categ_tree_view | |
view_uom_uom_form |
uom.uom | form | Inherits uom.product_uom_form_view | |
view_uom_uom_tree |
uom.uom | tree | Inherits uom.product_uom_tree_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (2)-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
New fields (1)
-
to_weightBooleanstring='To Weigh With Scale'
No public methods.
New fields (1)
-
to_weightBooleanrelated='category_id.to_weight'string='To Weigh With Scale'
No public methods.
Loading…
Loading…