mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[DEL] The import invoice button
(lp:c2c-financial-addons/6.1 rev 24.1.42)
This commit is contained in:
@@ -34,6 +34,8 @@ 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)
|
||||
|
||||
Reference in New Issue
Block a user