[tryton-debian-vcs] tryton-modules-account-statement branch upstream updated. upstream/4.2.0-1-g7c91564

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Jun 7 13:32:14 UTC 2017


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-statement.git;a=commitdiff;h=upstream/4.2.0-1-g7c91564

commit 7c915645792b24d2a26635807283a90c78f2f62a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jun 7 15:25:58 2017 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index df2ba1c..da77678 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,8 @@
+Version 4.4.0 - 2017-05-01
+* Bug fixes (see mercurial logs for details)
+* Add statement line number as move description
+* Set description on statement account line if unique
+
 Version 4.2.0 - 2016-11-28
 * Bug fixes (see mercurial logs for details)
 * Manage readonly state on Statement Line
diff --git a/COPYRIGHT b/COPYRIGHT
index 48f96af..dba4452 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2016 Cédric Krier.
+Copyright (C) 2008-2017 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2016 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 df0d8c3..846fc29 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_account_statement
-Version: 4.2.0
+Version: 4.4.0
 Summary: Tryton module with account statements
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/4.2/
+Download-URL: http://downloads.tryton.org/4.4/
 Description: trytond_account_statement
         =========================
         
@@ -51,7 +51,7 @@ Classifier: Framework :: Tryton
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Financial and Insurance Industry
 Classifier: Intended Audience :: Legal Industry
-Classifier: License :: OSI Approved :: GNU General Public License (GPL)
+Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
 Classifier: Natural Language :: Bulgarian
 Classifier: Natural Language :: Catalan
 Classifier: Natural Language :: Chinese (Simplified)
diff --git a/locale/es_419.po b/locale/es_419.po
index 33c2a1f..b808d8d 100644
--- a/locale/es_419.po
+++ b/locale/es_419.po
@@ -21,14 +21,16 @@ msgstr ""
 msgctxt "error:account.statement:"
 msgid "Please provide debit and credit account on statement journal \"%s\"."
 msgstr ""
+"Por favor proporcione una cuenta de débito y de crédito en el libro diario "
+"del estado de cuenta \"%s\"."
 
 msgctxt "error:account.statement:"
 msgid "Statement \"%s\" must be cancelled before deletion."
-msgstr ""
+msgstr "Debe cancelar el estado de cuenta \"%s\" antes de eliminarlo."
 
 msgctxt "error:account.statement:"
 msgid "There are paid invoices on draft statements."
-msgstr ""
+msgstr "Hay facturas pagadas en los estados de cuenta borrador."
 
 msgctxt "error:account.statement:"
 msgid "Total Amount must be \"%s\"."
@@ -36,7 +38,7 @@ msgstr ""
 
 msgctxt "field:account.statement,balance:"
 msgid "Balance"
-msgstr ""
+msgstr "Saldo"
 
 msgctxt "field:account.statement,company:"
 msgid "Company"
@@ -60,7 +62,7 @@ msgstr ""
 
 msgctxt "field:account.statement,end_balance:"
 msgid "End Balance"
-msgstr ""
+msgstr "Saldo Final"
 
 msgctxt "field:account.statement,id:"
 msgid "ID"
@@ -68,7 +70,7 @@ msgstr ""
 
 msgctxt "field:account.statement,journal:"
 msgid "Journal"
-msgstr ""
+msgstr "Libro diario"
 
 msgctxt "field:account.statement,lines:"
 msgid "Lines"
@@ -88,7 +90,7 @@ msgstr ""
 
 msgctxt "field:account.statement,start_balance:"
 msgid "Start Balance"
-msgstr ""
+msgstr "Saldo Inicial"
 
 msgctxt "field:account.statement,state:"
 msgid "State"
@@ -132,7 +134,7 @@ msgstr ""
 
 msgctxt "field:account.statement.journal,journal:"
 msgid "Journal"
-msgstr ""
+msgstr "Libro diario"
 
 msgctxt "field:account.statement.journal,name:"
 msgid "Name"
@@ -206,14 +208,13 @@ msgctxt "field:account.statement.line,sequence:"
 msgid "Sequence"
 msgstr ""
 
-#, fuzzy
 msgctxt "field:account.statement.line,statement:"
 msgid "Statement"
-msgstr "Statement"
+msgstr "Estado de cuenta"
 
 msgctxt "field:account.statement.line,statement_state:"
 msgid "Statement State"
-msgstr ""
+msgstr "Estado del estado de cuenta"
 
 msgctxt "field:account.statement.line,write_date:"
 msgid "Write Date"
@@ -253,12 +254,11 @@ msgstr ""
 
 msgctxt "field:account.statement.line.group,journal:"
 msgid "Journal"
-msgstr ""
+msgstr "Libro diario"
 
-#, fuzzy
 msgctxt "field:account.statement.line.group,move:"
 msgid "Move"
-msgstr "Moves"
+msgstr ""
 
 msgctxt "field:account.statement.line.group,number:"
 msgid "Number"
@@ -272,10 +272,9 @@ msgctxt "field:account.statement.line.group,rec_name:"
 msgid "Name"
 msgstr ""
 
-#, fuzzy
 msgctxt "field:account.statement.line.group,statement:"
 msgid "Statement"
-msgstr "Statement"
+msgstr "Estado de cuenta"
 
 msgctxt "field:account.statement.line.group,write_date:"
 msgid "Write Date"
@@ -287,103 +286,102 @@ msgstr ""
 
 msgctxt "model:account.journal.type,name:journal_type_statement"
 msgid "Statement"
-msgstr "Statement"
+msgstr "Estado de cuenta"
 
 msgctxt "model:account.statement,name:"
 msgid "Account Statement"
-msgstr ""
+msgstr "Estado de cuenta"
 
-#, fuzzy
 msgctxt "model:account.statement.journal,name:"
 msgid "Statement Journal"
-msgstr "Statement Journals"
+msgstr "Libro diario de estado de cuenta"
 
 msgctxt "model:account.statement.line,name:"
 msgid "Account Statement Line"
-msgstr ""
+msgstr "Línea de estado de cuenta"
 
 msgctxt "model:account.statement.line.group,name:"
 msgid "Account Statement Line Group"
-msgstr ""
+msgstr "Grupo de líneas de estado de cuenta"
 
 msgctxt "model:ir.action,name:act_line_group_form"
 msgid "Statement Line Groups"
-msgstr "Statement Line Groups"
+msgstr "Grupos de líneas de estado de cuenta"
 
 msgctxt "model:ir.action,name:act_line_groups_form"
 msgid "Line Groups"
-msgstr "Line Groups"
+msgstr ""
 
 msgctxt "model:ir.action,name:act_move_lines_form"
 msgid "Move Lines"
-msgstr "Move Lines"
+msgstr "Líneas de asiento"
 
 msgctxt "model:ir.action,name:act_moves_form"
 msgid "Moves"
-msgstr "Moves"
+msgstr ""
 
 msgctxt "model:ir.action,name:act_statement_form"
 msgid "Statements"
-msgstr "Statements"
+msgstr "Estados de cuenta"
 
 msgctxt "model:ir.action,name:act_statement_journal_form"
 msgid "Statement Journals"
-msgstr "Statement Journals"
+msgstr "Libros diarios de estados de cuenta"
 
 msgctxt "model:ir.action,name:act_statement_line_move"
 msgid "Statement Lines"
-msgstr "Statement Lines"
+msgstr "Líneas de estado de cuenta"
 
 msgctxt "model:ir.action,name:act_statement_line_move_line"
 msgid "Statement Lines"
-msgstr "Statement Lines"
+msgstr "Líneas de estado de cuenta"
 
 msgctxt "model:ir.action,name:report_statement"
 msgid "Statement"
-msgstr "Statement"
+msgstr "Estado de cuenta"
 
 msgctxt "model:ir.action.act_window.domain,name:act_statement_form_domain_all"
 msgid "All"
-msgstr "All"
+msgstr ""
 
 msgctxt ""
 "model:ir.action.act_window.domain,name:act_statement_form_domain_draft"
 msgid "Draft"
