Browse Source

IMP] partner_statement: Create test user without password to avoid crash tests with other modules like as password_security

pull/654/head
Sergio Teruel 5 years ago
committed by mreficent
parent
commit
9a8aa38240
  1. 2
      partner_statement/__manifest__.py
  2. 1
      partner_statement/tests/test_activity_statement.py
  3. 1
      partner_statement/tests/test_outstanding_statement.py

2
partner_statement/__manifest__.py

@ -4,7 +4,7 @@
{
'name': 'Partner Statement',
'version': '12.0.1.0.1',
'version': '12.0.1.0.2',
'category': 'Accounting & Finance',
'summary': 'OCA Financial Reports',
'author': "Eficent, Odoo Community Association (OCA)",

1
partner_statement/tests/test_activity_statement.py

@ -35,7 +35,6 @@ class TestActivityStatement(TransactionCase):
user = self.res_users_model.create({
'name': login,
'login': login,
'password': 'demo',
'email': 'example@yourcompany.com',
'company_id': company.id,
'company_ids': [(4, company.id)],

1
partner_statement/tests/test_outstanding_statement.py

@ -32,7 +32,6 @@ class TestOutstandingStatement(TransactionCase):
user = self.res_users_model.create({
'name': login,
'login': login,
'password': 'demo',
'email': 'example@yourcompany.com',
'company_id': company.id,
'company_ids': [(4, company.id)],

Loading…
Cancel
Save