Hello community,
here is the log from the commit of package trytond_account_invoice for
openSUSE:Factory checked in at 2018-12-08 11:21:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account_invoice (Old)
and /work/SRC/openSUSE:Factory/.trytond_account_invoice.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_account_invoice"
Sat Dec 8 11:21:25 2018 rev:7 rq:653622 version:4.2.7
Changes:
--------
---
/work/SRC/openSUSE:Factory/trytond_account_invoice/trytond_account_invoice.changes
2018-05-15 10:33:35.167782373 +0200
+++
/work/SRC/openSUSE:Factory/.trytond_account_invoice.new.19453/trytond_account_invoice.changes
2018-12-08 11:21:38.922765992 +0100
@@ -1,0 +2,5 @@
+Tue Nov 13 15:13:27 UTC 2018 - Axel Braun <[email protected]>
+
+- Version 4.2.7 - Bugfix Release
+
+-------------------------------------------------------------------
Old:
----
trytond_account_invoice-4.2.6.tar.gz
New:
----
trytond_account_invoice-4.2.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ trytond_account_invoice.spec ++++++
--- /var/tmp/diff_new_pack.DdNfQS/_old 2018-12-08 11:21:40.766764227 +0100
+++ /var/tmp/diff_new_pack.DdNfQS/_new 2018-12-08 11:21:40.770764224 +0100
@@ -13,13 +13,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define majorver 4.2
Name: trytond_account_invoice
-Version: %{majorver}.6
+Version: %{majorver}.7
Release: 0
Summary: The "account_invoice" module for the Tryton ERP system
License: GPL-3.0-only
++++++ trytond_account_invoice-4.2.6.tar.gz ->
trytond_account_invoice-4.2.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_account_invoice-4.2.6/.hgtags
new/trytond_account_invoice-4.2.7/.hgtags
--- old/trytond_account_invoice-4.2.6/.hgtags 2018-05-08 22:36:39.000000000
+0200
+++ new/trytond_account_invoice-4.2.7/.hgtags 2018-11-12 23:52:44.000000000
+0100
@@ -21,3 +21,4 @@
9f2b3c5f5341a2ab64bec17423ea088a6ec24517 4.2.4
4818925e6b85d7f88b9cefc0e615637a0eb356d4 4.2.5
a4aa79942df003e275fec0390d89d964407a18c9 4.2.6
+945962e2eebed779bc4ca4f9af11d3e41d4423b4 4.2.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_account_invoice-4.2.6/CHANGELOG
new/trytond_account_invoice-4.2.7/CHANGELOG
--- old/trytond_account_invoice-4.2.6/CHANGELOG 2018-05-08 22:36:38.000000000
+0200
+++ new/trytond_account_invoice-4.2.7/CHANGELOG 2018-11-12 23:52:43.000000000
+0100
@@ -1,3 +1,6 @@
+Version 4.2.7 - 2018-11-12
+* Bug fixes (see mercurial logs for details)
+
Version 4.2.6 - 2018-05-08
* Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_account_invoice-4.2.6/PKG-INFO
new/trytond_account_invoice-4.2.7/PKG-INFO
--- old/trytond_account_invoice-4.2.6/PKG-INFO 2018-05-08 22:36:40.000000000
+0200
+++ new/trytond_account_invoice-4.2.7/PKG-INFO 2018-11-12 23:52:44.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_invoice
-Version: 4.2.6
+Version: 4.2.7
Summary: Tryton module for invoicing
Home-page: http://www.tryton.org/
Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_account_invoice-4.2.6/invoice.py
new/trytond_account_invoice-4.2.7/invoice.py
--- old/trytond_account_invoice-4.2.6/invoice.py 2018-05-08
22:36:37.000000000 +0200
+++ new/trytond_account_invoice-4.2.7/invoice.py 2018-10-13
14:16:31.000000000 +0200
@@ -80,11 +80,7 @@
'on_change_with_company_party')
tax_identifier = fields.Many2One(
'party.identifier', "Tax Identifier",
- states=_STATES,
- domain=[
- ('party', '=', Eval('company_party', -1)),
- ],
- depends=_DEPENDS + ['company_party'])
+ states=_STATES, depends=_DEPENDS)
type = fields.Selection(_TYPE, 'Type', select=True,
required=True, states={
'readonly': ((Eval('state') != 'draft')
@@ -203,9 +199,10 @@
('id', 'DESC'),
]
cls.tax_identifier.domain = [
- cls.tax_identifier.domain,
+ ('party', '=', Eval('company_party', -1)),
('type', 'in', cls._tax_identifier_types()),
]
+ cls.tax_identifier.depends += ['company_party']
cls._error_messages.update({
'missing_tax_line': ('Invoice "%s" has taxes defined but not '
'on invoice lines.\nRe-compute the invoice.'),
@@ -2605,6 +2602,8 @@
with Transaction().set_context(date=self.start.date):
amount = Currency.compute(self.start.currency,
self.start.amount, invoice.company.currency)
+ amount_invoice = Currency.compute(
+ self.start.currency, self.start.amount, invoice.currency)
reconcile_lines, remainder = \
self.get_reconcile_lines_for_amount(invoice, amount)
@@ -2615,7 +2614,7 @@
amount_second_currency = self.start.amount
second_currency = self.start.currency
- if (abs(amount) > abs(invoice.amount_to_pay)
+ if (amount_invoice > invoice.amount_to_pay
and self.ask.type != 'writeoff'):
self.raise_user_error('amount_greater_amount_to_pay',
(invoice.rec_name,))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_account_invoice-4.2.6/tryton.cfg
new/trytond_account_invoice-4.2.7/tryton.cfg
--- old/trytond_account_invoice-4.2.6/tryton.cfg 2018-04-03
18:34:47.000000000 +0200
+++ new/trytond_account_invoice-4.2.7/tryton.cfg 2018-08-20
22:59:58.000000000 +0200
@@ -1,5 +1,5 @@
[tryton]
-version=4.2.6
+version=4.2.7
depends:
account
account_product
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/trytond_account_invoice-4.2.6/trytond_account_invoice.egg-info/PKG-INFO
new/trytond_account_invoice-4.2.7/trytond_account_invoice.egg-info/PKG-INFO
--- old/trytond_account_invoice-4.2.6/trytond_account_invoice.egg-info/PKG-INFO
2018-05-08 22:36:39.000000000 +0200
+++ new/trytond_account_invoice-4.2.7/trytond_account_invoice.egg-info/PKG-INFO
2018-11-12 23:52:44.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-account-invoice
-Version: 4.2.6
+Version: 4.2.7
Summary: Tryton module for invoicing
Home-page: http://www.tryton.org/
Author: Tryton