- 09 Jun, 2020 12 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
To be useful, stock browser must show only "our" nodes, seeing all suppliers with a negative stock or clients with a positive stock is not interesting, so users always have to start by configuring their listbox to domain tree node and select a site. This was not really user friendly, but became a bigger problem with ERP5JS listboxes that do not haave domain tree feature. To improve this, initialize the selection with the preferred site category. Listbox does not support to initialize default values of domain tree like, so we do this in a TALES expression for "selection_name", but that's not really elegant.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
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
-
- 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 8 commits
-
-
Jérome Perrin authored
See merge request nexedi/erp5!1144
-
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
-
- 03 Jun, 2020 17 commits
-
-
Georgios Dagkakis authored
test_apply_model_filled_computer_batch_mode did not pass batch_mode and was wrongly checking that result is True Test was passing, because without batch_mode Computer_applyComputerModel returns Base_redirect, so the result is indeed evaluated as True. Yet in this case we should expect False, since no changes are applied
-
Łukasz Nowak authored
-
Jérome Perrin authored
this is required for stock browser to work in ERP5JS with Component portal type
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
and make it possible to create the test delivery using a component as resource
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
this is required for stock browser to work in ERP5JS with Component portal type
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
and make it possible to create the test delivery using a component as resource
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-