Skip to Content
Menu
This question has been flagged
1 Reply
1783 Views

I would like to automatically add all products of one supplier into the purchase order, when the supplier has been assigned in a new purchase order.


I am on odoo.sh v14
What is the best solution? Can I customize the module? Did anyone already need this kind of solution?

Avatar
Discard
Best Answer

You can do it in a new module where you need to inherit the 'purchase.order' model. You can either do it as an on-change method for the supplier(partner_id) field or as a button that needs to be clicked after selecting the supplier.

Avatar
Discard
Author

Thanks Gopakumar!! :)

Related Posts Replies Views Activity
2
May 25
2498
3
Dec 24
7401
1
Jul 24
3665
1
Jun 24
2441
2
Jun 24
3455