-msgstr "Draft"
+msgstr ""
 
 msgctxt ""
 "model:ir.action.act_window.domain,name:act_statement_form_domain_posted"
 msgid "Posted"
-msgstr "Posted"
+msgstr ""
 
 msgctxt ""
 "model:ir.action.act_window.domain,name:act_statement_form_domain_validated"
 msgid "Validated"
-msgstr "Validated"
+msgstr ""
 
 msgctxt "model:ir.ui.menu,name:menu_line_group_form"
 msgid "Statement Line Groups"
-msgstr "Statement Line Groups"
+msgstr "Grupos de líneas de estado de cuenta"
 
 msgctxt "model:ir.ui.menu,name:menu_statement_configuration"
 msgid "Statements"
-msgstr "Statements"
+msgstr "Estados de cuenta"
 
 msgctxt "model:ir.ui.menu,name:menu_statement_form"
 msgid "Statements"
-msgstr "Statements"
+msgstr "Estados de cuenta"
 
 msgctxt "model:ir.ui.menu,name:menu_statement_journal_form"
 msgid "Statement Journals"
-msgstr "Statement Journals"
+msgstr "Libros diarios de estados de cuenta"
 
 msgctxt "model:ir.ui.menu,name:menu_statements"
 msgid "Statements"
-msgstr "Statements"
+msgstr "Estados de Cuenta"
 
 msgctxt "model:res.group,name:group_statement"
 msgid "Statement"
-msgstr "Statement"
+msgstr "Estado de Cuenta"
 
 msgctxt "report:account.statement:"
 msgid "#"
@@ -395,7 +393,7 @@ msgstr ""
 
 msgctxt "report:account.statement:"
 msgid "Canceled"
-msgstr ""
+msgstr "Anulado"
 
 msgctxt "report:account.statement:"
 msgid "Date"
@@ -409,14 +407,13 @@ msgctxt "report:account.statement:"
 msgid "Description"
 msgstr ""
 
-#, fuzzy
 msgctxt "report:account.statement:"
 msgid "Draft"
-msgstr "Draft"
+msgstr ""
 
 msgctxt "report:account.statement:"
 msgid "Journal:"
-msgstr ""
+msgstr "Libro diario:"
 
 msgctxt "report:account.statement:"
 msgid "Number"
@@ -426,41 +423,39 @@ msgctxt "report:account.statement:"
 msgid "Party"
 msgstr ""
 
-#, fuzzy
 msgctxt "report:account.statement:"
 msgid "Statement"
-msgstr "Statement"
+msgstr "Estado de cuenta"
 
 msgctxt "report:account.statement:"
 msgid "Total"
 msgstr ""
 
+#, fuzzy
 msgctxt "selection:account.statement,state:"
 msgid "Canceled"
-msgstr ""
+msgstr "Anulado"
 
-#, fuzzy
 msgctxt "selection:account.statement,state:"
 msgid "Draft"
-msgstr "Draft"
+msgstr ""
 
-#, fuzzy
 msgctxt "selection:account.statement,state:"
 msgid "Posted"
-msgstr "Posted"
+msgstr ""
 
-#, fuzzy
 msgctxt "selection:account.statement,state:"
 msgid "Validated"
-msgstr "Validated"
+msgstr ""
 
 msgctxt "selection:account.statement.journal,validation:"
 msgid "Amount"
 msgstr ""
 
+#, fuzzy
 msgctxt "selection:account.statement.journal,validation:"
 msgid "Balance"
-msgstr ""
+msgstr "Saldo"
 
 msgctxt "selection:account.statement.journal,validation:"
 msgid "Number of Lines"
@@ -468,22 +463,19 @@ msgstr ""
 
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Canceled"
-msgstr ""
+msgstr "Anulado"
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Draft"
-msgstr "Draft"
+msgstr ""
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Posted"
-msgstr "Posted"
+msgstr ""
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Validated"
-msgstr "Validated"
+msgstr ""
 
 msgctxt "view:account.statement.line:"
 msgid "Amount"
@@ -491,12 +483,11 @@ msgstr ""
 
 msgctxt "view:account.statement:"
 msgid "Cancel"
