An error occurred fetching the project authors.
- 07 Feb, 2018 1 commit
-
-
Vincent Pelletier authored
Also, reorder imports to follow python style: standard modules before others.
-
- 15 Sep, 2017 1 commit
-
-
Vincent Pelletier authored
This way it is easier to further extend it without risking key conflicts in catalog parameters, which in turn would either lead to simple TypeErrors ("multiple values for parameter ...") or to criterion being accidentally ignored. Update callers. These methods are young enough that no other callers should exist yet.
-
- 27 Jul, 2017 2 commits
-
-
Vincent Pelletier authored
Writing SQL belongs to catalog.
-
Vincent Pelletier authored
The main purpose is to stop calling buildSQLSelector so it can be removed. Remove Base_zSearchRelatedObjectsByCategoryList. Also, discard a superfluous comment in testArchive which references the discarded ZSQLMethod, for consistency. Fixes an existing failure in testArchive.
-
- 28 Jun, 2017 1 commit
-
-
Vincent Pelletier authored
To prepare for extension.
-
- 06 Jan, 2017 2 commits
-
-
Vincent Pelletier authored
Without this change, "source/a/b" in non-strict mode indexes: (document.uid, source.uid, b.uid, 1) (document.uid, source.uid, a.uid, 0) (document.uid, source.uid, source.uid, 0) This last line does not contain anything which cannot be found by looking at the base category uid column, so it is wasting disk (and index) space, costing performance. But keep indexing a Base Category document if is it not the base category for considered relation. It is not clear whether stopping indexation at the first encountered Base Category document is intentional, or if recursion should only stop when reaching the base category of considered relation. With this change, "source/a/b" in non-strict mode indexes: (document.uid, source.uid, b.uid, 1) (document.uid, source.uid, a.uid, 0) removing the redundancy.
-
Vincent Pelletier authored
It is overkill, and is likely slower than just passing the needed values straight to catalog. Also, rely on duck-typing instad of portal-type-testing. Also, drop unused "spec" and "filter" arguments. Also, expose strict{,_membership} used arguments, simplifying code. Keep catchall **kw for compatibility.
-
- 21 Dec, 2016 1 commit
-
-
Vincent Pelletier authored
Also, stop passing ignored "spec" parameter.
-
- 13 Jun, 2016 1 commit
-
-
Julien Muchembled authored
- 'apply' causes a break in cProfile results - 'apply' is deprecated (removed in Python 3)
-
- 05 May, 2016 1 commit
-
-
Julien Muchembled authored
-
- 29 Apr, 2016 1 commit
-
-
Julien Muchembled authored
About getSingleCategoryAcquiredMembershipList, getPhysicalPath is so slow that that cache was useless.
-
- 04 Sep, 2014 1 commit
-
-
Gabriel Monnerat authored
-
- 10 Apr, 2014 1 commit
-
-
Julien Muchembled authored
'display_id' expects a property name and 'display_method' a method name
-
- 13 Aug, 2013 1 commit
-
-
Jérome Perrin authored
-
- 17 Jun, 2013 1 commit
-
-
Aurel authored
-
- 25 Jan, 2013 7 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
- duplicated default categories were dropped when the list of categories was passed without their base categories - accept any iterable for 'category_list'
-
Julien Muchembled authored
-
- 20 Mar, 2012 1 commit
-
-
Ivan Tyagov authored
>> document.setMyCategoryList([None]) >> document.getMyCategory() >> 'None'
-
- 03 May, 2011 1 commit
-
-
Kazuhiko Shiozaki authored
Even if region is a sub Category of Base Category region, relative Url must be stripped, because the behaviour should be stable regardless of such category existence and it is also good for performance. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45789 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Apr, 2011 2 commits
-
-
Nicolas Delaby authored
stored category value are like 'region/region/west'. This can be worse when base_category id is 'resource', because 'resource' is also a namespace adapter in z2.12. So TraversalableHandler returns a non expected object and keep objects to be correctly indexed. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45575 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45574 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Mar, 2011 1 commit
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43874 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Feb, 2011 1 commit
-
-
Arnaud Fontaine authored
designed to handle synchronization problems between 2 ERP5 systems however the logic of synchronization should be handled by conduits and not by accessors git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43653 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 26 Nov, 2010 1 commit
-
-
Arnaud Fontaine authored
consider that this is a tuple whereas it could also be a list) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40752 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 Oct, 2010 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39042 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 Sep, 2010 2 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38367 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
Amendment to r37321, instead of displaying the wrong values in the exception text, use __traceback_info__. This is mostly to make the test pass again git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38339 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 27 Aug, 2010 1 commit
-
-
Sebastien Robin authored
- getProductLine on a Sale Order Line returns nothing even if there is a resource defined on the Sale Order Line and a product line on this resource (and base categories looks like to be well configured) - portal_type variable is already used in the method _getSingleCategoryAcquiredMembershipList, so doing "for portal_type in portal_type_list" makes giving any random value to the portal type variable - the portal_type variable can have duplicated portal types, in such case the following piece of code always return [], so duplicated needs to be removed : for portal_type in portal_type_list: key = (uid, base_category, portal_type) if key in _acquired_object_set: return [] _acquired_object_set.add(key) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38053 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 13 Aug, 2010 1 commit
-
-
Yoshinori Okuji authored
Use a flat structure of a set to deal with recursive calls, instead of a nested complex, because that is much more efficient and fast in reality. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37787 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 11 Aug, 2010 2 commits
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37694 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37692 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Jul, 2010 1 commit
-
-
Yusei Tahara authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37321 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Jul, 2010 1 commit
-
-
Sebastien Robin authored
Conflicts: bt5/erp5_base/bt/revision bt5/erp5_simulation/DocumentTemplateItem/InvoiceSimulationRule.py bt5/erp5_simulation/bt/revision bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary.xml bt5/erp5_trade/bt/change_log bt5/erp5_trade/bt/revision products/ERP5/Document/BusinessPath.py products/ERP5/Document/SimulationMovement.py products/ERP5/Document/TradeCondition.py products/ERP5/Document/TradeModelLine.py products/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision products/ERP5Type/ERP5Type.py git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37129 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Jun, 2010 1 commit
-
-
Yusei Tahara authored
predicate category search. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36095 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Jun, 2010 1 commit
-
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@36052 20353a03-c40f-0410-a6d1-a30d3c3de9de
-