- 26 Mar, 2019 40 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
-
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
-
Julien Muchembled authored
With recent changes in CMFActivity, getServerAddress is now used when setting up the site, before the ZServer is started, which means: - getServerAddress memoized a wrong return value; - the test didn't fail with --load.
-
Aurélien Vermylen authored
The button "Subscribe/Unsubscribe from Timer Service" does not clearly explain the fact that it determines whether or not Alarms are enabled in ERP5. It is very counter-intuitive to see Alarms on "enabled" in the "Configure Alarms" screen and yet not have them being run because the Alarm Node is not subscribed to the Timer Service. /reviewed-on nexedi/erp5!539
-
Jérome Perrin authored
This fallback seems useless in this context, getClientAddr should be available.
-
Jérome Perrin authored
This test does not need to create an actual user as it just check plugin extract login & password from request. This test does not need to install the plugin in PAS, the actual check instanciate another ERP5DumbHTTPExtractionPlugin.
-
Jérome Perrin authored
- no longer needed to have same user id and logins. - upgrader activate the plugin
-
Jérome Perrin authored
This keep the current behavior. Invalidating all logins is also a way to disable login for this user without having to find all tokens and invalidate them one by one
-
Jérome Perrin authored
for compatibility with login/password
-
Jérome Perrin authored
-
Jérome Perrin authored
Because this was broken, we took the liberty to introduce a breaking change to fix naming, now type based scripts are *_getUserValue and must return a user document, with a getUserId method returning the user id. Make this plugin also an IAuthenticationPlugin which does all the job of returning the user id. It does not really make sense to delegate this to default authenticator. A side effect is that token can still authenticate users with no assignments, since tokens are scriptable, if this is a requirement, it can be implemented in scripts. also update test: - plugin must be enabled for IAuthenticationPlugin - check complete authentication sequence, not just extraction - update scripts to new names - simplify transaction management - don't set self.person, it was not used anywhere - update _createPerson to reindex, as said in docstring - merge all tests in on test component
-
Jérome Perrin authored
-
Jérome Perrin authored
(because my editor runs python3 pytlint)
-
Jérome Perrin authored
/reviewed-on nexedi/erp5!839
-
Xiaowu Zhang authored
benefit is very small and unusable for user nexedi/erp5@1f254aa7
-
Vincent Pelletier authored
This is called when checking access permission on objects, which happens very often. CachingMethod has a hit cost which is too high for this use. Instead, generate this method as part of the portal type class, removing all call-time logic.
-
Vincent Pelletier authored
It is superseded by __self__, which (where applicable) prevents acquisition and getattr-based traversal, improving performance. Patch AccessControl.users.BasicUser._check_context to extend this change to zope code (and simplify it in the process). Also, make __ac_local_roles__ accesses consistent with other places in our own code as well as in PAS & AccessControl.
-