跳至内容
菜单
此问题已终结
1 回复
8361 查看

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
5771
1
2月 22
1229
2
5月 25
623
2
4月 25
4464
1
9月 24
1308