Files
bank-payment/account_payment_order/security/ir.model.access.csv
Pedro M. Baeza 05c6c0111f [REF+IMP] account_payment_order: Use native payments
The previous approach creates manually the journal entries and does all
the hard work, plus not being 100% compatible with the bank statement
reconciliation widget (requiring a patch on OCB to see blue lines).

That decision made sense on the moment it was done (v9), where the
native payment model (account.payment) was very limited, and wasn't able
to store all the needed information for the bank transaction.

Now that the limitations are gone, we can get rid off this extra model,
and generate instead `account.payment` records, using both the native
model + methods to perform the same operations.

This serves also to workaround the problem found in #966.

All the code, views and tests of main module have been adapted to this
new approach in this commit. Later commits will adapt the rest of the
modules of the suite, and add migration scripts to transit from the
previous approach to this new one.

TT39832
2023-03-04 19:44:00 +01:00

1.1 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_account_payment_orderFull access on account.payment.order to Payment Managermodel_account_payment_ordergroup_account_payment1111
3access_account_payment_lineFull access on account.payment.line to Payment Managermodel_account_payment_linegroup_account_payment1111
4access_bank_payment_lineFull access on account.payment to Payment Manageraccount.model_account_paymentgroup_account_payment1111
5base.access_res_partner_bank_group_partner_managerFull access on res.partner.bank to Account Payment groupbase.model_res_partner_bankgroup_account_payment1111
6base.access_res_bank_group_partner_managerFull access on res.bank to Account Payment groupbase.model_res_bankgroup_account_payment1111
7access_account_payment_line_createaccess_account_payment_line_createmodel_account_payment_line_creategroup_account_payment1111
8access_account_invoice_payment_line_multiaccess_account_invoice_payment_line_multimodel_account_invoice_payment_line_multigroup_account_payment1111