- 15 Feb, 2017 20 commits
-
-
Ayush Tiwari authored
- Remove copy-pasting all code from CatalogTool, better to rely on inheritence - Remove unnecessary imports - Add argument id in __init__ class - Add functions _isBootstrapRequired and _bootstrap - Update BusinessTemplate installation according to changes made in ERP5Catalog and Tool
-
Ayush Tiwari authored
We try to move from using SQLCatalog to ERP5Catalog as the default Catalog inside ERP5. The major difference is use of Folder class as the base for Catalog from Products.ERP5Type.Core Significant changes: -Add dtml form for creating ERP5Catalog object -Inherit from Catalog class from Products.ZSQLCatalog.SQLCatalog instead of copy-pasting the whole code again. -Add allowed_types for ERP5Catalog tool -Monkey patch some property setters and getters to maintain consistency -Update id and title for ERP5Catlog while class initialization -Set declarative securities and solve some inheritance conflicts -Add isRADContent for ERP5Catalog Class -Solve inheritence conflict for _setPropValue function in ERP5Catalog class -Add SQL Method portal_type in allowed_types for ERP5Catalog class -Override getCatalogMethodIds cause it uses global variable in SQLCatalog.Catalog -Redefine security declarations -Add functions for object_actions of Catalog portal_type in ERP5Catalog object -Add filter_dict and _properties attributes for compatibilty -isIndexable should be function instead of Accessor property for Catalog object
-
Ayush Tiwari authored
Here, we are creating the SQLMethod class based on ZSQLMethods.SQL class and XMLObject. Also, we are moving important attributes to property in 'SQL Method' property sheets.
-
Ayush Tiwari authored
Loosen the security on methods which we will use in erp5 catalog view in restricted environment. As suggested by \@vpelletier, this should be accepted as all methods were restricted by default earlier.
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
erp5_travel_expense: Record creation is eventless erp5_travel_expense: Representative Record creation is done by an alarm
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Iliya Manolov authored
Copypasta from the other MR [here](nexedi/erp5!230 (comment 22890)). I found a problem and tried again from scratch. I will close that Merge Request once this one has been approved... @Tyagov Currently, when running a Jupyter notebook using some types of imports leads to errors. With this fix the following ways to import things are working: ```python import string # worked before fix import string as s # worked before fix from string import ascii_lowercase # worked before fix from string import ascii_lowercase, ascii_uppercase, digits # fixed - used to import only the first thing from string import ascii_lowercase as a, ascii_uppercase as b # fixed - used to give "Error at Server Side" from string import * # fixed - used to give "Error at Server Side" from string import Template # works ``` This was happening because after executing every cell the code would move between SlapOS nodes and lose the imported modules/classes/stuff. This was partially fixed before, but this fix should cover all use cases. I have also added tests for these cases in testExecuteJupyter... /reviewed-on nexedi/erp5!233
-
- 10 Feb, 2017 1 commit
-
-
Nicolas Wavrant authored
Otherwise, the portal_status_message is not correctly escaped, which can cause bugs with older web browsers. It happens when the translation of this messages in the user's language uses special characters
-
- 06 Feb, 2017 2 commits
-
-
Kazuhiko Shiozaki authored
MonthlyRangeMovementGroup: make tested property list configurable, whose default is ('start_date', 'stop_date').
-
Kazuhiko Shiozaki authored
-
- 03 Feb, 2017 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 02 Feb, 2017 5 commits
-
-
Gabriel Monnerat authored
Fix inconsistencies from gadgets /cc @jerome /reviewed-on nexedi/erp5!225
-
Gabriel Monnerat authored
erp5_knowledge_pad: Fix inconsistency with preferred_height and preferred_width in google_maps gadget ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_maps (message: Attribute preferred_width should be of type string but is of type <type 'int'>) ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_maps (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
-
Gabriel Monnerat authored
erp5_knowledge_pad: Fix inconsistency with preferred_height and preferred_width in google_calendar gadget ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_calendar (message: Attribute preferred_width should be of type string but is of type <type 'int'>) ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_calendar (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
-
Gabriel Monnerat authored
erp5_knowledge_pad: Fix inconsistency with preferred_height and preferred_width in google_search gadget ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_search (message: Attribute preferred_width should be of type string but is of type <type 'int'>) ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_search (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
-
Gabriel Monnerat authored
ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/clock (message: Attribute preferred_width should be of type string but is of type <type 'int'>) ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/clock (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
-
- 01 Feb, 2017 1 commit
-
-
Nicolas Wavrant authored
erp5_payroll_l10n_fr: reflects change in entreprise/employer from paysheets into the dialog aggregating paysheets for DSN social reports
-
- 27 Jan, 2017 1 commit
-
-
Tristan Cavelier authored
/reviewed-on nexedi/erp5!229
-
- 25 Jan, 2017 9 commits
-
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-