- 02 Nov, 2010 34 commits
-
-
Julien Muchembled authored
Conflicts: bt5/erp5_simulation/DocumentTemplateItem/DeliveryRootSimulationRule.py bt5/erp5_simulation/DocumentTemplateItem/DeliverySimulationRule.py bt5/erp5_simulation/DocumentTemplateItem/InvoiceRootSimulationRule.py bt5/erp5_simulation/DocumentTemplateItem/InvoiceSimulationRule.py bt5/erp5_simulation/DocumentTemplateItem/InvoiceTransactionSimulationRule.py bt5/erp5_simulation/DocumentTemplateItem/OrderRootSimulationRule.py bt5/erp5_simulation/DocumentTemplateItem/PaymentSimulationRule.py bt5/erp5_simulation/DocumentTemplateItem/TradeModelSimulationRule.py products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary.xml products/ERP5/Document/Alarm.py products/ERP5/Document/Budget.py products/ERP5/Document/BudgetLine.py products/ERP5/Document/BusinessPath.py products/ERP5/Document/CategoryMembershipEquivalenceTester.py products/ERP5/Document/DateTimeEquivalenceTester.py products/ERP5/Document/FloatEquivalenceTester.py products/ERP5/Document/MappedValue.py products/ERP5/Document/OrderBuilder.py products/ERP5/Document/Resource.py products/ERP5/Document/StringEquivalenceTester.py products/ERP5/Document/TradeModelLine.py products/ERP5/Document/Transformation.py products/ERP5/Document/TransformedResource.py products/ERP5/Document/VariationEquivalenceTester.py products/ERP5/mixin/composition.py products/ERP5/mixin/rule.py products/ERP5Type/Utils.py git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@39787 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39785 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* ItemModule_viewItemList * Item_view * Item_viewTrackingList git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39784 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39783 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39782 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* start to develop new one Base_viewItemFieldLibrary git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39779 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39778 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* Remove obsolete properties in export. * Convert into new dynamic classes * XML format changes git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39776 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39775 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39774 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39773 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39772 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39771 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39770 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39769 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39768 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39767 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@39766 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39765 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39764 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
Base_viewPDMFieldLibrary git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39763 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39762 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39761 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39760 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39759 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39758 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39757 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39756 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39755 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
Makes the code more efficient, and much more readable. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39754 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39753 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
Exploring Zope code finally revealed what we needed in the code, to allow removing the "trick". It's a "trick" because we have no real reason to call again the __init__ method of a metaclass: it's nicer to understand what we need to do and to do it explicitely. In this case, the __get__ slot was missing after the __bases__ assignement (bases are recomputed and as a result __get__ is null'ed), and there is a method exposed in Zope's ExtensionClass to do exactly this and only this. The InitializeClass calls are included because ExtensionClass.__init__ calls __class_init__, which sets correctly roles and security on the class. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39752 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
1) Do not use gc.get_referrers as this is highly inefficient. (the returned list contains a lot of objects, some of them are persistent objects, some of them are not classes, etc, etc... But worse, "dead" objects with a zero reference count can be returned by this function, and this function would "ressucitate" them. gc.get_referrers for application code is usually a bad idea) 2) Use instead a Python metaclass to track who's been subclassing a portal type class, and after a change on the portal type class, we just call the efficient PortalTypeMetaClass.getSubclassList to get descendants. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39751 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
it is evil to recreate the attributes during _aq_reset. Scenario: * First call to aq_dynamic * aq_portal_type = Base.aq_portal_type - inner aq_dynamic business - causing an aq_reset call - Base.aq_portal_type = {} - [...] - return * local aq_portal_type is not anymore Base.aq_portal_type The symptoms are random, hard to reproduce loud KeyError crashes in hasattr(aq_portal_type[aq_key], accessor_name, None) that disappear on the second try. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39750 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 01 Nov, 2010 6 commits
-
-
Gabriel Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39747 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Gabriel Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39746 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Gabriel Monnerat authored
* The initial commit git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39744 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
This business template is the refactored version of erp5_jquery, and the previous version is still available by installing erp5_jquery_legacy instead of this one. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39742 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39741 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39739 20353a03-c40f-0410-a6d1-a30d3c3de9de
-