summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2020-04-02 12:51:26 +0000
committerjvm-odoo <jvm@odoo.com>2020-04-03 11:58:56 +0000
commit15227170cb79eac22049264fb51aad543438b027 (patch)
treef29ce0e5da511a9af53e335fe2c955b6ed9a9023 /addons/web/static/src/js/views/basic/basic_model.js
parent0563093d1e3794988f5e17bb6ee89aa0a400a359 (diff)
[FIX] website_forum: fix answer name disappear after edit
Issue - Install Forums - Create a post (name = test) - Add an answer - Check your profile > answers You have an answer named "Re: test" - Edit the answer - Check again "Re: test" disappeared, it's a blank line now Cause When editing the answer, we do not pass a name So if we do name = kwargs.get('name') => None Solution Pass the name to the vals if it exists OPW-2227418 closes odoo/odoo#48970 X-original-commit: c53f1c6a58b4c8c9e9b3c87f27281c9bfd65a0e1 Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions