[tryton-debian-vcs] tryton-modules-sale-opportunity branch upstream updated. upstream/4.4.0-1-g6c9c50b
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Sep 5 13:24:27 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-sale-opportunity.git;a=commitdiff;h=upstream/4.4.0-1-g6c9c50b
commit 6c9c50b359bcdffe505029b7ec8d2e349747084b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Sep 5 13:33:32 2017 +0200
Adding upstream version 4.4.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 5df47d6..ee365f6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-09-04
+* Bug fixes (see mercurial logs for details)
+
Version 4.4.0 - 2017-05-01
* Bug fixes (see mercurial logs for details)
* Compute rates as ratio
diff --git a/PKG-INFO b/PKG-INFO
index 723b6b7..c149e8b 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_sale_opportunity
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module with leads and opportunities
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/opportunity.py b/opportunity.py
index 707fd3f..0ae768b 100644
--- a/opportunity.py
+++ b/opportunity.py
@@ -435,7 +435,6 @@ class SaleOpportunity(Workflow, ModelSQL, ModelView):
class SaleOpportunityLine(sequence_ordered(), ModelSQL, ModelView):
'Sale Opportunity Line'
__name__ = "sale.opportunity.line"
- _rec_name = "product"
_history = True
_states = {
'readonly': Eval('opportunity_state').in_(
@@ -510,6 +509,13 @@ class SaleOpportunityLine(sequence_ordered(), ModelSQL, ModelView):
sale_line.on_change_product()
return sale_line
+ def get_rec_name(self, name):
+ return self.product.rec_name
+
+ @classmethod
+ def search_rec_name(cls, name, clause):
+ return [('product',) + tuple(clause[1:])]
+
class SaleOpportunityReportMixin:
number = fields.Integer('Number')
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff --git a/tryton.cfg b/tryton.cfg
index e38c7e7..81c743c 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.4.0
+version=4.4.1
depends:
account
account_invoice
diff --git a/trytond_sale_opportunity.egg-info/PKG-INFO b/trytond_sale_opportunity.egg-info/PKG-INFO
index 5a38e57..ae2ccde 100644
--- a/trytond_sale_opportunity.egg-info/PKG-INFO
+++ b/trytond_sale_opportunity.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-sale-opportunity
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module with leads and opportunities
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_sale_opportunity.egg-info/SOURCES.txt b/trytond_sale_opportunity.egg-info/SOURCES.txt
index 61bb67a..4bb1caa 100644
--- a/trytond_sale_opportunity.egg-info/SOURCES.txt
+++ b/trytond_sale_opportunity.egg-info/SOURCES.txt
@@ -75,10 +75,8 @@ locale/ru.po
locale/sl.po
locale/zh_CN.po
tests/__init__.py
-tests/__init__.pyc
tests/scenario_sale_opportunity.rst
tests/test_sale_opportunity.py
-tests/test_sale_opportunity.pyc
trytond_sale_opportunity.egg-info/PKG-INFO
trytond_sale_opportunity.egg-info/SOURCES.txt
trytond_sale_opportunity.egg-info/dependency_links.txt
--
tryton-modules-sale-opportunity
More information about the tryton-debian-vcs
mailing list