[tryton-debian-vcs] tryton-modules-account-invoice-line-standalone branch upstream updated. upstream/3.4.1-1-gf0a53ad

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Apr 23 16:01:44 UTC 2015


The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice-line-standalone.git;a=commitdiff;h=upstream/3.4.1-1-gf0a53ad

commit f0a53ad514f650ba7755d42a02dd3ff4804b008e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Apr 23 16:59:50 2015 +0200

    Adding upstream version 3.6.0.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 222e6b2..8d9bc0d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,6 @@
-Version 3.4.1 - 2015-03-01
+Version 3.6.0 - 2015-04-20
 * Bug fixes (see mercurial logs for details)
-
+* Add support for PyPy
 Version 3.4.0 - 2014-10-20
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index f260b28..ce80aa3 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice_line_standalone
-Version: 3.4.1
+Version: 3.6.0
 Summary: Tryton module to have standalone invoice lines
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.4/
+Download-URL: http://downloads.tryton.org/3.6/
 Description: trytond_account_invoice_line_standalone
         =======================================
         
@@ -63,4 +63,6 @@ Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/__init__.py b/__init__.py
index ee38735..32bc3ef 100644
--- a/__init__.py
+++ b/__init__.py
@@ -1,5 +1,5 @@
-#This file is part of Tryton.  The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# This file is part of Tryton.  The COPYRIGHT file at the top level of
+# this repository contains the full copyright notices and license terms.
 
 from trytond.pool import Pool
 from .invoice import *
diff --git a/invoice.py b/invoice.py
index a8e3c31..0a3d6d6 100644
--- a/invoice.py
+++ b/invoice.py
@@ -1,5 +1,5 @@
-#This file is part of Tryton.  The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# This file is part of Tryton.  The COPYRIGHT file at the top level of
+# this repository contains the full copyright notices and license terms.
 from trytond.pyson import Eval
 from trytond.transaction import Transaction
 from trytond.pool import PoolMeta
diff --git a/invoice.xml b/invoice.xml
index fe1a39e..ed964fd 100644
--- a/invoice.xml
+++ b/invoice.xml
@@ -6,21 +6,27 @@ this repository contains the full copyright notices and license terms. -->
         <record model="ir.ui.view" id="invoice_line_view_form">
             <field name="model">account.invoice.line</field>
             <field name="inherit" ref="account_invoice.invoice_line_view_form"/>
-            <field name="domain">context.get('standalone', False)</field>
+            <field name="domain"
+                eval="Eval('context', {}).get('standalone', False)" pyson="1"/>
             <field name="name">invoice_line_form</field>
         </record>
         <record model="ir.ui.view" id="invoice_line_view_tree">
             <field name="model">account.invoice.line</field>
             <field name="inherit" ref="account_invoice.invoice_line_view_tree"/>
-            <field name="domain">context.get('standalone', False)</field>
+            <field name="domain"
+                eval="Eval('context', {}).get('standalone', False)" pyson="1"/>
             <field name="name">invoice_line_tree</field>
         </record>
 
         <record model="ir.action.act_window" id="act_invoice_line_out_invoice_form">
             <field name="name">Invoice Lines</field>
             <field name="res_model">account.invoice.line</field>
-            <field name="domain">[('invoice_type', '=', 'out_invoice'), ('invoice', '=', None)]</field>
-            <field name="context">{'invoice_type': 'out_invoice', 'standalone': True}</field>
+            <field name="domain"
+                eval="[('invoice_type', '=', 'out_invoice'), ('invoice', '=', None)]"
+                pyson="1"/>
+            <field name="context"
+                eval="{'invoice_type': 'out_invoice', 'standalone': True}"
+                pyson="1"/>
         </record>
         <record model="ir.action.act_window.view" id="act_invoice_line_out_invoice_form_view1">
             <field name="sequence" eval="10"/>
@@ -39,8 +45,12 @@ this repository contains the full copyright notices and license terms. -->
         <record model="ir.action.act_window" id="act_invoice_line_out_credit_note_form">
             <field name="name">Credit Note Lines</field>
             <field name="res_model">account.invoice.line</field>
-            <field name="domain">[('invoice_type', '=', 'out_credit_note'), ('invoice', '=', None)]</field>
-            <field name="context">{'invoice_type': 'out_credit_note', 'standalone': True}</field>
+            <field name="domain"
+                eval="[('invoice_type', '=', 'out_credit_note'), ('invoice', '=', None)]"
+                pyson="1"/>
+            <field name="context"
+                eval="{'invoice_type': 'out_credit_note', 'standalone': True}"
+                pyson="1"/>
         </record>
         <record model="ir.action.act_window.view" id="act_invoice_line_out_credit_note_form_view1">
             <field name="sequence" eval="10"/>
@@ -59,8 +69,12 @@ this repository contains the full copyright notices and license terms. -->
         <record model="ir.action.act_window" id="act_invoice_line_in_invoice_form">
             <field name="name">Supplier Invoice Lines</field>
             <field name="res_model">account.invoice.line</field>
-            <field name="domain">[('invoice_type', '=', 'in_invoice'), ('invoice', '=', None)]</field>
-            <field name="context">{'invoice_type': 'in_invoice', 'standalone': True}</field>
+            <field name="domain"
+                eval="[('invoice_type', '=', 'in_invoice'), ('invoice', '=', None)]"
+                pyson="1"/>
+            <field name="context"
+                eval="{'invoice_type': 'in_invoice', 'standalone': True}"
+                pyson="1"/>
         </record>
         <record model="ir.action.act_window.view" id="act_invoice_line_in_invoice_form_view1">
             <field name="sequence" eval="10"/>
