- 15 Jun, 2020 2 commits
-
-
Jérome Perrin authored
Fix a problem with `WebPage.getImplicitSuccessorValueList`, it did not detect references such as: ``` <img src="reference"> ``` when the web page was in the context of a web site, because of some wrong relative URL calculations. See merge request !1153
-
Jérome Perrin authored
Following up !941 , use a script ( $444 ) to rewrite most of XML. The script was not so clever and skipped several cases that would be hard to implement. See merge request !1156
-
- 12 Jun, 2020 5 commits
-
-
Xiaowu Zhang authored
'NoneType' object is not iterable
-
Jérome Perrin authored
Since 05210e87 (erp5_web_renderjs_ui: add LabelField support, 2020-05-26) we have label field support, so this labelfield is no longer rendered with the fallback "read only field" gadget and markup is different. Update selector to make the test happy.
-
Jérome Perrin authored
-
Kazuhiko Shiozaki authored
this is useful for an intermadiate dialog that does not require submit button but still top 'cancel' link works.
-
Jérome Perrin authored
Fixes test failure: ====================================================================== FAIL: testNamingConvention (testERP5NamingConvention.TestNamingConvention) ---------------------------------------------------------------------- Traceback (most recent call last): File "./parts/erp5/Products/ERP5Type/tests/testERP5NamingConvention.py", line 120, in testNamingConvention self.assertEqual(0, len(final_result_list), "\n".join(final_result_list)) AssertionError: erp5_ui_test/Foo_viewParallelListField : Title of the Form itself : 'Foo_viewParallelListField' is not titlecased
-
- 11 Jun, 2020 5 commits
-
-
Jérome Perrin authored
this report got broken in 2178cbed (pdm: fix pylint messages and enable coding style test, 2020-03-09) there's no "Base" portal type. This report has no test coverage, but the bigger problem is that the graph from this report is not readable.
-
Jérome Perrin authored
here as well we need to have body scripts after body for same reasons as 6b8e263b (monaco_editor: put body before head, 2020-06-01)
-
Arnaud Fontaine authored
This fixes testDynamicClassGeneration failure since the migration of IMovement (e8e5f273) which uncovered this issue.
-
Arnaud Fontaine authored
ZODB Components: pylint: Generate astroid Module AST once for both the Component Module and its versioned Module.
-
Arnaud Fontaine authored
This reverts commit 5b93b30f.
-
- 10 Jun, 2020 1 commit
-
-
Xiaowu Zhang authored
if such error occurs, this listfield show "You selected an item that was not in list" error message when save
-
- 09 Jun, 2020 14 commits
-
-
Xiaowu Zhang authored
See merge request nexedi/erp5!1155
-
Lu Xu authored
-
Jérome Perrin authored
- Add a Post interface so that we can use `Post` as a prefix for skins. - fix pylint messages - enable coding style test See merge request nexedi/erp5!1152
-
Jérome Perrin authored
See merge request nexedi/erp5!1150
-
Jérome Perrin authored
-
Romain Courteaud authored
Display a ParallelList field as a list of sub fields calculated with the hash script. Keep previous HAL properties to keep compatibility for client without the JS implementation.
-
Jérome Perrin authored
Base_extractReferredObjectDictFromHtml except that base url to have a leading /, because we ignore the first character of the normalized URL returned by Base_normalizeUrlPathname. By using / as base URL when we are in the context of the website, the paths passed to Base_normalizeUrlPathname always start by / so we can safely drop / from the normalized path returned by Base_normalizeUrlPathname
-
Jérome Perrin authored
because relative URL calculations in referenced pages extractions is different when the page is in the context of a web site, we also have to test this case
-
Jérome Perrin authored
-
Jérome Perrin authored
- compare references not uids - set self.maxDiff=None to see full diff
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 08 Jun, 2020 2 commits
-
-
Romain Courteaud authored
-
Arnaud Fontaine authored
This should have no impact on existing code as pylint is ran on a named temporary file anyway but it avoids useless checks for relative imports and thus is slightly faster.
-
- 05 Jun, 2020 10 commits
-
-
Jérome Perrin authored
See merge request nexedi/erp5!1144
-
Jérome Perrin authored
This is something we can do in TALES, it was supported in the old UI, so we keep compatibility in HAL JSON API.
-
Jérome Perrin authored
-
Jérome Perrin authored
adjust tests now that the test component itself is found by catalog.
-
Jérome Perrin authored
-
Arnaud Fontaine authored
* Import Movement Document: + Event + MailMessage + Project + ImmobilisationMovement * Imported by IMovement: + IAccountingMovement + IAmountGenerator + AmountGeneratorMixin + AmountGeneratorLine + IAssetMovement + IProductionMovement * Used by MovementGeneratorMixin: + IMovementGenerator + IMovementList Also, define providesI<INTERFACE_NAME>() on Base class for migrated Interfaces as these needs to be available before bt5 containing the ZODB Component Interfaces are upgraded (see also c86107bf). Otherwise, testUpgradeInstanceWithOldDataFs fails as z_catalog_item_list (newActiveProcess() from upgrader) calls providesIMovement().
-
Arnaud Fontaine authored
This also moves ImmobilisationItem and its interface from erp5_immobilisation to erp5_core as ImmobilisationDelivery import them.
-
Arnaud Fontaine authored
* Discount: Portal Type actually uses Resource Document.
-
Jérome Perrin authored
We were only checking if the defaut charset or default collation were same, but if anything is different in the table options, we should update it. Also add a missing test for updating column comment
-
Jérome Perrin authored
Not a proper tool to search source code, but makes it possible to search for source code in component.
-
- 04 Jun, 2020 1 commit
-
-
Romain Courteaud authored
-