Odoo Help

0

0
1 回答
0
アバター

Jake Robinson オーストラリア

--Jake Robinson--
7889
| 3 1 4
Glenmore Park, オーストラリア
--Jake Robinson--

I help businesses grow with Odoo.

I work at one of Australia's leading Odoo partners, constantly learning more to provide the best service that I can. I have handled a wide range of projects, from 1 man teams to 40+ employee companies, across a number of business sectors.

Jake Robinson オーストラリア
2018/04/10 6:37

Hi Bill,

This is an example of a domain. For more information, take a look at the following link:

https://www.odoo.com/documentation/11.0/reference/orm.html#domains

 To achieve the search you wanted, the following domain can be used:

['&', ('customer', '=', False), ('supplier', '=', False)]

However, this relies on your data being correctly formatted for every contact. If you have any partners that aren't a supplier or customer, this restriction doesn't work.

If you don't have a customer facing web portal, I'd suggest using:

[('user_ids', '=', False)]

This restricts it to only partners that have a user connected to it.


Regards,

Jake Robinson
Dionysus Software

1 コメント
Bill Ennals オーストラリア
2018/06/05 6:06

thanks Jake. I had missed this answer. Works perfectly.

質問する
Writer
Keep Informed
1 フォロワー
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now