跳至內容
選單
此問題已被標幟
1 回覆
9108 瀏覽次數

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?

頭像
捨棄

Thank you very much!!

最佳答案

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.

頭像
捨棄
作者

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...:)

相關帖文 回覆 瀏覽次數 活動
2
3月 15
6553
1
2月 22
6930
1
10月 25
2094
2
7月 25
1365
2
4月 25
5238