Skip to content

Fork Sync Branch 19.0 - #24

Merged
btl-bot merged 1 commit into
BTLzdravtech:19.0from
ingadhoc:19.0
Oct 15, 2026
Merged

btl-bot merged 1 commit into
BTLzdravtech:19.0from
ingadhoc:19.0

Conversation

@btl-bot

@btl-bot btl-bot commented Oct 15, 2026

Copy link
Copy Markdown

No description provided.

send_context is a Json field and base_automation leaves __action_done in the
context: a dict keyed by recordsets. Creating the scheduled message crashed
with "TypeError: keys must be str, int, float, bool or None, not
base.automation".

Resetting the key before _action_schedule_message was not enough: the context
dict is shared by reference and base_automation mutates it in place while the
composer runs, so the private keys are now dropped where send_context is built.

Change note: al pasar una tarea a una etapa con plantilla de mail, a los
usuarios con "retraso de envío" configurado les fallaba el guardado y la etapa
no cambiaba. Ahora el mensaje programado se crea sin error.

closes #467

Signed-off-by: Luciano Esperlazza <les@adhoc.inc>

@sireko sireko left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved

@btl-bot
btl-bot merged commit c2cd30a into BTLzdravtech:19.0 Oct 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants