Skip to Content

Welcome!

human made "AI" (advises & inputs) forum by Odoo professionals, experts and enthusiasts challenging real use cases with standard solutions!

-> solutions should be applicable for Odoo community or online (at the limit with Studio), all without custom modules.

This question has been flagged

add the salesperson as delivery responsible, making them a follower and keeping informed of what's going on

Avatar
Discard
Author
  • activate the developer mode and go to settings->technical-> automation rules (in Odoo enterprise it can also be done opening studio from a inventory delivery)
  • create the following automation:

code:
# the delivery responsible will automatically also be follower
for rec in records:
    if rec.sale_id and rec.sale_id.user_id:
        rec.write({'user_id': rec.sale_id.user_id.id})
Avatar
Discard
Related Posts Replies Views Activity
1
Aug 25
119
1
Aug 25
170
1
Aug 25
132
1
Aug 25
122
1
Sep 25
198