- 06 Feb, 2025 1 commit
-
-
Titouan Soulard authored
The two scripts were a bit too independant from one another, sometimes causing weird behaviours. Editing a quantity now depends on the quantity being enabled, which happens when the line is not expected to have cells or sublines. Also enforces expected behaviour for items: if a product or service has *required* items, its quantity cannot be edited, since quantity of the items should set the quantity of the line or cell.
-
- 05 Feb, 2025 1 commit
-
-
Xiaowu Zhang authored
See merge request !2046
-
- 04 Feb, 2025 1 commit
-
-
Xiaowu Zhang authored
See merge request !2055
-
- 03 Feb, 2025 3 commits
-
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
we mainly add a Quality Assurance Module, which mainly contains: Quality Control, Gate, Traceability, SMON, ACOM Quality Control: Present a quality control, such as validate document Gate: when a gate is posted, the quality element which's int index is greater than this one and smaller than next gate will change to Expected state Traceability: used to record the informations of products used SMON: it's like a Gate, when validate, the product is off of fabrication line ACOM: all controls are finished, manufacturing execution is finished The Quality Element has a Quality Assurance Workflow workflow described as blow Draft -> Creation State Queued -> Document is planned, wait to show to the user Expected -> Document is shown to the user for it to be completed Pending Update -> A version of this document has been posted that doesn't satisfy Quality Assurance. A New version is needed. (useful for Quality Operation that needs to be redone). Document is shown to the user for it to be completed. Posted -> Document has been completed by the user. Archived -> A new version of the document has been posted, the old one become archived it has also a Quality Assurance Interaction Workflow which is used to show next /archive previous quality element
-
Xiaowu Zhang authored
it's a regression introduced by 1b555dbf
-
- 31 Jan, 2025 4 commits
-
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
in ManufacturingOrder_view and ManufacturingExecution_view, we have a field Ledger,so probably we miss this category in builder
-
- 29 Jan, 2025 7 commits
-
-
Jérome Perrin authored
erp5_site_global_id was from the tiolive time, when we were using ERP5 with mariadb and memcached instances shared by many zope instances, this was used as a way to implement namespaces in memcached, to prevent conflicts such as two different zope using the same cache keys. Nowadays, we no longer share memcached, each ERP5 instance has its own memcached and this prefixing is no longer needed, but there is still one exception, when we run test using runTestSuite with --node_quantity higher than 1, we have multiple running test instances sharing the same mariadb and the same memcached. In that case, each test instance uses a different mariadb database, but the risk of conflict remain for memcached. To solve this, we introduce a prefix for keys, choosen randomly at test startup. This was more or less what the current implementation was trying to do, but we were setting erp5_site_global_id on the wrong object, so it was not working since 4889d523 (Define property's default value at class level., 2012-12-31). Also, this was only done at the level of SharedDict, but some APIs such as CacheTool or SessionTool use MemcachedDict directly. There was other problems that using the sql connection string encoded in base64 was a too long prefix, because memcached are limited in size. Also it was not preventing collisions when running tests on the same test node, each runUnitTest execution was still having pollution from the previous runUnitTest.
-
Jérome Perrin authored
This does not validate against the schema: Element 'ecriture': Missing child element(s). Expected is ( ligne ).
-
Jérome Perrin authored
-
Jérome Perrin authored
See merge request !2051
-
Titouan Soulard authored
-
Titouan Soulard authored
-
Titouan Soulard authored
As reported on the forum, using this function displays some weird characters when exporting, such as `!`. This is due to a double-escape, first by the `WebPage_viewAsBook` script, and second by Page Template without `structure` option. /cc @xiaowu.zhang /reviewed-by @jerome @Nicolas /reviewed-on !2023
-
- 27 Jan, 2025 2 commits
-
-
Rafael Monnerat authored
This aims to allow the admin know if there is or not an activity failure on ERP5. It outputs at most one entry if there is at least one activity failure, based on the standard sort, (which consider priority and date) and using uid as guid, if provides a stable output even if other activities fail later on (so we dont have a flickeing output). DateTime.earliestTime is used to refresh dates daily (leading to new entry on most of rss readers) and to not expose when the activity was created, This requires no authentication.
-
Rafael Monnerat authored
Create temp objects requires to be manage, so protect the method to raise a proper exception
-
- 26 Jan, 2025 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Simplified version which fails on the first error
-
Jérome Perrin authored
This was a regression from 9a7e3383 (Do not overwrite `output.write` in live tests., 2024-04-10), we missed that `output` was also passed to TestRunner to run the suite Now that we actually print on stderr, adjust the tests to verify it and also to not let the output from running a test in test be included in the test output, because it confuses the real test output parser.
-
Jérome Perrin authored
-
- 24 Jan, 2025 6 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
We were applying str() to PData or bytes, resulting on broken image inserted, something like "b'PNG'" instead of the expected "PNG"
-
Jérome Perrin authored
This was not correct on python3
-
Jérome Perrin authored
-
Jérome Perrin authored
from 031408c6 (erp5_full_text_mroonga_catalog: defer fulltext index and unindex using dedicated catalog keys., 2025-01-13) Co-Authored-by: Kazuhiko SHIOZAKI <kazuhiko@nexedi.com>
-
Jérome Perrin authored
when fixing coding style in 0b8b8475 (administration,core: wrong location when reporting pylint errors, 2024-05-25) it became wrong here.
-
- 23 Jan, 2025 1 commit
-
-
Kazuhiko Shiozaki authored
fixup! fixup! fixup! erp5_full_text_mroonga_catalog: defer fulltext index and unindex using dedicated catalog keys.
-
- 22 Jan, 2025 3 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
fixup! fixup! erp5_full_text_mroonga_catalog: defer fulltext index and unindex using dedicated catalog keys.
-
- 21 Jan, 2025 1 commit
-
-
Léo-Paul Géneau authored
Add a Hateoas preference field to filter available actions through a custom script. See merge request !2039
-
- 20 Jan, 2025 6 commits
-
-
Kazuhiko Shiozaki authored
no need to wrap object list in case of deferred index, otherwise another security_uid can be issued.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Move tracking and submit URLs to proper settings using Link sub-object for store the values like in Payment Services when multiple urls are defined for a given service.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Kazuhiko Shiozaki authored
we should use a different grouped method id so that non-deferred and deferred activities will not be grouped at once.
-