From 37bb253166a078f14480b6cb8fd04dc7b1306412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 12 Jun 2017 13:03:34 +0200 Subject: [PATCH] [FIX] account: allow to reinitialize module Account demo data try to add lines to payment terms. However when reinitializing the module similar lines are added and a constraint raises as there should not have duplicates. This commit voids payment terms before refilling them. --- addons/account/demo/account_demo.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/demo/account_demo.xml b/addons/account/demo/account_demo.xml index 9bbc7959e18..049c4462e9a 100644 --- a/addons/account/demo/account_demo.xml +++ b/addons/account/demo/account_demo.xml @@ -24,13 +24,13 @@ End of Following Month Payment terms: End of Following Month - + 30% Advance End of Following Month Payment terms: 30% Advance End of Following Month -