[tryton-debian-vcs] tryton-modules-account-invoice branch debian-stretch-3.8 updated. debian/3.8.2-1-3-g8f71a20
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:02:54 UTC 2016
The following commit has been merged in the debian-stretch-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=debian/3.8.2-1-3-g8f71a20
commit 8f71a205d359b674c5010ae008607d3aaaf3ee47
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 11 19:28:07 2016 +0200
Releasing debian version 3.8.3-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index b4a1ae6..a057bf9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-account-invoice (3.8.3-1) unstable; urgency=medium
+
+ * Setting the branch in the watch file to the fixed version 3.8.
+ * Merging upstream version 3.8.3.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Mon, 11 Jul 2016 19:28:07 +0200
+
tryton-modules-account-invoice (3.8.2-1) unstable; urgency=medium
* Updating signing-key.asc with the actual upstream maintainer keys.
commit ad4d8ad4ba6d0eb2d236e946d485e80d72fa6a52
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 11 19:28:06 2016 +0200
Merging upstream version 3.8.3.
diff --git a/CHANGELOG b/CHANGELOG
index dd479b8..8d02a33 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.3 - 2016-07-05
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.2 - 2016-04-06
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 9f88079..25e6a80 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_invoice
-Version: 3.8.2
+Version: 3.8.3
Summary: Tryton module for invoicing
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/invoice.py b/invoice.py
index 3c61c61..54dded6 100644
--- a/invoice.py
+++ b/invoice.py
@@ -2121,7 +2121,8 @@ class InvoiceTax(ModelSQL, ModelView):
self.tax_sign = tax.credit_note_tax_sign
self.account = tax.credit_note_account
- @fields.depends('tax', 'base', 'amount', 'manual')
+ @fields.depends('tax', 'base', 'amount', 'manual',
+ '_parent_invoice.currency')
def on_change_with_amount(self):
Tax = Pool().get('account.tax')
if self.tax and self.manual:
@@ -2130,7 +2131,10 @@ class InvoiceTax(ModelSQL, ModelView):
for values in Tax.compute([tax], base, 1):
if (values['tax'] == tax
and values['base'] == base):
- return values['amount']
+ amount = values['amount']
+ if self.invoice.currency:
+ amount = self.invoice.currency.round(amount)
+ return amount
return self.amount
@classmethod
diff --git a/tryton.cfg b/tryton.cfg
index 5ef228f..2479cc6 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.2
+version=3.8.3
depends:
account
account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index 55ca2b7..661afe4 100644
--- a/trytond_account_invoice.egg-info/PKG-INFO
+++ b/trytond_account_invoice.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-account-invoice
-Version: 3.8.2
+Version: 3.8.3
Summary: Tryton module for invoicing
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-account-invoice
More information about the tryton-debian-vcs
mailing list