summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-05-28 10:01:27 +0000
committerRomain Derie <rde@odoo.com>2019-05-28 10:13:36 +0000
commit04b4818d8465abb2fb8359ad47e652f3558ea5e9 (patch)
tree6cb0bf517c9513a159001c23d669cec1439d74ab /addons/web/static/src/js
parentd9c33c4c78e3b2e1a828e59ec423fb3b48acd015 (diff)
[FIX] website: onchange new record adaptation
Before this commit, when you go on website config settings, you can't save. This is because the website default lang field is not set anymore (supposed to be set in onchange), and since it is hidden in the view if only one language, there is no clue about the error field. Following d0bb596f1d51b, x2many fields of new records are new records, meaning that: `self.many2one in self.x2many` is not true anymore since self.x2many is a new record. Also: `self.many2one = self.x2many[0]` is not working as before, the new record is not saved in the many2one closes odoo/odoo#33716 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions