- 14 Apr, 2020 37 commits
-
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
We need to be able to see the future without auto planned orders, else how are we going to update them?
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Arnaud Fontaine authored
erp5_mrp: Copy price_currency to Manufacturing Execution and Production Packing List (PSA specific?). In PSA for ME: Problem Report is created from a ME which then build a Returned IPL from scratch copying properties from the ME. After this Returned IPL is root-expanded, Real Time Inventory Accounting Rule is expanded too and requires price_currency.
-
Arnaud Fontaine authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
As a matter of fact immediateReindexObject doesn't call reindexObject on the object
-
Cédric Le Ninivin authored
buidler: Add tmp fix/workaround on movement order builder: Use periodicity to determinate start date builder mixin: Take into account supply date range before create movement builder: Hackish immediate reindex of order to work for parallel build builder: use dedicated script to evaluate min stock builder: autoPlan only if possible builder: Reference of order line is reference of resource line builder: include order delay and effective date builder: fixup add missing part for effective date builder: Tweak and fix supply builder builder: Fixup supply builder builder: immediate reindex delivery on creation builder: use _edit on delivery to only reindex modification builder: Supply builder work with period builder: Supply builder improved builder: use flow unit for min stock calculation builder: Supply Builder Fix future inventory for parts not activated yet builder: Supply builder do not create movement for resources that won't be consumed in the future
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
SimulationTool: getNextAlertInventoryDate can look for the lowest invetory inferior to the reference quantity
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
-
Cédric Le Ninivin authored
Expanding frozen Simulation resulting from a split and Defer raise a `NotImplementedError`. It comes from the `_extendMovementCollectionDiff` function in [RuleMixin](product/ERP5/mixin/rule.py) checking the recorded property "Quantity". The Quantity Split Solver set this variable to zero hence leading the function to consider compensation is needed. This merge request remove the setting of the recorded property `quantity` on the the split movement. Re-expanding from the root was also removing that recorded property asking the question if this is needed. As of now system having used Split and defer Quantity will most likely not be able to re-expand their resulting simulation. A Test is added to validate the fix. See merge request !1097
-
- 13 Apr, 2020 3 commits
-
-
Jérome Perrin authored
This is a dependency of erp5_credential, it should be installed in the test. This fixes a test failure, portal_notification.sendNotification(store_as_event=True) is now an error when erp5_crm is not installed.
-
Jérome Perrin authored
Add some features to restricted python and fix problems revealed by running Zope's test suites. # Bug fixes - Disallow access to old style classes without security declarations. This is not allowed in vanilla zope, but we allowed this accidentally about two years ago. This branch includes some fixes for cases where we accessed not protected classes in a way that should not have been allowed - ERP5 test suite pass, but there might be more cases in code not covered by ERP5 test suite. - Fix iterating on `reversed(iterable)` which was unauthorized, maybe since python 2.7 - Disallow new style classes in container access (iteration, `{}.get` etc). Only classes had this problem, not instances, so this probably has no impact for us, but it allows running AccessControl test suite. - Disallow attribute names ending in `__roles__` in class name. This probably does not impact us either, but also for AccessControl tests suite. # New features - Allow iterating on a generator. It's still not possible to use `yield` statement in restricted python, but iterating is now possible - Allow `cStringIO.StringIO("initial value")`, only `cStringIO.StringIO()` was allowed - Enable `collections.namedtuple` and add a few tests for other members of `collections` ( not `collections.deque` because we never used it so far ) See merge request !1090
-
Jérome Perrin authored
This uses the new "only ERP5JS" actions to enable components editor in ERP5JS, so that we can edit components on ERP5JS . This does not change anything in the old UI (erp5_xhml_style), where the editor field will still be used. See merge request !982
-