@@ -79,8 +93,12 @@ this repository contains the full copyright notices and license terms. -->
         <record model="ir.action.act_window" id="act_invoice_line_in_credit_note_form">
             <field name="name">Supplier Credit Note Lines</field>
             <field name="res_model">account.invoice.line</field>
-            <field name="domain">[('invoice_type', '=', 'in_credit_note'), ('invoice', '=', None)]</field>
-            <field name="context">{'invoice_type': 'in_credit_note', 'standalone': True}</field>
+            <field name="domain"
+                eval="[('invoice_type', '=', 'in_credit_note'), ('invoice', '=', None)]"
+                pyson="1"/>
+            <field name="context"
+                eval="{'invoice_type': 'in_credit_note', 'standalone': True}"
+                pyson="1"/>
         </record>
         <record model="ir.action.act_window.view" id="act_invoice_line_in_credit_note_form_view1">
             <field name="sequence" eval="10"/>
diff --git a/locale/es_EC.po b/locale/es_EC.po
index 0a64a4b..028885d 100644
--- a/locale/es_EC.po
+++ b/locale/es_EC.po
@@ -4,19 +4,19 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "model:ir.action,name:act_invoice_line_in_credit_note_form"
 msgid "Supplier Credit Note Lines"
-msgstr "Líneas de Nota de Crédito de Proveedor"
+msgstr "Líneas de nota de crédito de proveedor"
 
 msgctxt "model:ir.action,name:act_invoice_line_in_invoice_form"
 msgid "Supplier Invoice Lines"
-msgstr "Líneas de Factura de Proveedor"
+msgstr "Líneas de factura de proveedor"
 
 msgctxt "model:ir.action,name:act_invoice_line_out_credit_note_form"
 msgid "Credit Note Lines"
-msgstr "Líneas de Nota de Crédito"
+msgstr "Líneas de nota de crédito"
 
 msgctxt "model:ir.action,name:act_invoice_line_out_invoice_form"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr "Líneas de factura"
 
 msgctxt "model:ir.ui.menu,name:menu_invoice_line_in_credit_note_form"
 msgid "Supplier Credit Note Lines"
diff --git a/setup.py b/setup.py
index 297414c..e2e68e4 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
-#This file is part of Tryton.  The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# This file is part of Tryton.  The COPYRIGHT file at the top level of
+# this repository contains the full copyright notices and license terms.
 
 from setuptools import setup
 import re
@@ -84,6 +84,8 @@ setup(name=name,
         'Natural Language :: Spanish',
         'Operating System :: OS Independent',
         'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: Implementation :: CPython',
+        'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Office/Business',
         ],
     license='GPL-3',
diff --git a/tests/__init__.py b/tests/__init__.py
index da00e1f..b4c8e1a 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,5 +1,5 @@
-#This file is part of Tryton.  The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# This file is part of Tryton.  The COPYRIGHT file at the top level of
+# this repository contains the full copyright notices and license terms.
 
 from .test_account_invoice_line_standalone import suite
 
diff --git a/tests/test_account_invoice_line_standalone.py b/tests/test_account_invoice_line_standalone.py
index 3640b32..4933a79 100644
--- a/tests/test_account_invoice_line_standalone.py
+++ b/tests/test_account_invoice_line_standalone.py
@@ -1,24 +1,13 @@
-#This file is part of Tryton.  The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# This file is part of Tryton.  The COPYRIGHT file at the top level of
+# this repository contains the full copyright notices and license terms.
 import unittest
 import trytond.tests.test_tryton
-from trytond.tests.test_tryton import test_view, test_depends
+from trytond.tests.test_tryton import ModuleTestCase
 
 
-class AccountInvoiceLineStandaloneTestCase(unittest.TestCase):
+class AccountInvoiceLineStandaloneTestCase(ModuleTestCase):
     'Test AccountInvoiceLineStandalone module'
-
-    def setUp(self):
-        trytond.tests.test_tryton.install_module(
-            'account_invoice_line_standalone')
-
-    def test0005views(self):
-        'Test views'
-        test_view('account_invoice_line_standalone')
-
-    def test0006depends(self):
-        'Test depends'
-        test_depends()
+    module = 'account_invoice_line_standalone'
 
 
 def suite():
diff --git a/tryton.cfg b/tryton.cfg
index 2ec054f..a4a64c3 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.4.1
+version=3.6.0
 depends:
     account_invoice
     ir
diff --git a/trytond_account_invoice_line_standalone.egg-info/PKG-INFO b/trytond_account_invoice_line_standalone.egg-info/PKG-INFO
index f9091b9..a67f314 100644
--- a/trytond_account_invoice_line_standalone.egg-info/PKG-INFO
+++ b/trytond_account_invoice_line_standalone.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-account-invoice-line-standalone
-Version: 3.4.1
+Version: 3.6.0
 Summary: Tryton module to have standalone invoice lines
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.4/
+Download-URL: http://downloads.tryton.org/3.6/
 Description: trytond_account_invoice_line_standalone
         =======================================
         
@@ -63,4 +63,6 @@ Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/trytond_account_invoice_line_standalone.egg-info/requires.txt b/trytond_account_invoice_line_standalone.egg-info/requires.txt
index a71bcbb..1a851ed 100644
--- a/trytond_account_invoice_line_standalone.egg-info/requires.txt
+++ b/trytond_account_invoice_line_standalone.egg-info/requires.txt
@@ -1,2 +1,2 @@
-trytond_account_invoice >= 3.4, < 3.5
-trytond >= 3.4, < 3.5
\ No newline at end of file
+trytond_account_invoice >= 3.6, < 3.7
+trytond >= 3.6, < 3.7
\ No newline at end of file
-- 
tryton-modules-account-invoice-line-standalone



More information about the tryton-debian-vcs mailing list