Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: producers contact form #17

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions producers-contact-form/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Producers contact form

A form done with form.io that sends an email to support.

**Important:** only formio 4.15.0-rc.13 is working !
9 changes: 9 additions & 0 deletions producers-contact-form/base_automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- Sequence: 5
Action Name: (off) email on new support form
Trigger: On Creation & Update
Model: Form
Apply on: ["&", "|", ["builder_id.id", "=", 30], ["builder_id.id", "=", 31], ["state", "=", "COMPLETE"]]
Before Update Domain: ["&", ["state", "!=", "COMPLETE"], "|", ["builder_id.id", "=", 30], ["builder_id.id", "=", 31]]
Active: True
Action Type: ir.actions.server
Python Code: # see producers_contact_send_email.py
Loading
Loading