mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[ADD] field 'residual' in bank statement line trees
[RFR] field 'match_type' on bank statement lines is now a related field [FIX] bug: invoices with state 'debid denied' are selected for new nebit orders [ADD] filter button on invoices search view for state 'debit denied' [FIX] invoice workflow does not allow reopening of invoices in state debit denied [FIX] match wizard does not show payment line but move line for storno type matches
This commit is contained in:
@@ -12,7 +12,9 @@ class payment_mode(osv.osv):
|
||||
domain=[('type', '=', 'other'),
|
||||
('reconcile', '=', True)],
|
||||
help=('Pay off lines in sent orders with a ' +
|
||||
'move on this account. For debit type modes only'),
|
||||
'move on this account. For debit type modes only. ' +
|
||||
'You can only select accounts of type regular that ' +
|
||||
'are marked for reconciliation'),
|
||||
),
|
||||
'transfer_journal_id': fields.many2one(
|
||||
'account.journal', 'Transfer journal',
|
||||
@@ -436,6 +438,7 @@ class payment_order_create(osv.osv_memory):
|
||||
domain = [
|
||||
('reconcile_id', '=', False),
|
||||
('account_id.type', '=', 'receivable'),
|
||||
('invoice_state', '!=', 'debit_denied'),
|
||||
('amount_to_receive', '>', 0),
|
||||
]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user