mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
account_banking_payment refactoring to make payment export features available without pulling bank statement features
- introduce account_banking_payment_export module with all features from account_banking_payment that do not involve changing the payment order workflow or depend on bank statement changes - account_banking_payment_export does not depend on account_banking - account_banking_payment is consequently stripped of above features - account_banking_sepa_credit_transfer depend on account_banking_payment_export and is compatible with the default payment order workflow
This commit is contained in:
committed by
Enric Tobella
parent
d0e86d5dcf
commit
294c345a4b
@@ -26,7 +26,7 @@
|
||||
'author': 'Akretion',
|
||||
'website': 'http://www.akretion.com',
|
||||
'category': 'Banking addons',
|
||||
'depends': ['account_banking_payment'],
|
||||
'depends': ['account_banking_payment_export'],
|
||||
'data': [
|
||||
'account_banking_sepa_view.xml',
|
||||
'wizard/export_sepa_view.xml',
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
|
||||
<menuitem id="menu_account_banking_sepa"
|
||||
parent="account_banking.menu_finance_banking_actions"
|
||||
parent="account_payment.menu_main_payment"
|
||||
action="action_account_banking_sepa"
|
||||
sequence="15"
|
||||
/>
|
||||
|
||||
@@ -335,5 +335,5 @@ class banking_export_sepa_wizard(orm.TransientModel):
|
||||
sepa_export.file_id.id, {'state': 'sent'}, context=context)
|
||||
wf_service = netsvc.LocalService('workflow')
|
||||
for order in sepa_export.payment_order_ids:
|
||||
wf_service.trg_validate(uid, 'payment.order', order.id, 'sent', cr)
|
||||
wf_service.trg_validate(uid, 'payment.order', order.id, 'done', cr)
|
||||
return {'type': 'ir.actions.act_window_close'}
|
||||
|
||||
Reference in New Issue
Block a user