changeset 72f9f93fc00e in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=72f9f93fc00e
description:
Use readonly screen to display Many2Many widget
The Many2Many widget should not allow the user to edit the records.
The One2Many widget should be used instead.
issue9574
review290891002
diffstat:
src/view/form.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 8e374f951fa2 -r 72f9f93fc00e src/view/form.js
--- a/src/view/form.js Thu Sep 17 17:18:02 2020 +0200
+++ b/src/view/form.js Fri Sep 18 00:07:58 2020 +0200
@@ -3455,6 +3455,7 @@
views_preload: attributes.views || {},
order: attributes.order,
row_activate: this.activate.bind(this),
+ readonly: true,
limit: null
});
this.screen.message_callback = this.record_label.bind(this);