Files
Odoo-Modules/fusion_plating
gsinghpal 194d5d96dd feat(sub12a): JSONRPC endpoints for the Simple Recipe Editor
11 routes under /fp/simple_recipe/...:
  load
  library/{list,create,write,delete}
  step/{insert,write,remove,reorder}
  template/{list,import}

Library/template imports snapshot-copy fields (Q4 = A locked) — no
live references. The _SNAPSHOT_FIELDS + _INPUT_SNAPSHOT_FIELDS module
constants are the single source of truth for what gets copied;
adding a new authoring field on fp.step.template means appending it
once to _SNAPSHOT_FIELDS and the controller stays correct.

library_delete is soft when nodes still reference the template via
source_template_id (operator can't accidentally orphan recipe steps).

Uses recipe.check_access('read') (Odoo 19 unified API) instead of the
older check_access_rights/check_access_rule pair.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 20:38:16 -04:00
..
2026-04-20 13:07:15 -04:00
2026-04-16 20:53:53 -04:00
2026-04-26 15:05:17 -04:00
2026-04-27 00:11:18 -04:00
2026-04-16 20:53:53 -04:00
2026-04-27 00:11:18 -04:00
2026-04-16 20:53:53 -04:00
2026-04-27 00:11:18 -04:00
2026-04-16 20:53:53 -04:00
2026-04-27 09:41:46 -04:00
2026-04-27 00:11:18 -04:00
2026-04-16 20:53:53 -04:00
2026-04-20 01:16:12 -04:00
2026-04-16 20:53:53 -04:00
2026-04-27 08:16:20 -04:00
2026-04-27 09:41:46 -04:00
2026-04-27 00:11:18 -04:00
2026-04-16 20:53:53 -04:00
2026-04-27 09:41:46 -04:00
2026-04-16 20:53:53 -04:00
2026-04-24 21:04:38 -04:00
2026-04-20 01:16:12 -04:00
2026-04-27 08:48:55 -04:00
2026-04-20 01:16:12 -04:00
2026-04-16 20:53:53 -04:00