mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Forgot to remove a usecase of debit_denied
Add ACL
This commit is contained in:
committed by
Pedro M. Baeza
parent
dda5e1ccb5
commit
7b62566b29
@@ -38,8 +38,5 @@ class PaymentOrderCreate(models.TransientModel):
|
||||
# invoices and payment lines linked to customer refunds
|
||||
# in order to debit the customer of the total of his
|
||||
# invoices minus his refunds
|
||||
domain += ['|',
|
||||
('invoice', '=', False),
|
||||
('invoice.state', '!=', 'debit_denied'),
|
||||
('account_id.type', '=', 'receivable')]
|
||||
domain += [('account_id.type', '=', 'receivable')]
|
||||
return True
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_payment_mode_read,Read access on payment.mode to Employees,account_payment.model_payment_mode,base.group_user,1,0,0,0
|
||||
access_payment_mode_type_read,Read access on payment.mode.type to Employees,account_banking_payment_export.model_payment_mode_type,base.group_user,1,0,0,0
|
||||
|
||||
|
Reference in New Issue
Block a user