- 17 Aug, 2016 2 commits
-
-
-
Douglas authored
@Tyagov, please review. Errors currently captured: - environment.define call 1st argument is not a function and/or 2nd argument is not a string - environment.define call argument is not a string - environment.undefine trying to remove a function that is not in the environment Proper tests were added. /reviewed-on nexedi/erp5!144
-
- 11 Aug, 2016 1 commit
-
-
Rafael Monnerat authored
Performance tests were reconfigured on a new hardware, which is slower them the previous one. So this commit move the values to the new hardware based on the results after few days of result.
-
- 10 Aug, 2016 3 commits
-
-
Sebastien Robin authored
This is very helpful when a warehouse is splitted into multiple stock points. Also avoid returning no stock optimisations if no date could be found in future.
-
Sebastien Robin authored
If for some reasons loadClass was not working, it was failing totally silently without any log. If there is any unexpected error in loadClass, this ended up for example having some tests failing with : RuntimeError: Malformed property definition <persistent broken erp5.portal_type.Acquired Property instance '\x00\x00\x00\x00\x00\x00\x12\xb5'> on /erp5/portal_property_sheets/SimpleItem While only this was displayed in logs : ERP5Type/dynamic/lazy_class.py", line 350, in loadClass class_definition = generatePortalTypeClass(site, portal_type) ... AttributeError: __of__ Which was totally unrelated to the real problem. So a silent initial error was the source of later unrelated errors, making it very difficult to find the initial source of problem. So make sure we have logs as soon as we are not able to load a class.
-
Douglas authored
-
- 09 Aug, 2016 8 commits
-
-
Sebastien Robin authored
-
Nicolas Wavrant authored
erp5_invoicing: Invoice Transaction Simulation Rule can also expand from Pay Sheet Rule (which is basically an invoice)
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
erp5_payroll_l10n_fr: adds new Types of Documents used to produce a French Social Declaration Report called DSN (Declaration Sociale Nominative)
-
Nicolas Wavrant authored
The new modules are the Social Declaration Report Module itself, and the Payroll Enrollment Record Module, to add some information about every employee's working contract.
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
erp5_base: updates the Career view to add one new field to differentiate company and establishment, and one to attach records.
-
Nicolas Wavrant authored
-
- 08 Aug, 2016 5 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Douglas authored
Before, we we're redirecting `sys.stdout` and this doesn't play nice with the distribute architecture of ERP5 and our Jupyter kernel needs to be adjusted for this. So, we're now using an AST processor to fix print calls. It will modify the print and make it write to a different file-like object. All the writes are collected after code execution and sent to Jupyter. It's still necesasry though to fix print inside other libraries. But for this deeper investigation is necessary because we cannot replace print as a statement inside `exec` contetx, it needs to be used as a function. Code can be compiled to run with `print` as a function, but then external libraries calls will be broken.
-
Sebastien Robin authored
-
Sebastien Robin authored
-
- 05 Aug, 2016 5 commits
-
-
Xiaohe Cao authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Xiaohe Cao authored
-
Rafael Monnerat authored
-
- 04 Aug, 2016 5 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
The item of produced resources must not be reused on consumed resources
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Sebastien Robin authored
in some rare cases, proxy was still alive for unknown reasons, thus we had troubles to start a new one. some testnodes were failing randomly because of this
-
- 03 Aug, 2016 1 commit
-
-
Tristan Cavelier authored
-
- 02 Aug, 2016 3 commits
-
-
Ayush Tiwari authored
This change solves the error which one gets while trying to access properties Form for an ERP5 object having one or more of its property of type 'selection' or 'multiple selection'. For example: If you try to access property form for any portal_type objects, you'll get an error : "'select_variable' is not defined". This is because of the absence of the property 'select_variable' for the property of type multiple selection, which in case of portal_type object is 'Property Sheet List'. This is helpful for ERP5 views/forms which displays selection or multiple selection type object.
-
Ayush Tiwari authored
-
Ayush Tiwari authored
ERP5 Subcategory: Remove '_'(underscore) from 'multiple_selection' subcategory in elmentary_type category. Subcategory 'multiple_selection' has been renamed to 'multiple selection' to maintain consistency. Earlier, whenever a new StandardCategory object was created with property_type 'multiple selection', one needed to change the elementary type explicilty to use it to generate property setters and getters. The example for this can be seen from this commit: nexedi/erp5@fd738753 After this change, in the view, property type field couldn't recognize the property and displays (???multiple selection). Also, everywhere in erp5, list_types do mention 'multiple selction' and not 'multiple_selection'. So, its better to maintain consistency in naming the subcategory.
-
- 01 Aug, 2016 1 commit
-
-
Tristan Cavelier authored
-
- 29 Jul, 2016 6 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Implement an ad-hoc responsive CSS for ERP5. This CSS is generated with the LESS compiler (http://less2css.org/). Create new ERP5 launcher, to break compatibility with officejs. OfficeJS apps will be migrated one by one to the new CSS.
-