Continuing the discussion from Set up emails and easy email delivery:
Currently it is complex for and end user to setup a notification email. This is because it requires to write the PYSON Condtion, which is normally hard complex for more advances users.
I think we should think some way to define pyson expressions for most common notification triggers, so the user can select them from a preconfigured list. Some common expressions will be:
- Once the invoice is posted
- Once the sale is confirmed
- When a shipment is packed/sent.
The idea is that each module defines it’s owns expression, so when activating the module the trigger conditions are automatically loaded. It should be also possible to create expressions on the user interface.
Of course, we should include a way for adavanced users to write it’s own pyson expressions.
Althought this can be solved by custom modules, I think it’s worth discussing to see if we can find a common solution for most common cases.