Hi everyone, I'am creating an automated action To send an email when updating a field, pls help me find the correct syntax.
field name : State
name="name">demande d'embauche approuvée
name="model_id" ref="employee_recruitment_app.model_staff_recruitment"/>
name="active"eval="True"/>
name="trigger">on_write
name="trigger_field_ids">state
name="state">email
name="template_id" ref="demande_embauche_approuvee"/>
name="filter_pre_domain">[('state','=','draft')]
name="filter_domain">[('state','=','approve')]