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

Hello. We found a bug in file web/static/src/js/views/form_relation_widgets.js (V10). The bug consists in that for a model that is read-only and we want to visualise it in a popup, the buttons SAVE and DISCARD still appear in the popup, which is wrong because those buttons should not appear.

In line 156 the statement readonly: !self.can_write  always assigns false because self.can_write is evaluated as a string instead of a boolean. Please fix this because it is a terrible bug. Or advice if we are wrong. 

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

If you can verify the bug, please file a bug report at https://github.com/odoo/odoo

Аватар
Отменить