Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1778 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks Gopakumar!! :)

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 25
2495
3
thg 12 24
7380
1
thg 7 24
3652
1
thg 6 24
2437
2
thg 6 24
3446