Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Automated Action to update validity date when editing order date

Avatar
odoo
1 Comment
Avatar
Discard
Avatar
odoo
-

Ray, you are my hero!! it works like a charm! thank  you so much!

1 Answer
0
Avatar
odoo
Best Answer


datetime.datetime.today() + dateutil.relativedelta.relativedelta(days = +90)

1 Comment
Avatar
Discard
Avatar
odoo
-

Hello again Ray,

would you happen to also have a tip for defining the domain on an automated action for sending an automated expiry reminder to the customer e.g. 14 days before expiration date? I was ablle to create this action and to define all quotations in status draft or sent, but how do I exclude all quotations that are pending and that expired previously? in other words: How do I limit the action to quotations with an expiry date in the future, counting from the day I activate this action?