跳至内容
菜单
此问题已终结
1 回复
2494 查看

Hi Guys,

I am trying to trigger a custom email upon creation of a sales order. Basically I would like to send an email to the inventory representative upon the creation of a new sales order. Somehow I can't figure out how to access this information.

I have a sales order with at least one order line - which I can't seem to access - and for each order line I would need to find the inventory rep. So potentially several email adresses are needed.

How should I go about this?

So far I have tried to access this information by going through the order lines on a specific sales order, but that seems not to work. The order lines list seems to be empty (when testing the email template) although there's an order line on the sales order.

Any hints or alternative solutions are more than welcome! :-) 


/Tue


形象
丢弃

Hi, I would think from this point. product can have user responsible.

after SO confirmed, you can make to triggers automated action to make some things(like email) to happen. try from this point. automated action some good examples here:

https://odootricks.tips/about/automated-actions/automated-actions-reordering-rules/

编写者 最佳答案

Thank you Mindaugas, for your input.

I managed to solve it this morning. Had to create a couple of custom fields, but now I can access the info needed.

形象
丢弃
相关帖文 回复 查看 活动
3
3月 25
921
3
2月 25
1872
1
12月 24
2051
2
3月 24
2390
2
3月 24
2902