[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:
OpenERP instance user
2011-12-21 14:06:26 +01:00
parent 363c82c2e2
commit 059e8d4420
10 changed files with 62 additions and 16 deletions

View File

@@ -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: