- 09 Jun, 2020 5 commits
-
-
Jérome Perrin authored
-
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 1 commit
-
-
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 25 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
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
otherwise it is acquired from BudgetLine, which is bad because: - the value of catalog.has_cell_content will be wrong - hasCellContent is slow and this was called for all cells in a budget line
-
Jérome Perrin authored
* support budget cell's getInventoryQueryDict * raise NotImplementedError for budget cell variation. We can't implement this unless we generate dynamically a date time field on budget line's view. Still TODO: * Test * group_by slot_index should not be needed * think more about a generic "domain budget variation" ?
-