diff --git a/addons/account_check_writing/__openerp__.py b/addons/account_check_writing/__openerp__.py index 292215044fb..c0189a938e7 100644 --- a/addons/account_check_writing/__openerp__.py +++ b/addons/account_check_writing/__openerp__.py @@ -35,7 +35,6 @@ Module for the Check Writing and Check Printing. 'account_view.xml', 'account_voucher_view.xml', 'account_check_writing_data.xml', - 'account_check_sequence.xml' ], 'demo': ['account_demo.xml'], 'test': [], diff --git a/addons/account_check_writing/account_check_sequence.xml b/addons/account_check_writing/account_check_sequence.xml deleted file mode 100644 index f1dd75c5467..00000000000 --- a/addons/account_check_writing/account_check_sequence.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - Number - account.check.write - - - - Number - account.check.write - - - - diff --git a/addons/account_check_writing/wizard/account_check.py b/addons/account_check_writing/wizard/account_check.py index d9904249154..9691d83f331 100644 --- a/addons/account_check_writing/wizard/account_check.py +++ b/addons/account_check_writing/wizard/account_check.py @@ -29,7 +29,7 @@ class account_check_write(osv.osv_memory): } _defaults = { - 'check_number': lambda obj, cr, uid, context:obj.pool.get('ir.sequence').get(cr, uid, 'account.check.write'), + 'check_number': lambda obj, cr, uid, context:obj.pool.get('ir.sequence').get(cr, uid, 'check.number'), } def print_check_write(self, cr, uid, ids, context=None):