Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond_account for openSUSE:Factory 
checked in at 2022-06-12 17:41:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account"

Sun Jun 12 17:41:23 2022 rev:33 rq:982120 version:6.0.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_account/trytond_account.changes  
2022-04-20 16:57:49.206650516 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_account.new.1548/trytond_account.changes    
    2022-06-12 17:43:13.686492353 +0200
@@ -1,0 +2,5 @@
+Sat Jun  4 08:10:17 UTC 2022 - Axel Braun <[email protected]>
+
+- Version 6.0.11 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_account-6.0.10.tar.gz
  trytond_account-6.0.10.tar.gz.asc

New:
----
  trytond_account-6.0.11.tar.gz
  trytond_account-6.0.11.tar.gz.asc

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

Other differences:
------------------
++++++ trytond_account.spec ++++++
--- /var/tmp/diff_new_pack.vptoEp/_old  2022-06-12 17:43:14.098492944 +0200
+++ /var/tmp/diff_new_pack.vptoEp/_new  2022-06-12 17:43:14.102492949 +0200
@@ -18,7 +18,7 @@
 
 %define majorver 6.0
 Name:           trytond_account
-Version:        %{majorver}.10
+Version:        %{majorver}.11
 Release:        0
 Summary:        The "account" module for the Tryton ERP system
 License:        GPL-3.0+

++++++ trytond_account-6.0.10.tar.gz -> trytond_account-6.0.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.10/.hgtags 
new/trytond_account-6.0.11/.hgtags
--- old/trytond_account-6.0.10/.hgtags  2022-04-15 23:37:42.000000000 +0200
+++ new/trytond_account-6.0.11/.hgtags  2022-06-03 19:40:46.000000000 +0200
@@ -34,3 +34,4 @@
 6a8ea1c1ab4a940c8c1d3e4f487605a16be8776e 6.0.8
 61169875694b908745a5f05c0b0849922e2a7ebd 6.0.9
 c2067dc0f948f1fcccec16b328029281ee7cd3b9 6.0.10
+c14b34ce88b5075f5f51626f3a26a50f7539af63 6.0.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.10/CHANGELOG 
new/trytond_account-6.0.11/CHANGELOG
--- old/trytond_account-6.0.10/CHANGELOG        2022-04-15 23:37:41.000000000 
+0200
+++ new/trytond_account-6.0.11/CHANGELOG        2022-06-03 19:40:45.000000000 
+0200
@@ -1,3 +1,6 @@
+Version 6.0.11 - 2022-06-03
+* Bug fixes (see mercurial logs for details)
+
 Version 6.0.10 - 2022-04-15
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.10/PKG-INFO 
new/trytond_account-6.0.11/PKG-INFO
--- old/trytond_account-6.0.10/PKG-INFO 2022-04-15 23:37:45.104592300 +0200
+++ new/trytond_account-6.0.11/PKG-INFO 2022-06-03 19:40:49.997663700 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond_account
-Version: 6.0.10
+Version: 6.0.11
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.10/account.py 
new/trytond_account-6.0.11/account.py
--- old/trytond_account-6.0.10/account.py       2022-04-14 23:49:18.000000000 
+0200
+++ new/trytond_account-6.0.11/account.py       2022-05-07 08:36:20.000000000 
+0200
@@ -1917,7 +1917,11 @@
     'General Ledger Account Context'
     __name__ = 'account.general_ledger.account.context'
     fiscalyear = fields.Many2One('account.fiscalyear', 'Fiscal Year',
-        required=True)
+        required=True,
+        domain=[
+            ('company', '=', Eval('company')),
+            ],
+        depends=['company'])
     start_period = fields.Many2One('account.period', 'Start Period',
         domain=[
             ('fiscalyear', '=', Eval('fiscalyear')),
@@ -2005,6 +2009,12 @@
     def default_to_date(cls):
         return Transaction().context.get('to_date')
 
+    @fields.depends('company', 'fiscalyear', methods=['on_change_fiscalyear'])
+    def on_change_company(self):
+        if self.fiscalyear and self.fiscalyear.company != self.company:
+            self.fiscalyear = None
+            self.on_change_fiscalyear()
+
     @fields.depends('fiscalyear', 'start_period', 'end_period')
     def on_change_fiscalyear(self):
         if (self.start_period
@@ -2493,6 +2503,12 @@
     def default_comparison(cls):
         return False
 
+    @fields.depends('company', 'fiscalyear', methods=['on_change_fiscalyear'])
+    def on_change_company(self):
+        if self.fiscalyear and self.fiscalyear.company != self.company:
+            self.fiscalyear = None
+            self.on_change_fiscalyear()
+
     @fields.depends('fiscalyear', 'start_period', 'end_period')
     def on_change_fiscalyear(self):
         if (self.start_period
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.10/tryton.cfg 
new/trytond_account-6.0.11/tryton.cfg
--- old/trytond_account-6.0.10/tryton.cfg       2022-03-01 19:48:23.000000000 
+0100
+++ new/trytond_account-6.0.11/tryton.cfg       2022-04-15 23:37:59.000000000 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.10
+version=6.0.11
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account-6.0.10/trytond_account.egg-info/PKG-INFO 
new/trytond_account-6.0.11/trytond_account.egg-info/PKG-INFO
--- old/trytond_account-6.0.10/trytond_account.egg-info/PKG-INFO        
2022-04-15 23:37:44.000000000 +0200
+++ new/trytond_account-6.0.11/trytond_account.egg-info/PKG-INFO        
2022-06-03 19:40:48.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond-account
-Version: 6.0.10
+Version: 6.0.11
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/

Reply via email to