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

In Odoo 10, is it possible to define a report (or a filter) to list the purchase orders marked as confirmed but not sent by email to supplier?
i.e., how can I detect if in a purchase order the action "sent PO by email" was completed or not.

Thanks,

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

In odoo v10, you can track your email status in the following settings. first you have to activate the developer mode.then go through the following menu.there you can see your mails.

Settings->Technical->Email->Emails

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

If you check the purchase.py, in the Purchase module, you can see the field:

state = fields.Selection([
('draft', 'RFQ'),
('sent', 'RFQ Sent'),
('to approve', 'To Approve'),
('purchase', 'Purchase Order'),
('done', 'Locked'),
('cancel', 'Cancelled')

Than, you can filter yours PO with state='sent' to find or list all PO just sent by mail.
Now, If this state list not enough, you can extend this list by adding a new state to this list.



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 19
4606
0
thg 9 24
1490
0
thg 8 22
2381
1
thg 7 22
20074
0
thg 4 22
3056