mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] common.DB does not exist anymore in stable 8.0
It was not used in these tests anyway.
This commit is contained in:
@@ -32,9 +32,6 @@ from datetime import datetime
|
||||
from openerp.tools import DEFAULT_SERVER_DATE_FORMAT
|
||||
from openerp import workflow, exceptions
|
||||
|
||||
DB = common.DB
|
||||
ADMIN_USER_ID = common.ADMIN_USER_ID
|
||||
|
||||
|
||||
def create_simple_invoice(self):
|
||||
partner_id = self.ref('base.res_partner_2')
|
||||
|
||||
@@ -32,9 +32,6 @@ from datetime import datetime
|
||||
from openerp.tools import DEFAULT_SERVER_DATE_FORMAT
|
||||
from openerp import workflow
|
||||
|
||||
DB = common.DB
|
||||
ADMIN_USER_ID = common.ADMIN_USER_ID
|
||||
|
||||
|
||||
def create_simple_invoice(self):
|
||||
partner_id = self.ref('base.res_partner_2')
|
||||
|
||||
@@ -33,9 +33,6 @@ from openerp import exceptions
|
||||
from datetime import datetime, timedelta
|
||||
from openerp.tools import DEFAULT_SERVER_DATE_FORMAT
|
||||
|
||||
DB = common.DB
|
||||
ADMIN_USER_ID = common.ADMIN_USER_ID
|
||||
|
||||
|
||||
def get_simple_product_id(self):
|
||||
return self.env['product.product'].create({'name': 'product_test_01',
|
||||
|
||||
@@ -32,9 +32,6 @@ from openerp.exceptions import except_orm
|
||||
from datetime import datetime
|
||||
from psycopg2 import IntegrityError
|
||||
|
||||
DB = common.DB
|
||||
ADMIN_USER_ID = common.ADMIN_USER_ID
|
||||
|
||||
|
||||
def get_simple_account_move_values(self, period_id, journal_id):
|
||||
sale_product_account_id = self.ref('account.a_sale')
|
||||
|
||||
Reference in New Issue
Block a user