[DEL] pdb...

(lp:c2c-financial-addons/6.1 rev 73)
This commit is contained in:
Joël Grand-Guillaume
2012-07-04 15:58:09 +02:00
parent 2c5ffa61f6
commit 08191efd97

View File

@@ -34,8 +34,6 @@ class AccountVoucher(Model):
return super(AccountVoucher, self)._get_period(cr, uid, context)
def create(self, cr, uid, values, context=None):
import pdb
pdb.set_trace()
"""If no period defined in values, ask it from moves."""
if values.get('period_id') == False and context.get('move_line_ids'):
values['period_id'] = self._get_period(cr, uid, context)