- 22 Dec, 2017 8 commits
-
-
Kazuhiko Shiozaki authored
erp5_pdm: use preferred category child item list method in my_variation_category_list field library.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Sebastien Robin authored
Python script needs to be recompiled when they comes from a change of class. This was done when business template was installing scripts, but not when automatic migration from old catalog to new catalog was done. So make sure to call _compile directly in changeObjectClass to make sure Python Scripts would always work after a change of class.
-
Romain Courteaud authored
Replace the airplane icon by a search button if not value is set on the field. This make it more usable on mobile, where it's easier to browse than typing text.
-
Romain Courteaud authored
Regression introduced by nexedi/erp5@cf1a0610
-
Vincent Bechu authored
-
Vincent Bechu authored
-
- 19 Dec, 2017 5 commits
-
-
Vincent Pelletier authored
Calling these can break catalog by not caring about concurrent indexation activities. Even non-restricted code should not call these, but: - they cannot be reliably renamed, as there exist activity dependencies looking for these exact names (which is a bad practice on its own) - there is no simple access control mechanism for non-restricted code So rely on developer discipline instead.
-
Vincent Pelletier authored
Also, simplify scripts while doing so.
-
Vincent Pelletier authored
These methods must not be called synchronously: - they can break catalog by not being careful enough about other reindexations which may happen in parallel. See the serialization_tag mechanism for more. - indexation gets executed in the security context of the user causing the call, which may lead to an indexation result different from what happens when indexation happens with an all-accesses user.
-
Vincent Pelletier authored
To remove the need to directly call immediate reindexation methods, allowing to prevent further misuses of these.
-
Vincent Pelletier authored
Do not check portal's isIndexable, it is checked again in ZSQLCatalog. Directly bind superclass callable instead of doing an extra getattr + call. Trivial python simplifications. Assorted coding style improvements. Drop unhelpful comments and docstrings.
-
- 14 Dec, 2017 1 commit
-
-
Vincent Pelletier authored
getSecurityQuery returns None when caller is superuser. Avoid passing it to buildSQLQuery, as it would mistake security_query for a column name.
-
- 13 Dec, 2017 4 commits
-
-
Tristan Cavelier authored
-
Tomáš Peterka authored
-
Tomáš Peterka authored
-
Vincent Pelletier authored
Float fields are needed to round amounts. Also, discard empty form groups. Also, make "hidden" the first group, so any created field gets hidden by default (which is what we want for all listbox "editable" fields). Also, remove overrides which seem unneeded for report appearance: - "lines" is not used for OD* rendering - "columns" is already the same as in original field "editable_columns" is used in odt (and maybe in ods, unclear), but inconsistently with its intended use... so leave it, sadly.
-
- 12 Dec, 2017 6 commits
-
-
Tomáš Peterka authored
Fixes bug /#/bug_module/20171211-153B610 /reviewed-on nexedi/erp5!526
-
Łukasz Nowak authored
Removed code from not implemented and not needed compatibility layer. /reviewed-on nexedi/erp5!525
-
Roque Porchetto authored
/reviewed-on nexedi/erp5!527
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Vincent Pelletier authored
-
- 11 Dec, 2017 12 commits
-
-
Romain Courteaud authored
Display it on one line
-
Romain Courteaud authored
command: display_with_history
-
Romain Courteaud authored
See nexedi/erp5@be501468
-
Romain Courteaud authored
-
Vincent Bechu authored
It cause huge timeout in automated tests, issue with dispatcher
-
Vincent Bechu authored
-
Yusei Tahara authored
[portal_property_sheets/SupplyLine, erp5_pdm] Add ledger category to Supplies and Supply Lines. And allow users to set an optional quantity unit category to Supply Lines. Also add matrixbox view forms for max delay, min delay, max flow, min flow, max stock, min stock properties.
-
Tomáš Peterka authored
Fixes /#/bug_module/20171208-5E8D43 /reviewed-on nexedi/erp5!523
-
Vincent Pelletier authored
Allows overriding it on instances where the invariant grouping_reference IS NULL == grouping_date IS NULL is applicable, allowing simpler query execution plans.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
For type checking (not recommended, but sometimes useful). Expose it as BaseQuery, to avoid conflict with AutoQuery original name.
-
Vincent Pelletier authored
Make it more easily extensible by exposing a callback. Stop loading documents in the simple version that are only needed by the detailed version. Also, stop checking for this inside the main loop, and instead use the callback mechanism. Use a single query to look for mirror section title instead of one per mirror section. Behaviour change: mirror section (ie, the entity) title is not translated anymore. It used to be because there did not seem to be a reasion not to. It is not anymore to avoid loading rach entity from ZODB in the default report. This rework makes customisation easier, including overwriting this untranslated title with any desired transformation.
-
- 08 Dec, 2017 2 commits
-
-
Tomáš Peterka authored
/reviewed-on nexedi/erp5!521
-
Yusei Tahara authored
[erp5_xhtml_style] erp5.css: Set a margin between Save button and the block of tabs, then Save button does not overlap with tabs.
-
- 07 Dec, 2017 2 commits
-
-
Roque authored
-
Romain Courteaud authored
This allow to go to dialog page on a module, and keep the search parameter.
-