Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1405 Представления

In the employee form, under the HR tab, there is a link to the user account. When attempting to link, Odoo only suggests internal users. I need access to external portal users as well. What should I do to access the full list of users without restrictions?  

Аватар
Отменить
Лучший ответ

To display portal users in the user_id field, follow these steps:

  1. Enable Developer Mode in Odoo.
  2. Click on the bug icon in the top-right corner.
  3. Navigate to User Interface > View: Form.
  4. Locate the XML definition for the user_id field.
  5. Remove the domain condition ('share', '=', False) from the field attributes.
  6. Save and reload the view.

This will allow portal users to appear in the selection list for the user_id field. Let me know if you need further clarification!

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
сент. 25
281
3
сент. 25
299
0
авг. 25
468
1
авг. 25
1126
1
июл. 25
1167