An error occurred fetching the project authors.
- 24 Feb, 2022 1 commit
-
-
Jérome Perrin authored
BusinessConfiguration have a resource category, but it's the workflow, it's not really a resource, so some APIs from the base Amount class are not available. Because they have no meaning on BusinessConfiguration anyway, define the broken APIs to return nothing. This fixes errors trying to use check_consistency alarm on Business Configurations.
-
- 23 Apr, 2021 1 commit
-
-
Arnaud Fontaine authored
This also moves all Configurator Workflows in workflow_module to portal_workflow (workflow_module was an implementation of Workflows based on ERP5 objects and not using DCWorkflow code). * Workflows are now defined on on portal_workflow._chains_by_type anymore but, as everything else, on the Portal Type itself. * portal_workflow can contain and work at the same time with legacy and new Workflows (ERP5Type/patches/DCWorkflow.py monkey-patching DCWorkflow classes to provide the same API). * Existing Workflow Scripts should work as they are and the code can be updated later on to take advantage of the new API: + With legacy implementation Workflow {Scripts,Transitions,Worklists,States} were in a Folder ({scripts,transitions,worklists,states} attribute) but all of these are now in the Workflow itself and their IDs are prefixed (PropertySheet-style), for example `script_`. Legacy attributes are provided in new implementation to call the new API. + When calling a Workflow Script, `container` was bound to its parent, namely WF.scripts (Folder) and a Workflow Script could call another. Now `container` is bound to the WF itself and Workflow Scripts are in a Workflow directly. New implementation `scripts` attribute handle such use case. + Override portal_workflow.__getattr__ so that a Workflow Script can call another one without prefix. * Worklist are Predicate: Worklist filter objects based on given criterions and thus it makes more sense for a Worklist to be a Predicate (albeit a Predicate with only Identity Criterion and nothing else). + Criterion Properties: * state_variable. * local_roles (SECURITY_PARAMETER_ID). * Any Workflow Variables with for_catalog == 1. erp5_performance_test:testWorkflowPerformance were ran to compare DCWorkflow and ERP5Workflow implementations and it seems to be about 4% slower with the new implementation (legacy: 7.547, 7.593, 7.618, 7.59, 7.514 and new: 7.842, 7.723, 7.902, 7.837, 7.875). Work done by Wenjie Zheng, Isabelle Vallet, Sebastien Robin and myself.
-
- 19 Mar, 2020 1 commit
-
-
Arnaud Fontaine authored
Deleted Device Document as it is not used anywhere and not really useful: Item can be used instead. Migrated SubscriptionItem from FS to erp5_open_trade: this is the contract as in https://www.erp5.com/erp5-TechnicalNote.Open.Order#contract and make erp5_payroll depends on erp5_open_trade as Employment Contract is a SubscriptionItem and, per design, Payroll is kind of an Open Order.
-
- 09 Mar, 2020 1 commit
-
-
Arnaud Fontaine authored
Also, move test_data folder to Products.ERP5.tests as this does not need to be in the ZODB.
-
- 04 Jul, 2018 1 commit
-
-
Vincent Pelletier authored
This method does not belong to Folder (nor Base, even as an alias), as it recurses wihout any limit in a tree whose node count is unknown. Such generic recursion should either be deferred (split in multiple transactions, each processing a limited chunk of the tree) or not be recursive (which of course depends on the need). There is a single caller left (constructInstance) where the subtree size is assumed to be reasonable, as it was constructed inside current transaction. So essentially rename this method so it is only used in such conditions.
-
- 16 Mar, 2014 1 commit
-
-
Gabriel Monnerat authored
The logic of all Configuration Items was not changed, but now the changes are applied only if fixit is True and the constraints are filtered by constraint type equal configuration. Cosmetic: Trailing whitespaces were removed in the same commit
-
- 20 Dec, 2013 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 15 Oct, 2012 1 commit
-
-
Rafael Monnerat authored
- Simplify the code and Minor Optimization for sort
-
- 11 Oct, 2012 1 commit
-
-
Rafael Monnerat authored
- Arbitrary remove objects and delete workflow history is bad. This code was never used anyway. - Clean up code which is not used anywhere anymore, legacy from long ago implementation.
-
- 08 Mar, 2012 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Instead get Informations from the Business Configuration, get information directly from the Workflow Document. This easly creates a identity if the workflow and also simplify the process of Pré-configuration.
-
Rafael Monnerat authored
- Check if the bt5 is already installed, this is not a change of behaviour, just a performance improvement - Cache getInstalledBusinessTemplateTitleList, because it doesn't change during the build and it is a bit time consuming do it so often. - Use activate and install_dependency, this can make bt5 list shorter and make core relies on BT5 definitions. - Build should wait for updateBusinessTemplateFromUrl - Automatic Dependence handling updateBusinessTemplateFromUrl is invoked using activities.
-
- 01 Aug, 2011 1 commit
-
-
Rafael Monnerat authored
-
- 21 Jul, 2011 3 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This method comes from previous Implementation.
-
- 21 Jun, 2011 1 commit
-
-
Rafael Monnerat authored
-
- 24 May, 2011 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 07 Apr, 2011 1 commit
-
-
Lucas Carvalho authored
Business Configuration must use Default Image property sheet. From now Business Configuration allow to add Embedded File and it must provide getters/setters methods. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45197 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 05 Apr, 2011 3 commits
-
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45116 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45109 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45108 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 31 Mar, 2011 2 commits
-
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44951 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Rafael Monnerat authored
Remove installConfiguration method. This method become irrelevant into the new configurator. Move afterScript handling to buildConfiguration Method. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44834 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 18 Mar, 2011 1 commit
-
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44416 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Mar, 2011 2 commits
-
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44407 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44374 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Mar, 2011 1 commit
-
-
Rafael Monnerat authored
This changes permit each configurator workflow install his own bt5 dependencies for the build process, instead require install the business templates in advance. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44325 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Jan, 2011 3 commits
-
-
Rafael Monnerat authored
It required save the form into configuration save due to show saved infrmation after use previous . Don't save FileUpload cases because zope does not support it. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42135 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42129 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Rafael Monnerat authored
There is no reason to save entire form into configuration save if it is used [sg]etGlobalConfigurationAttr for store needed properties. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42114 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Dec, 2010 1 commit
-
-
Lucas Carvalho authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41826 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Dec, 2010 1 commit
-
-
Rafael Monnerat authored
ERP5 Configurator allows developer creates configuration wizards for configure an ERP5 Instance. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41680 20353a03-c40f-0410-a6d1-a30d3c3de9de
-