addons-cm/website_sale_aplicoop/controllers
GitHub Copilot 158933e96e [FIX] website_sale_aplicoop: two draft-reuse and compute-field bugs
- group.order.home_delivery is a stored compute field with no inverse;
  Odoo still lets write() set it directly, so a stray direct write stuck
  instead of always being re-derived from delivery_product_id. create()
  and write() now strip it from vals, same pattern already used for slug.

- _find_recent_draft_order only bounded drafts by create_date, so a
  freshly created draft for a stale/previous pickup_date (but created
  "now") was wrongly reused. Fix requires both create_date to fall in
  the active window AND pickup_date to match when set — the latter
  alone isn't enough either, per the regression already covered by
  test_find_recent_draft_excludes_previous_cycle (observed in
  production at stage.elikabilbo.eus).
2026-08-13 12:02:33 +02:00
..
__init__.py Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
exceptions.py [FIX] website_sale_aplicoop: lint fixes (exception chaining, imports, remove unused vars) 2026-05-20 16:05:14 +02:00
portal.py [I18N] website_sale_aplicoop: Translate weekdays 2026-03-03 15:26:01 +01:00
website_sale.py [FIX] website_sale_aplicoop: three defects in the group order slug 2026-08-11 22:53:09 +02:00
website_sale_i18n.py [I18N] website_sale_aplicoop, product_origin_char: add Catalan translation 2026-08-13 11:52:54 +02:00
website_sale_pickup.py [FIX] website_sale_aplicoop: lint fixes (exception chaining, imports, remove unused vars) 2026-05-20 16:05:14 +02:00
website_sale_pricing.py [FIX] website_sale_aplicoop: precio por kg/litro con IVA y granel por litro 2026-07-31 18:48:58 +02:00
website_sale_products.py [FIX] website_sale_aplicoop: lint fixes (exception chaining, imports, remove unused vars) 2026-05-20 16:05:14 +02:00
website_sale_utils.py [FIX] website_sale_aplicoop: lint fixes (exception chaining, imports, remove unused vars) 2026-05-20 16:05:14 +02:00
website_sale_validators.py [FIX] website_sale_aplicoop: two draft-reuse and compute-field bugs 2026-08-13 12:02:33 +02:00