1. 20 Feb, 2025 22 commits
  2. 18 Feb, 2025 4 commits
    • Titouan Soulard's avatar
      erp5_trade: rework Inventory workflow · f73378ac
      Titouan Soulard authored
      In order to have Inventory Offset Lines, we want the user to be able to check
      the generated lines before validating. This commit therefore adds an
      intermediate state `planned`, which will be used to trigger generation of
      Simulation Movements and building of the offset lines.
      
      Some other small changes have been done to make the actions' names more clear
      and adhere to ERP5 standards, but all keep backward compatiblity: previous states
      have been kept, and previously validated inventories are now recorded so that
      no Simulation Movements will be generated that would impact stock values.
      f73378ac
    • Titouan Soulard's avatar
      b809c0b6
    • Titouan Soulard's avatar
      erp5_advanced_trade: delete script `Movement_isQuantityEditable` · d3195baf
      Titouan Soulard authored
      The script now has a drop-in replacement in `erp5_trade` which works as-is even
      in the case of advanced trade (calls `Movement_isQuantityEnabled`). Henceforth,
      the custom script in `erp5_advanced_trade` is not needed anymore.
      d3195baf
    • Titouan Soulard's avatar
      erp5_trade: rework `isQuantityEnabled` and `isQuantityEditable` scripts · c60c02a8
      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.
      c60c02a8
  3. 17 Feb, 2025 2 commits
  4. 14 Feb, 2025 4 commits
  5. 13 Feb, 2025 2 commits
  6. 07 Feb, 2025 1 commit
  7. 05 Feb, 2025 1 commit
  8. 04 Feb, 2025 1 commit
  9. 03 Feb, 2025 3 commits
    • Xiaowu Zhang's avatar
      erp5_mes_quality_assurance_test: add tests · 84c7c0ee
      Xiaowu Zhang authored
      84c7c0ee
    • Xiaowu Zhang's avatar
      erp5_mes_quality_assurance: add quality operation · d493113a
      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
      d493113a
    • Xiaowu Zhang's avatar
      erp5_corporate_identity&test: fix UnicodeEncodeError when export page · 1f86d1e2
      Xiaowu Zhang authored
      it's a regression introduced by 1b555dbf
      1f86d1e2