[tryton-debian-vcs] tryton-modules-analytic-account branch upstream-3.8 updated. upstream/3.8.0-1-gde75948
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun Jun 11 22:35:54 UTC 2017
The following commit has been merged in the upstream-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-analytic-account.git;a=commitdiff;h=upstream/3.8.0-1-gde75948
commit de759482d2fe2b57023861a95b9c994bd2a8a427
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sun Jun 11 23:03:33 2017 +0200
Adding upstream version 3.8.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index c602458..9f0b464 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.1 - 2017-06-06
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.0 - 2015-11-02
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 3a28212..dba4452 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2015 Cédric Krier.
+Copyright (C) 2008-2017 Cédric Krier.
Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2015 B2CK SPRL.
+Copyright (C) 2008-2017 B2CK SPRL.
Copyright (C) 2004-2008 Tiny SPRL.
This program is free software: you can redistribute it and/or modify
diff --git a/PKG-INFO b/PKG-INFO
index 987f2d8..584fb59 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_analytic_account
-Version: 3.8.0
+Version: 3.8.1
Summary: Tryton module for analytic accounting
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/line.py b/line.py
index 4e7e966..9c01353 100644
--- a/line.py
+++ b/line.py
@@ -95,15 +95,15 @@ class Line(ModelSQL, ModelView):
if self.move_line:
return self.move_line.account.company.currency.id
- @fields.depends('move_line')
+ @fields.depends('move_line', '_parent_move_line.account')
def on_change_with_currency_digits(self, name=None):
- if self.move_line:
+ if self.move_line and self.move_line.account:
return self.move_line.account.company.currency.digits
return 2
- @fields.depends('move_line')
+ @fields.depends('move_line', '_parent_move_line.account')
def on_change_with_company(self, name=None):
- if self.move_line:
+ if self.move_line and self.move_line.account:
return self.move_line.account.company.id
@staticmethod
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff --git a/tryton.cfg b/tryton.cfg
index 47f37a8..2ce8ace 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.0
+version=3.8.1
depends:
account
company
diff --git a/trytond_analytic_account.egg-info/PKG-INFO b/trytond_analytic_account.egg-info/PKG-INFO
index 296291b..bbebc67 100644
--- a/trytond_analytic_account.egg-info/PKG-INFO
+++ b/trytond_analytic_account.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-analytic-account
-Version: 3.8.0
+Version: 3.8.1
Summary: Tryton module for analytic accounting
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_analytic_account.egg-info/requires.txt b/trytond_analytic_account.egg-info/requires.txt
index 16b862e..7c95b32 100644
--- a/trytond_analytic_account.egg-info/requires.txt
+++ b/trytond_analytic_account.egg-info/requires.txt
@@ -3,4 +3,4 @@ trytond_account >= 3.8, < 3.9
trytond_company >= 3.8, < 3.9
trytond_currency >= 3.8, < 3.9
trytond_party >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond >= 3.8, < 3.9
--
tryton-modules-analytic-account
More information about the tryton-debian-vcs
mailing list