Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2054 Weergaven

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. 

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer