[tryton-debian-vcs] tryton-modules-analytic-invoice branch upstream-2.2 created. e857191e03871d75c4984e7208b51f2180545be1

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Nov 27 16:58:18 UTC 2013


The following commit has been merged in the upstream-2.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-analytic-invoice.git;a=commitdiff;h=e857191e03871d75c4984e7208b51f2180545be1
commit e857191e03871d75c4984e7208b51f2180545be1
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat May 4 15:31:21 2013 +0200

    Adding upstream version 2.2.1.

diff --git a/CHANGELOG b/CHANGELOG
index 905eea5..2d86f84 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.2.1 - 2013-05-02
+* Bug fixes (see mercurial logs for details)
+
 Version 2.2.0 - 2011-10-24
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index dc946a1..9bf40da 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: trytond_analytic_invoice
-Version: 2.2.0
+Version: 2.2.1
 Summary: Add analytic account on invoice lines and generate analytic lines on the moves of invoice.
 
 Home-page: http://www.tryton.org/
diff --git a/__tryton__.py b/__tryton__.py
index a04c27f..acff811 100644
--- a/__tryton__.py
+++ b/__tryton__.py
@@ -7,7 +7,7 @@
     'name_es_CO': 'Facturación Analítica',
     'name_es_ES': 'Facturación analítica',
     'name_fr_FR': 'Facturation analytique',
-    'version': '2.2.0',
+    'version': '2.2.1',
     'author': 'B2CK',
     'email': 'info at b2ck.com',
     'website': 'http://www.tryton.org/',
diff --git a/invoice.py b/invoice.py
index 17fa67c..3d27262 100644
--- a/invoice.py
+++ b/invoice.py
@@ -206,7 +206,8 @@ class InvoiceLine(ModelSQL, ModelView):
                     vals['credit'] = value['credit']
                     vals['account'] = account.id
                     vals['journal'] = line.invoice.journal.id
-                    vals['date'] = line.invoice.invoice_date
+                    vals['date'] = (line.invoice.accounting_date
+                        or line.invoice.invoice_date)
                     vals['reference'] = line.invoice.reference
                     vals['party'] = line.invoice.party.id
                     value['analytic_lines'].append(('create', vals))
diff --git a/trytond_analytic_invoice.egg-info/PKG-INFO b/trytond_analytic_invoice.egg-info/PKG-INFO
index 70f8ed4..a674c98 100644
--- a/trytond_analytic_invoice.egg-info/PKG-INFO
+++ b/trytond_analytic_invoice.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: trytond-analytic-invoice
-Version: 2.2.0
+Version: 2.2.1
 Summary: Add analytic account on invoice lines and generate analytic lines on the moves of invoice.
 
 Home-page: http://www.tryton.org/
-- 
tryton-modules-analytic-invoice



More information about the tryton-debian-vcs mailing list