- 08 Sep, 2017 13 commits
-
-
Tatuya Kamada authored
Before: self.portal_components.reset(force=True, reset_portal_type_at_transaction_boundary=True) After: self.portal_components.reset(force=True) If the reset_portal_type_at_transaction_boundary is True, it does reset component only once at the end of transaction. (In detail, it reset component document module on the fly, and reset the component portal_types in the end of the transaction) However, it is possible that those components are required in the middle of the transaction while installing the business templates. For exmaple: - A method of a component is triggered while installing - A document component is required in a different business template, and those buisiness templates are installed inside a single transaction by upgrader. Thus reset here on the fly.
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
Tatuya Kamada authored
-
Klaus Wölfel authored
-
Klaus Wölfel authored
-
Klaus Wölfel authored
Conflicts: product/ERP5/bootstrap/erp5_core/bt/template_document_id_list
-
Klaus Wölfel authored
Conflicts: product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/PyData%20Script/proxy_role_view.xml product/ERP5/bootstrap/erp5_core/bt/template_action_path_list
-
Klaus Wölfel authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
This was an experiment which never worked. It has only been loosely following erp5_mysql_innodb_catalog for no actual use. It is a dead weight.
-
Vincent Pelletier authored
This code is not used by generic code for several years, and is unmaintained. Resource_zGetInventoryList supersedes it, and will be worked on, so I take this opportunity to reduce maintenance costs.
-
- 07 Sep, 2017 10 commits
-
-
Romain Courteaud authored
Breaking word everywhere leads to a really ugly rendering
-
Tomáš Peterka authored
[json_style] Support manual pagination in ListBoxes when the underlaying script does not support limits
-
Tomáš Peterka authored
-
Xiaowu Zhang authored
green for success and orange for fail
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
erp5_hal_json_style: relationfield is rendered as no editable with empty value when user can't access related document
-
Vincent Bechu authored
cause ooffice_text was launched
-
Vincent Bechu authored
-
Romain Courteaud authored
-
Xiaowu Zhang authored
-
- 06 Sep, 2017 11 commits
-
-
Tomáš Peterka authored
Fixing testCloneObject unit test The problem was that upon installation the generic list view became the default view of Foo Line thus was missing actions like Clone. This one is particularly hard to find because diff does not show this problem and moreover newly created action on a Portal Type is placed last by default. Thus this is a random error. /reviewed-on nexedi/erp5!375
-
Romain Courteaud authored
Display only 2 lines of content per document. Correctly align all text.
-
Vincent Bechu authored
Test Pass: https://nexedijs.erp5.net/#/test_result_module/20170905-1D7D2697?page=form&view=view /reviewed-on nexedi/erp5!373
-
Vincent Bechu authored
-
Vincent Bechu authored
-
Vincent Bechu authored
Default value: gadget_erp5_nojqm.css
-
Boxiang Sun authored
-
Boxiang Sun authored
erp5_officejs_support_request_ui: Use shorter bar title which can make the title more visible on the small screen.
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
When a user clicked an item on a chart. The listbox in below only show the items which related to that item. This is done by generating a search criterion according to that chart item. Then provide this criterion as "extended_search" to update the lisbox.
-
- 05 Sep, 2017 2 commits
-
-
Tomáš Peterka authored
Fixes broken test on master /reviewed-on nexedi/erp5!374
-
Tatuya Kamada authored
Restricted: Allow datetime module class attributes. To allow the class attributes, we add a helper method ``allow_class_attribute''. Why addng this is because allow_module can allow instance methods but not class attributes. For example, datetime.datetime.now(), datetime.datetime.max, dict.fromkeys(), Decimal.from_float(), epoll.fromfd(), itertools.chain.from_iterable() are class attributes in Python 2.7. Also, add a special in-advance-import for datetime.datetime.strptime(). It is because datetime.datetime.strptime() imports _strptime by C function PyImport_Import which calls __import__(name, globals, locals, fromlist=['__doc__'], level=0). The "level=0" is not supported by AccessControl in Zope2. At the same time, the dummy from '__doc__' is neither allowed in it by default. Therefore we import _strptime in advance in this monkey patch file. This prevents both importing _strptime with level=0, and accessing __doc__, when calling datetime.datetime.strptime() in Restricted environment. /cc @vpelletier @jm @klaus /reviewed-on !275
-
- 04 Sep, 2017 4 commits
-
-
Boxiang Sun authored
erp5_officejs_support_request_ui: Check the "Empty Criterion is Valid" checkbox in "Unsafe" web section. Without check the "Empty Criterion is Valid", the web section will return nothing. But due to a bug, the web section will return all documents anyway. This should be checked.
-
Boxiang Sun authored
Rename `rjs_gadget_erp5_pt_listpage*` to `gadget_supportrequest_pt_listpage*`. Rename `rjs_gadget_erp5_pt_form_view_discussable*` to `gadget_supportrequest_pt_form_view_discussable*`. Web pages which ID starts by `rjs_gaget_erp5` will be include in `erp5_web_renderjs_ui` bt5. We want the custom page template only be included in the `erp5_officejs_support_request_ui`.
-
Boxiang Sun authored
Rename the title of left chart to "Support Requests Pipe", right chart to "Last Month Activity"
-
Boxiang Sun authored
-