summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-03-25 14:56:47 +0000
committerVictor Feyens <vfe@odoo.com>2020-03-25 16:28:04 +0000
commit466217ff6cc6c30a4014b4fb0cc0566f32869268 (patch)
tree4e125abb76c868c9b749639bb145c97d136682bd /addons/web/static/src/xml/base.xml
parent5eea6b278e82b0b3fa1a1805e838b97821f5fd8c (diff)
[FIX] sale_stock: default warehouse_id
Finetuning of https://github.com/odoo/odoo/commit/b30e280b2d676f16873ac0fd1279c4870d994dec : self.user_id is always an empty recordset in a default function call, use self.env.user instead, it is the default value for user_id. The _init_column override is needed to ensure the new property field on res_users isn't read at module installation, because its ir.model.fields doesn't exist already, leading to a wrong sql query in ir_property. closes odoo/odoo#48378 X-original-commit: 6c6bd018c761535f973781319090116d7eea60ad Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions