IMP] partner_statement: Create test user without password to avoid crash tests with other modules like as password_security
This commit is contained in:
committed by
Miquel Raïch
parent
63e88a89b5
commit
ed2a63b11d
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Partner Statement',
|
'name': 'Partner Statement',
|
||||||
'version': '12.0.1.0.1',
|
'version': '12.0.1.0.2',
|
||||||
'category': 'Accounting & Finance',
|
'category': 'Accounting & Finance',
|
||||||
'summary': 'OCA Financial Reports',
|
'summary': 'OCA Financial Reports',
|
||||||
'author': "Eficent, Odoo Community Association (OCA)",
|
'author': "Eficent, Odoo Community Association (OCA)",
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ class TestActivityStatement(TransactionCase):
|
|||||||
user = self.res_users_model.create({
|
user = self.res_users_model.create({
|
||||||
'name': login,
|
'name': login,
|
||||||
'login': login,
|
'login': login,
|
||||||
'password': 'demo',
|
|
||||||
'email': 'example@yourcompany.com',
|
'email': 'example@yourcompany.com',
|
||||||
'company_id': company.id,
|
'company_id': company.id,
|
||||||
'company_ids': [(4, company.id)],
|
'company_ids': [(4, company.id)],
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ class TestOutstandingStatement(TransactionCase):
|
|||||||
user = self.res_users_model.create({
|
user = self.res_users_model.create({
|
||||||
'name': login,
|
'name': login,
|
||||||
'login': login,
|
'login': login,
|
||||||
'password': 'demo',
|
|
||||||
'email': 'example@yourcompany.com',
|
'email': 'example@yourcompany.com',
|
||||||
'company_id': company.id,
|
'company_id': company.id,
|
||||||
'company_ids': [(4, company.id)],
|
'company_ids': [(4, company.id)],
|
||||||
|
|||||||
Reference in New Issue
Block a user