[tryton-debian-vcs] tryton-modules-purchase-invoice-line-standalone branch upstream-2.2 created. 9d0f1f41263bb89306f91720645a834b9c20f0bb

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Nov 27 17:07:54 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-purchase-invoice-line-standalone.git;a=commitdiff;h=9d0f1f41263bb89306f91720645a834b9c20f0bb
commit 9d0f1f41263bb89306f91720645a834b9c20f0bb
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Feb 24 19:46:21 2013 +0100

    Adding upstream version 2.2.2.

diff --git a/CHANGELOG b/CHANGELOG
index 80fd666..c13f9dd 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,9 @@
+Version 2.2.2 - 2013-02-12
+* Bug fixes (see mercurial logs for details)
+
+Version 2.2.1 - 2012-01-17 (require database update)
+* Bug fixes (see mercurial logs for details)
+
 Version 2.2.0 - 2011-10-25
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 3d2324b..da9ef80 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2011 Cédric Krier.
+Copyright (C) 2008-2013 Cédric Krier.
 Copyright (C) 2008-2011 Bertrand Chenal.
-Copyright (C) 2008-2011 B2CK SPRL.
+Copyright (C) 2008-2013 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index ae2131f..f31b1ec 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: trytond_purchase_invoice_line_standalone
-Version: 2.2.0
+Version: 2.2.2
 Summary: 
 Change the purchase order behaviour to create standalone invoice lines instead of a
 complete invoice. This allow to compose invoices with lines originating
diff --git a/__tryton__.py b/__tryton__.py
index 6f1521a..6b72b4d 100644
--- a/__tryton__.py
+++ b/__tryton__.py
@@ -7,7 +7,7 @@
     "name_es_CO" : "Línea de Factura autónoma en Compras",
     "name_es_ES" : "Línea de factura de compra independiente",
     "name_fr_FR" : "Ligne de facture autonome - Achat",
-    "version" : "2.2.0",
+    "version" : "2.2.2",
     "author" : "B2CK",
     'email': 'info at b2ck.com',
     'website': 'http://www.tryton.org/',
diff --git a/purchase.py b/purchase.py
index 6d763f4..0ab380f 100644
--- a/purchase.py
+++ b/purchase.py
@@ -37,7 +37,7 @@ class Purchase(ModelSQL, ModelView):
                 invoice_line_obj.write(line_ids, {
                     'invoice': False,
                     'invoice_type': invoice.type,
-                    'party': invoice.party,
+                    'party': invoice.party.id,
                     'currency': invoice.currency.id,
                     'company': invoice.company.id,
                     })
diff --git a/purchase.xml b/purchase.xml
index cf8761b..cade800 100644
--- a/purchase.xml
+++ b/purchase.xml
@@ -27,7 +27,7 @@ this repository contains the full copyright notices and license terms. -->
                 ref="purchase.purchase_activity_invoice_done"/>
             <field name="trigger_model">account.invoice.line</field>
             <field name="trigger_ids">wkf_triggered_invoice_lines</field>
-            <field name="condition">invoice_paid</field>
+            <field name="condition">wkf_invoice_waiting2invoice_done</field>
         </record>
 
         <record model="workflow.transition"
@@ -38,7 +38,7 @@ this repository contains the full copyright notices and license terms. -->
                 ref="purchase.purchase_activity_invoice_shipment_done"/>
             <field name="trigger_model">account.invoice.line</field>
             <field name="trigger_ids">wkf_triggered_invoice_lines</field>
-            <field name="condition">invoice_paid</field>
+            <field name="condition">wkf_waiting_invoice_shipment2invoice_shipment_done</field>
         </record>
 
     </data>
diff --git a/trytond_purchase_invoice_line_standalone.egg-info/PKG-INFO b/trytond_purchase_invoice_line_standalone.egg-info/PKG-INFO
index 22d31cd..9cee131 100644
--- a/trytond_purchase_invoice_line_standalone.egg-info/PKG-INFO
+++ b/trytond_purchase_invoice_line_standalone.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: trytond-purchase-invoice-line-standalone
-Version: 2.2.0
+Version: 2.2.2
 Summary: 
 Change the purchase order behaviour to create standalone invoice lines instead of a
 complete invoice. This allow to compose invoices with lines originating
-- 
tryton-modules-purchase-invoice-line-standalone



More information about the tryton-debian-vcs mailing list