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

I am having a problem working out how to replicate our business methodology in OpenERP.

We create quotes and work orders for Customers (usually a Customer is a business). The Customer may have multiple Contacts, and we may need to assign some or all of these Contacts to a Job (Quote, Production work etc.).

In OpenERO, if I go use a drop-down menu to select a Customer when creating a quote I get each company and each contact so it is a very unwieldy list. Is there a way of just seeing Customers and not Contacts in drop downs?

Also we seem only to be able to assign one contact to any task. Is there a way of assigning multiple Contacts?

Ảnh đại diện
Huỷ bỏ

Thank you very much!!

Câu trả lời hay nhất

If you need this, you will create a module when you inherit the field where you want see only Customer and apply a dmain like this:

<field name="my_partner_id_field" domain="[('parent_id', '=', False)]"/>

So you filter only partner without parent. In your case customers.

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

Thank you very much

If this answer solved your problem, please check it as "correct answer", so who search the answer to a similar question can see that this solve it...:)

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
6521
1
thg 2 22
6791
2
thg 7 25
1350
2
thg 4 25
5221
1
thg 9 24
1798