From 62e9ffdfb11aa760f4a39eca2028bc2d694b0e0f Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Fri, 23 Nov 2012 18:37:55 +0530 Subject: [PATCH] [IMP] account_check_writing : Removed the unnecessary sequence. bzr revid: mdi@tinyerp.com-20121123130755-ryz3n70j855v4cz1 --- addons/account_check_writing/__openerp__.py | 1 - .../account_check_sequence.xml | 15 --------------- .../account_check_writing/wizard/account_check.py | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 addons/account_check_writing/account_check_sequence.xml 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):