-msgstr ""
+msgstr "Anular"
 
-#, fuzzy
 msgctxt "view:account.statement:"
 msgid "Draft"
-msgstr "Draft"
+msgstr ""
 
 msgctxt "view:account.statement:"
 msgid "Other Info"
@@ -506,12 +497,10 @@ msgctxt "view:account.statement:"
 msgid "Post"
 msgstr ""
 
-#, fuzzy
 msgctxt "view:account.statement:"
 msgid "Statement Lines"
-msgstr "Statement Lines"
+msgstr "Líneas de estado de cuenta"
 
-#, fuzzy
 msgctxt "view:account.statement:"
 msgid "Validate"
-msgstr "Validated"
+msgstr ""
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index c7ad567..eb93390 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -212,7 +212,7 @@ msgstr "Extrato"
 
 msgctxt "field:account.statement.line,statement_state:"
 msgid "Statement State"
-msgstr ""
+msgstr "Estado do Extrato"
 
 msgctxt "field:account.statement.line,write_date:"
 msgid "Write Date"
@@ -457,22 +457,18 @@ msgctxt "selection:account.statement.journal,validation:"
 msgid "Number of Lines"
 msgstr "Número de linhas"
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Canceled"
 msgstr "Cancelado"
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Draft"
 msgstr "Rascunho"
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Posted"
 msgstr "Confirmado"
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Validated"
 msgstr "Validado"
diff --git a/locale/sl.po b/locale/sl.po
index 8a64442..1897148 100644
--- a/locale/sl.po
+++ b/locale/sl.po
@@ -212,7 +212,7 @@ msgstr "Izpisek"
 
 msgctxt "field:account.statement.line,statement_state:"
 msgid "Statement State"
-msgstr ""
+msgstr "Stanje izpiska"
 
 msgctxt "field:account.statement.line,write_date:"
 msgid "Write Date"
@@ -457,22 +457,18 @@ msgctxt "selection:account.statement.journal,validation:"
 msgid "Number of Lines"
 msgstr "Število postavk"
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Canceled"
 msgstr "Preklicano"
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Draft"
 msgstr "V pripravi"
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Posted"
 msgstr "Knjiženo"
 
-#, fuzzy
 msgctxt "selection:account.statement.line,statement_state:"
 msgid "Validated"
 msgstr "Odobreno"
diff --git a/setup.py b/setup.py
index 5335f82..66d0e5f 100644
--- a/setup.py
+++ b/setup.py
@@ -85,7 +85,7 @@ setup(name=name,
         'Intended Audience :: Developers',
         'Intended Audience :: Financial and Insurance Industry',
         'Intended Audience :: Legal Industry',
-        'License :: OSI Approved :: GNU General Public License (GPL)',
+        'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
         'Natural Language :: Bulgarian',
         'Natural Language :: Catalan',
         'Natural Language :: Chinese (Simplified)',
diff --git a/statement.py b/statement.py
index 35e3b5e..0b0b066 100644
--- a/statement.py
+++ b/statement.py
@@ -450,7 +450,7 @@ class Statement(Workflow, ModelSQL, ModelView):
                 move_lines.append((move_line, line))
 
             move_line = statement._get_move_line(
-                amount, amount_second_currency)
+                amount, amount_second_currency, lines)
             move_line.move = move
             move_lines.append((move_line, None))
 
@@ -474,9 +474,10 @@ class Statement(Workflow, ModelSQL, ModelView):
             date=key['date'],
             origin=self,
             company=self.company,
+            description=unicode(key['number']),
             )
 
-    def _get_move_line(self, amount, amount_second_currency):
+    def _get_move_line(self, amount, amount_second_currency, lines):
         'Return counterpart Move Line for the amount'
         pool = Pool()
         MoveLine = pool.get('account.move.line')
@@ -497,12 +498,19 @@ class Statement(Workflow, ModelSQL, ModelView):
             second_currency = None
             amount_second_currency = None
 
