Hi, is it possible when we have several quotations to confirm them in one time instead of opening one by one to confirm them one by one
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi, is it possible when we have several quotations to confirm them in one time instead of opening one by one to confirm them one by one
Thanks
Hi Jack,
You could easily do this by creating a server action in which you loop over the selected records. You can then trigger the function 'action_confirm' which confirms a quotation / sale order:
After you've created the server action you simply click on the button "Create contextual action" in the form. If you then go to the sale orders you'll see you can use the action:
Alternatively you can write a Python function that loops over the record and does the same:
for order in sale_orders:
order.action_confirm()
Regards,
Yenthe
Hi, just wanted to say thanks. Great solution - solved my problem... (did create a server action as well).
Regards,
Michael
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Hi Yenthe
thank you very much !
Regards
You're welcome, best of luck with Odoo!
Hi Yenthe
i have done this
and then i have an error when i try to confirm sale orders in bulk
I have done the other python code and have a similar error
regards
From: Yenthe Van Ginneken [mailto:yenthespam@gmail.com]
Sent: Thursday, March 21, 2019 3:47 PM
To: Jack Lee <jack.lee@jyf-international.com>
Subject: Re: Odoo 8 confirm several quotations
View Forum Post
You're welcome, best of luck with Odoo!
Sent by Odoo S.A. using Odoo.