summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2016-12-02 10:34:37 +0100
committerOlivier Dony <odo@openerp.com>2016-12-02 10:37:19 +0100
commit4f6a102964fced3596fbed8d88d072767f33e7fb (patch)
treeb7b3751499df51ed5de5d38fcbf37f68aa0a1cc4
parenta6999fa4bb8e19e37c6a3453d026e8159ed926ad (diff)
[FIX] account_tax_cash_basis: bad fwd-port of 46c5db095af77bd61c883c6af5f801da4da1d9da
To be forward-ported separately, cfr opw:693453
-rw-r--r--addons/account_tax_cash_basis/models/account_partial_reconcile.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/account_tax_cash_basis/models/account_partial_reconcile.py b/addons/account_tax_cash_basis/models/account_partial_reconcile.py
index 7120252eb08..382219a8b68 100644
--- a/addons/account_tax_cash_basis/models/account_partial_reconcile.py
+++ b/addons/account_tax_cash_basis/models/account_partial_reconcile.py
@@ -89,8 +89,6 @@ class AccountPartialReconcileCashBasis(models.Model):
newly_created_move.write({'date': move_date})
# post move
newly_created_move.post()
- # Only entries with cash flow must be created
- if not self.company_id.currency_id.is_zero(v):
def _create_tax_basis_move(self):
# Check if company_journal for cash basis is set if not, raise exception