+        descriptions = {l.description for l in lines}
+        if len(descriptions) == 1:
+            description, = descriptions
+        else:
+            description = ''
+
         return MoveLine(
             debit=abs(amount) if amount < 0 else 0,
             credit=abs(amount) if amount > 0 else 0,
             account=account,
             second_currency=second_currency,
             amount_second_currency=amount_second_currency,
+            description=description,
             )
 
     @classmethod
diff --git a/statement.xml b/statement.xml
index ccbb6c1..f99ae2d 100644
--- a/statement.xml
+++ b/statement.xml
@@ -123,7 +123,8 @@ this repository contains the full copyright notices and license terms. -->
             <field name="name">Statement Lines</field>
             <field name="res_model">account.statement.line</field>
             <field name="domain"
-                eval="[('move', 'in', Eval('active_ids'))]" pyson="1"/>
+                eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('move', '=', Eval('active_id')), ('move', 'in', Eval('active_ids')))]"
+                pyson="1"/>
         </record>
         <record model="ir.action.keyword" id="act_statement_line_move_keyword1">
             <field name="keyword">form_relate</field>
@@ -135,7 +136,8 @@ this repository contains the full copyright notices and license terms. -->
             <field name="name">Statement Lines</field>
             <field name="res_model">account.statement.line</field>
             <field name="domain"
-                eval="[('move.lines', 'in', Eval('active_ids'))]" pyson="1"/>
+                eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('move.lines', '=', Eval('active_id')), ('move.lines', 'in', Eval('active_ids')))]"
+                pyson="1"/>
         </record>
         <record model="ir.action.keyword" id="act_statement_line_move_line_keyword1">
             <field name="keyword">form_relate</field>
@@ -342,7 +344,7 @@ this repository contains the full copyright notices and license terms. -->
             <field name="name">Move Lines</field>
             <field name="res_model">account.move.line</field>
             <field name="domain"
-                eval="[('origin.id', 'in', Eval('active_ids'), 'account.statement')]"
+                eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('origin.id', '=', Eval('active_id'), 'account.statement'), ('origin.id', 'in', Eval('active_ids'), 'account.statement'))]"
                 pyson="1"/>
         </record>
         <record model="ir.action.keyword" id="act_move_lines_form_keyword1">
@@ -355,7 +357,7 @@ this repository contains the full copyright notices and license terms. -->
             <field name="name">Moves</field>
             <field name="res_model">account.move</field>
             <field name="domain"
-                eval="[('origin.id', 'in', Eval('active_ids'), 'account.statement')]"
+                eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('origin.id', '=', Eval('active_id'), 'account.statement'), ('origin.id', 'in', Eval('active_ids'), 'account.statement'))]"
                 pyson="1"/>
         </record>
         <record model="ir.action.keyword" id="act_moves_form_keyword1">
@@ -368,7 +370,8 @@ this repository contains the full copyright notices and license terms. -->
             <field name="name">Line Groups</field>
             <field name="res_model">account.statement.line.group</field>
             <field name="domain"
-                eval="[('journal', 'in', Eval('active_ids'))]" pyson="1"/>
+                eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('journal', '=', Eval('active_id')), ('journal', 'in', Eval('active_ids')))]"
+                pyson="1"/>
         </record>
         <record model="ir.action.keyword" id="act_line_groups_form_keyword1">
             <field name="keyword">form_relate</field>
diff --git a/tests/scenario_account_statement.rst b/tests/scenario_account_statement.rst
index 9ccc733..f26e2a5 100644
--- a/tests/scenario_account_statement.rst
+++ b/tests/scenario_account_statement.rst
@@ -148,6 +148,8 @@ Received 180 from customer::
 
     >>> statement_line = StatementLine()
     >>> statement.lines.append(statement_line)
+    >>> statement_line.number = '0001'
+    >>> statement_line.description = 'description'
     >>> statement_line.date = today
     >>> statement_line.amount = Decimal('180')
     >>> statement_line.party = customer
@@ -159,10 +161,15 @@ Received 180 from customer::
     >>> statement_line = statement.lines[-1]
     >>> statement_line.amount
     Decimal('80.00')
