Hi,
how can i apply the result of a function in filter's domain ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
If the functional field value is saved to database, then you can use it to set domain, else you cannot...
Hi deep, i have created a filter like the following: and agenda_emp_liee is a 'agenda_emp_liee': fields.function(itk_facturation_fct_get_employee_liee,type='many2many',string=U'Employé lié',store=False,relation="hr.employee"), but it dosen't work
When you say filter, did you mean the filter in the Search bar? Deep actually said the opposite, you need to have the function stored in the database to be used in the a search. Also, the field need to be included in the view (although it can be invisible).
You also might want to check the answer to this question: https://www.odoo.com/forum/help-1/question/how-can-i-use-a-field-function-in-the-domain-filter-137
@John Doe, Yup I too meant the same, Stored functional field can be used in domain filter..... typo error :)
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
1
مارس 15
|
4872 | |||
|
5
سبتمبر 20
|
13681 | |||
|
using function in domain filter
تم الحل
|
4
مايو 20
|
75207 | ||
|
1
مارس 15
|
6332 | |||
|
2
مارس 15
|
8506 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.