Hello community,

here is the log from the commit of package trytond_account for openSUSE:Factory 
checked in at 2017-08-18 15:04:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account"

Fri Aug 18 15:04:12 2017 rev:5 rq:517034 version:4.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_account/trytond_account.changes  
2017-07-05 23:55:40.907531374 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_account.new/trytond_account.changes     
2017-08-18 15:04:16.267277445 +0200
@@ -1,0 +2,5 @@
+Thu Aug 10 20:04:41 UTC 2017 - axel.br...@gmx.de
+
+- Version 4.2.2
+
+-------------------------------------------------------------------

Old:
----
  trytond_account-4.2.1.tar.gz

New:
----
  trytond_account-4.2.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trytond_account.spec ++++++
--- /var/tmp/diff_new_pack.n1LFSL/_old  2017-08-18 15:04:16.947181685 +0200
+++ /var/tmp/diff_new_pack.n1LFSL/_new  2017-08-18 15:04:16.951181122 +0200
@@ -18,7 +18,7 @@
 
 %define majorver 4.2
 Name:           trytond_account
-Version:        %{majorver}.1
+Version:        %{majorver}.2
 Release:        0
 Summary:        The "account" module for the Tryton ERP system
 License:        GPL-3.0+

++++++ trytond_account-4.2.1.tar.gz -> trytond_account-4.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.1/CHANGELOG 
new/trytond_account-4.2.2/CHANGELOG
--- old/trytond_account-4.2.1/CHANGELOG 2017-06-06 19:49:45.000000000 +0200
+++ new/trytond_account-4.2.2/CHANGELOG 2017-08-08 18:48:27.000000000 +0200
@@ -1,3 +1,6 @@
+Version 4.2.2 - 2017-08-08
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.1 - 2017-06-06
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.1/PKG-INFO 
new/trytond_account-4.2.2/PKG-INFO
--- old/trytond_account-4.2.1/PKG-INFO  2017-06-06 19:49:46.000000000 +0200
+++ new/trytond_account-4.2.2/PKG-INFO  2017-08-08 18:48:28.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account
-Version: 4.2.1
+Version: 4.2.2
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.1/move.py 
new/trytond_account-4.2.2/move.py
--- old/trytond_account-4.2.1/move.py   2017-03-14 23:27:05.000000000 +0100
+++ new/trytond_account-4.2.2/move.py   2017-08-08 18:48:25.000000000 +0200
@@ -916,7 +916,7 @@
                             else:
                                 line_amount -= tax_line['amount']
                             tax_amount += tax_line['amount'] * \
-                                tax_line['tax'][key + '_tax_sign']
+                                getattr(tax_line['tax'], key + '_tax_sign')
                     line_amount = line.account.company.currency.round(
                         line_amount)
                     tax_amount = line.account.company.currency.round(
@@ -1067,7 +1067,7 @@
                     tax_line = TaxLine(**TaxLine.default_get(
                             TaxLine._fields.keys()))
 
-                    tax_line.amount = base_amounts[code_id, tax_id],
+                    tax_line.amount = base_amounts[code_id, tax_id]
                     tax_line.currency_digits = self.account.currency_digits
                     tax_line.code = code_id
                     tax_line.tax = tax_id
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.1/tax.py 
new/trytond_account-4.2.2/tax.py
--- old/trytond_account-4.2.1/tax.py    2017-03-14 23:27:05.000000000 +0100
+++ new/trytond_account-4.2.2/tax.py    2017-08-08 18:48:25.000000000 +0200
@@ -1107,7 +1107,6 @@
 class TaxLine(ModelSQL, ModelView):
     'Tax Line'
     __name__ = 'account.tax.line'
-    _rec_name = 'amount'
     currency_digits = fields.Function(fields.Integer('Currency Digits'),
         'on_change_with_currency_digits')
     amount = fields.Numeric('Amount', digits=(16, Eval('currency_digits', 2)),
@@ -1135,15 +1134,18 @@
             return self.move_line.currency_digits
         return 2
 
-    @fields.depends('tax')
-    def on_change_tax(self):
-        self.code = None
-
     @fields.depends('_parent_move_line.account', 'move_line')
     def on_change_with_company(self, name=None):
         if self.move_line:
             return self.move_line.account.company.id
 
+    def get_rec_name(self, name):
+        return self.code.rec_name
+
+    @classmethod
+    def search_rec_name(cls, name, clause):
+        return [('code',) + tuple(clause[1:])]
+
 
 class TaxRuleTemplate(ModelSQL, ModelView):
     'Tax Rule Template'
@@ -1394,7 +1396,6 @@
 class TaxRuleLine(sequence_ordered(), ModelSQL, ModelView, MatchMixin):
     'Tax Rule Line'
     __name__ = 'account.tax.rule.line'
-    _rec_name = 'tax'
     rule = fields.Many2One('account.tax.rule', 'Rule', required=True,
             select=True, ondelete='CASCADE')
     group = fields.Many2One('account.tax.group', 'Tax Group',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-4.2.1/tryton.cfg 
new/trytond_account-4.2.2/tryton.cfg
--- old/trytond_account-4.2.1/tryton.cfg        2017-03-14 23:27:05.000000000 
+0100
+++ new/trytond_account-4.2.2/tryton.cfg        2017-06-06 19:50:06.000000000 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.1
+version=4.2.2
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account-4.2.1/trytond_account.egg-info/PKG-INFO 
new/trytond_account-4.2.2/trytond_account.egg-info/PKG-INFO
--- old/trytond_account-4.2.1/trytond_account.egg-info/PKG-INFO 2017-06-06 
19:49:46.000000000 +0200
+++ new/trytond_account-4.2.2/trytond_account.egg-info/PKG-INFO 2017-08-08 
18:48:28.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account
-Version: 4.2.1
+Version: 4.2.2
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Author: Tryton


Reply via email to