+    >>> statement_line.number
+    '0001'
+    >>> statement_line.description
+    'description'
     >>> statement_line.party == customer
     True
     >>> statement_line.account == receivable
     True
+    >>> statement_line.description = 'other description'
     >>> statement_line.invoice = customer_invoice2
     >>> statement_line.amount
     Decimal('80.00')
@@ -171,6 +178,8 @@ Paid 50 to customer::
 
     >>> statement_line = StatementLine()
     >>> statement.lines.append(statement_line)
+    >>> statement_line.number = '0002'
+    >>> statement_line.description = 'description'
     >>> statement_line.date = today
     >>> statement_line.amount = Decimal('-50')
     >>> statement_line.party = customer
@@ -201,6 +210,22 @@ Validate statement::
     >>> statement.state
     u'validated'
 
+Test posted moves::
+
+    >>> statement_line = statement.lines[0]
+    >>> move = statement_line.move
+    >>> move.description
+    u'0001'
+    >>> sorted((l.description for l in move.lines))
+    [u'', u'description', u'other description']
+
+    >>> statement_line = statement.lines[2]
+    >>> move = statement_line.move
+    >>> move.description
+    u'0002'
+    >>> sorted((l.description for l in move.lines))
+    [u'description', u'description']
+
 Test invoice state::
 
     >>> customer_invoice1.reload()
diff --git a/tryton.cfg b/tryton.cfg
index eab3ef8..ed48c48 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.0
+version=4.4.0
 depends:
     account
     account_invoice
diff --git a/trytond_account_statement.egg-info/PKG-INFO b/trytond_account_statement.egg-info/PKG-INFO
index d5faceb..cf980ed 100644
--- a/trytond_account_statement.egg-info/PKG-INFO
+++ b/trytond_account_statement.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-account-statement
-Version: 4.2.0
+Version: 4.4.0
 Summary: Tryton module with account statements
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/4.2/
+Download-URL: http://downloads.tryton.org/4.4/
 Description: trytond_account_statement
         =========================
         
@@ -51,7 +51,7 @@ Classifier: Framework :: Tryton
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Financial and Insurance Industry
 Classifier: Intended Audience :: Legal Industry
-Classifier: License :: OSI Approved :: GNU General Public License (GPL)
+Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
 Classifier: Natural Language :: Bulgarian
 Classifier: Natural Language :: Catalan
 Classifier: Natural Language :: Chinese (Simplified)
diff --git a/trytond_account_statement.egg-info/requires.txt b/trytond_account_statement.egg-info/requires.txt
index c1eb4ba..09b863d 100644
--- a/trytond_account_statement.egg-info/requires.txt
+++ b/trytond_account_statement.egg-info/requires.txt
@@ -1,7 +1,7 @@
 python-sql >= 0.4
-trytond_account >= 4.2, < 4.3
-trytond_account_invoice >= 4.2, < 4.3
-trytond_company >= 4.2, < 4.3
-trytond_currency >= 4.2, < 4.3
-trytond_party >= 4.2, < 4.3
-trytond >= 4.2, < 4.3
+trytond_account >= 4.4, < 4.5
+trytond_account_invoice >= 4.4, < 4.5
+trytond_company >= 4.4, < 4.5
+trytond_currency >= 4.4, < 4.5
+trytond_party >= 4.4, < 4.5
+trytond >= 4.4, < 4.5
diff --git a/view/statement_form.xml b/view/statement_form.xml
index 2c5ae3b..72b3791 100644
--- a/view/statement_form.xml
+++ b/view/statement_form.xml
@@ -27,7 +27,7 @@ this repository contains the full copyright notices and license terms. -->
                 <field name="balance"/>
                 <label name="state"/>
                 <field name="state"/>
-                <group col="4" colspan="2" id="buttons">
+                <group col="-1" colspan="2" id="buttons">
                     <button string="Cancel" name="cancel" icon="tryton-cancel"/>
                     <button string="Draft" name="draft" icon="tryton-clear"/>
                     <button string="Validate" name="validate_statement"
-- 
tryton-modules-account-statement



More information about the tryton-debian-vcs mailing list