*bugfixed x2 (name of group were wrong and wrong function call in wizard_payment_order)
bzr revid: qdp@tinyerp.com-20080904130247-p3f33gx4mfj7vq0s
This commit is contained in:
parent
1daa6977d0
commit
85b0a4334c
|
@ -1,5 +1,5 @@
|
|||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_payment_type,payment.type,model_payment_type,account.group_account_payment,1,1,1,1
|
||||
access_payment_mode,payment.mode,model_payment_mode,account.group_account_payment,1,1,1,1
|
||||
access_payment_order,payment.order,model_payment_order,account.group_account_payment,1,1,1,1
|
||||
access_payment_line,payment.line,model_payment_line,account.group_account_payment,1,1,1,1
|
||||
access_payment_type,payment.type,model_payment_type,group_account_payment,1,1,1,1
|
||||
access_payment_mode,payment.mode,model_payment_mode,group_account_payment,1,1,1,1
|
||||
access_payment_order,payment.order,model_payment_order,group_account_payment,1,1,1,1
|
||||
access_payment_line,payment.line,model_payment_line,group_account_payment,1,1,1,1
|
||||
|
|
|
|
@ -87,7 +87,7 @@ def create_payment(self, cr, uid, data, context):
|
|||
|
||||
payment = order_obj.browse(cr, uid, data['id'],
|
||||
context=context)
|
||||
t = payment.mode and payment.mode.type.code or None
|
||||
t = payment.mode and payment.mode.type.id or None
|
||||
line2bank= pool.get('account.move.line').line2bank(cr, uid,
|
||||
line_ids, t, context)
|
||||
|
||||
|
|
Loading…
Reference in New Issue