Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Done by ELU on the 07/05/2024
- # Reviewed by SEA on the 22/05/2024
- # Review:https://pastebin.com/q2QxuThK
- # Need: Having a date for invoicing purpose set as today when the order is comfirmed
- # Task: https://www.odoo.com/odoo/project.task/3908842?cids=1
- for order in self:
- if order.state == 'sale':
- order['x_studio_no_next_payment_till'] = datetime.datetime.today()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement