addons-cm/website_sale_aplicoop/views
snt f35bf0c5a1 [FIX] website_sale_aplicoop: Calculate UoM quantity step server-side for portal users
Portal users cannot read uom.uom model due to ACL restrictions (1,0,0,0 permissions).
This caused products sold by weight (kg) to have incorrect quantity step (1 instead of 0.1).

Solution:
- Calculate quantity_step in Python controller using product.uom_id.sudo()
- Check if UoM category contains 'weight' or 'kg' -> use step=0.1
- For other products, use default step=1
- Pass quantity_step to template via product_display_info dict
- Update XML input attributes (value, min, step) to use dynamic quantity_step

This maintains proper UX for bulk products while respecting security permissions.
2026-02-21 14:31:34 +01:00
..
group_order_views.xml [FIX] website_sale_aplicoop: Critical date calculation fixes (v18.0.1.3.1) 2026-02-18 17:45:45 +01:00
load_from_history_templates.xml [FIX] website_sale_aplicoop: Remove redundant string= attributes and fix OCA linting warnings 2026-02-18 17:54:43 +01:00
portal_templates.xml [FIX] website_sale_aplicoop: Remove redundant string= attributes and fix OCA linting warnings 2026-02-18 17:54:43 +01:00
product_template_views.xml Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
res_config_settings_views.xml [DOC] website_sale_aplicoop: Add lazy loading documentation and implement v18.0.1.3.0 feature 2026-02-16 18:39:39 +01:00
res_partner_views.xml Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
sale_order_views.xml Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
stock_picking_views.xml [DOC] website_sale_aplicoop: Add lazy loading documentation and implement v18.0.1.3.0 feature 2026-02-16 18:39:39 +01:00
website_templates.xml [FIX] website_sale_aplicoop: Calculate UoM quantity step server-side for portal users 2026-02-21 14:31:34 +01:00