[IMP] website: Improve test robustness
Purpose ======= A lot a demo data are added in enterprise for the Belgian company. It implies for example a private address for a Belgian employee for Mitchell Admin. This commit improves the test to work even with this new demo data. closes odoo/odoo#37088 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -46,7 +46,7 @@ tour.register('website_reset_password', {
|
||||
var def3 = rpc.query({
|
||||
model: 'res.partner',
|
||||
method: 'name_search',
|
||||
kwargs: {'name': 'Mitchell Admin'},
|
||||
kwargs: {'name': 'Mitchell Admin', 'args': [['company_id', '=', 1]]},
|
||||
}).then(function (res) {
|
||||
return rpc.query({
|
||||
'model': 'res.partner',
|
||||
|
||||
Reference in New Issue
Block a user