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

I'm using odoo version 11 and I notice every time I modify the price of a product (maybe the first time?) and afterward create a purchase order or request for a quotation it seems the vendor price gets created by odoo automatically. Is this normal behavior, and if so does anybody have a suggestion where the code is located to modify this behavior.

In our odoo system, we made modifications for the purchase order to directly list the cost price instead of the vendor-specific prices, however, this automatic saving of vendor price is interfering with our workflow. If anybody has any suggestions where we could modify this behavior I would appreciate your input.

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

Comment highlighted line from code.

odoo-11.0/addons/purchase/models/purchase.py. line# 347 or 348
This will stop adding new lines. then removing the existing lines will solve your problem.

Screenshot from 2020-02-06 16-11-10.png

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 23
1883
0
thg 9 17
2802
1
thg 4 22
3563
0
thg 2 18
6619
2
thg 5 25
2120