Update automated tests and demo data

Add on_change on field 'type' of payment.mode for easier configuration
This commit is contained in:
Alexis de Lattre
2015-12-02 00:17:17 +01:00
committed by Pedro M. Baeza
parent 27d3b46389
commit 9ebcbd4bcb
7 changed files with 82 additions and 138 deletions

View File

@@ -94,12 +94,6 @@ class BankPaymentLine(models.Model):
"been reconciled") % (
payment_line.move_line_id.name,
payment_line.partner_id.name))
if payment_line.move_line_id.reconcile_partial_id:
raise UserError(_(
"Move line '%s' of partner '%s' has already "
"been partially reconciled") % (
payment_line.move_line_id.name,
payment_line.partner_id.name))
if (
payment_line.move_line_id.account_id !=
transit_move_line.account_id):