Hello community, here is the log from the commit of package trytond_company for openSUSE:Factory checked in at 2017-09-17 22:39:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_company (Old) and /work/SRC/openSUSE:Factory/.trytond_company.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_company" Sun Sep 17 22:39:00 2017 rev:3 rq:526512 version:4.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_company/trytond_company.changes 2017-07-05 23:55:55.833428839 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_company.new/trytond_company.changes 2017-09-17 22:40:04.305950830 +0200 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Sep 9 16:01:13 UTC 2017 - [email protected] + +- Version 4.2.1 - Bugfix Release + Old: ---- trytond_company-4.2.0.tar.gz New: ---- trytond_company-4.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_company.spec ++++++ --- /var/tmp/diff_new_pack.BbyLqF/_old 2017-09-17 22:40:04.865872105 +0200 +++ /var/tmp/diff_new_pack.BbyLqF/_new 2017-09-17 22:40:04.869871542 +0200 @@ -19,7 +19,7 @@ %define majorver 4.2 Name: trytond_company -Version: %{majorver}.0 +Version: %{majorver}.1 Release: 0 Summary: The "company" module for the Tryton ERP system License: GPL-3.0 ++++++ trytond_company-4.2.0.tar.gz -> trytond_company-4.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_company-4.2.0/CHANGELOG new/trytond_company-4.2.1/CHANGELOG --- old/trytond_company-4.2.0/CHANGELOG 2016-11-28 16:26:43.000000000 +0100 +++ new/trytond_company-4.2.1/CHANGELOG 2017-09-04 22:48:09.000000000 +0200 @@ -1,3 +1,6 @@ +Version 4.2.1 - 2017-09-04 +* Bug fixes (see mercurial logs for details) + Version 4.2.0 - 2016-11-28 * Bug fixes (see mercurial logs for details) * Add start and end dates on employee diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_company-4.2.0/COPYRIGHT new/trytond_company-4.2.1/COPYRIGHT --- old/trytond_company-4.2.0/COPYRIGHT 2016-11-28 16:26:41.000000000 +0100 +++ new/trytond_company-4.2.1/COPYRIGHT 2017-09-04 22:48:09.000000000 +0200 @@ -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. 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_company-4.2.0/PKG-INFO new/trytond_company-4.2.1/PKG-INFO --- old/trytond_company-4.2.0/PKG-INFO 2016-11-28 16:26:56.000000000 +0100 +++ new/trytond_company-4.2.1/PKG-INFO 2017-09-04 22:48:10.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_company -Version: 4.2.0 +Version: 4.2.1 Summary: Tryton module with companies and employees Home-page: http://www.tryton.org/ Author: Tryton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_company-4.2.0/company.py new/trytond_company-4.2.1/company.py --- old/trytond_company-4.2.0/company.py 2016-10-21 18:41:58.000000000 +0200 +++ new/trytond_company-4.2.1/company.py 2017-09-04 22:48:08.000000000 +0200 @@ -26,7 +26,6 @@ class Company(ModelSQL, ModelView): 'Company' __name__ = 'company.company' - _rec_name = 'party' party = fields.Many2One('party.party', 'Party', required=True, ondelete='CASCADE') parent = fields.Many2One('company.company', 'Parent') @@ -50,6 +49,10 @@ return self.party.rec_name @classmethod + def search_rec_name(cls, name, clause): + return [('party',) + tuple(clause[1:])] + + @classmethod def write(cls, companies, values, *args): super(Company, cls).write(companies, values, *args) # Restart the cache on the domain_get method @@ -59,7 +62,6 @@ class Employee(ModelSQL, ModelView): 'Employee' __name__ = 'company.employee' - _rec_name = 'party' party = fields.Many2One('party.party', 'Party', required=True) company = fields.Many2One('company.company', 'Company', required=True) start_date = fields.Date('Start Date', @@ -84,6 +86,9 @@ def get_rec_name(self, name): return self.party.rec_name + @classmethod + def search_rec_name(cls, name, clause): + return [('party',) + tuple(clause[1:])] class UserEmployee(ModelSQL): 'User - Employee' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_company-4.2.0/setup.cfg new/trytond_company-4.2.1/setup.cfg --- old/trytond_company-4.2.0/setup.cfg 2016-11-28 16:26:56.000000000 +0100 +++ new/trytond_company-4.2.1/setup.cfg 2017-09-04 22:48:10.000000000 +0200 @@ -1,5 +1,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_company-4.2.0/tryton.cfg new/trytond_company-4.2.1/tryton.cfg --- old/trytond_company-4.2.0/tryton.cfg 2016-11-28 16:26:36.000000000 +0100 +++ new/trytond_company-4.2.1/tryton.cfg 2016-11-28 18:42:03.000000000 +0100 @@ -1,5 +1,5 @@ [tryton] -version=4.2.0 +version=4.2.1 depends: currency ir diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_company-4.2.0/trytond_company.egg-info/PKG-INFO new/trytond_company-4.2.1/trytond_company.egg-info/PKG-INFO --- old/trytond_company-4.2.0/trytond_company.egg-info/PKG-INFO 2016-11-28 16:26:52.000000000 +0100 +++ new/trytond_company-4.2.1/trytond_company.egg-info/PKG-INFO 2017-09-04 22:48:10.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond-company -Version: 4.2.0 +Version: 4.2.1 Summary: Tryton module with companies and employees Home-page: http://www.tryton.org/ Author: Tryton
