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

Hello,

I want Odoo to update my Receipt as soon as I update my PO.


For example i have a PO with the product shirt and quantity 10. Its already confirmed so a receipt was created.


I now change the quantity to 5 but in the receipt it is still on 10 but i want it to update automatically.


How can i change this?


Many thanks in advance.


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

Hello,


you have to write your custom code for updating receipt while you updating PO. write your custom code in write() method of purchase.order model.

regards

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

Ah okay thank you.

Is there a good course on Odoo customization that you could recommend?

I´m pretty new to this but i wanna learn it.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 9 18
9613
2
thg 5 25
2020
1
thg 12 24
2314
1
thg 3 21
2750
1
thg 1 16
3837