- 17 Mar, 2023 24 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
-
- 16 Mar, 2023 2 commits
-
-
Jérome Perrin authored
Test setup monkey-patched some function which we removed when merging Zope4 support. This function was used in translationContext, it was working fine in the tests, because the function was here thanks to the monkey-patch, but it failed with ImportError when used for real. This fixes the import to use the real getRequest and drop the patch to prevent similar problems.
-
Jérome Perrin authored
According to https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000027804775/ ValidDate is the date when the transaction was validated ( "16. La date de validation de l'écriture comptable"), this implementation was simply returning the modification date, which was not always correct, for example after causality state was recaculated. This keeps the `getModificationDate` fallback for cases where FEC is used with some non validated transactions, in order to keep compatibility
-
- 15 Mar, 2023 8 commits
-
-
Rafael Monnerat authored
See merge request !1754
-
Jérome Perrin authored
This fixes some regressions introduced by nexedi/erp5!1545 when searching the catalog for non ascii text See merge request nexedi/erp5!1752
-
Jérome Perrin authored
Using unicode with a catalog key or related key got broken in the merge of zope4 support, but using unicode on a translated key (such as translated_portal_type or translated_validation_state_title) was not working before.
-
Jérome Perrin authored
-
Jérome Perrin authored
it supports text, but unless they have non-ASCI characters, so it's better to always pass bytes.
-
Jérome Perrin authored
In original Products.ZSQLMethods, this is text, we want to keep the same semantics and encode only at a lower level.
-
Jérome Perrin authored
MySQLdb's string_literal is a method from the C API and the name is not natural for python programmers, because it manipulates bytes. It supports str, unless they have non ASCII characters, so it's better to always pass bytes. On python2, this change repairs a regression visible when searching catalog with translated related keys. This regression was introduced in the merge of zope4 support, more specifically with 610972af (py3: Update Shared.DC.ZRDB.{sqltest,sqlvar} monkey patches., 2022-04-16), because with the new version of the patches this method gets passed unicode strings, which is fine, unless they contain non ASCII characters.
-
Romain Courteaud authored
-
- 13 Mar, 2023 1 commit
-
-
Jérome Perrin authored
This reverts commit 149fdd1d. This did not support the case of updating old emails for which url_string was set, it was setting coordinate_text and causing emails to have two properties ( url_string to the old value and coordinate_text to the new value ). See discussion on 149fdd1d (comment 180744)
-
- 09 Mar, 2023 3 commits
-
-
Jérome Perrin authored
- make the editor bigger - use monospace font for params
-
Jérome Perrin authored
This can happen with cross origin document, when using open on another domain. In that case selenium crashes and the test never finishes, this allows selenium to finish and report the error.
-
Kazuhiko Shiozaki authored
-
- 08 Mar, 2023 2 commits
-
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
With 12f110d4 (testTableStructureMigration: update test after mariadb 10.3.38, 2023-02-22) we changed the test to support mariadb >= 10.3.38 but it broke the test under 10.3.35. This makes the test support both 10.3.35 and 10.3.38.
-