1. 29 Jan, 2021 3 commits
    • Jérome Perrin's avatar
      testFields: test for ProxyField.has_value · e4275bbe
      Jérome Perrin authored
      This was not much tested
      e4275bbe
    • Jérome Perrin's avatar
      trade: support "Asset Price" valuation method in stock report · fe941384
      Jérome Perrin authored
      This shows the asset price from `stock.total_price` which can be just the
      movement prices or the evaluated prices if getDestinationAssetPrice and/or
      getSourceAssetPrice type based methods are defined.
      fe941384
    • Jérome Perrin's avatar
      item: fix a conflict in field libraries · 196975c0
      Jérome Perrin authored
      erp5_trade contains Base_viewTradeFieldLibrary which contain
      my_dialog_mode_portal_type, which is a multi list field where user can
      select multiple lines portal types. It is used in
      DeliveryModule_viewDeliveryLineReportDialog/your_portal_type
      
      erp5_item also contains Base_viewTradeFieldLibrary , for cases where
      erp5_item extend trade module to select items. It also contains a
      my_dialog_mode_portal_type field, where user can select item portal type.
      That field is not a multi-list field, but a list-field. It is used in
      DeliveryLine_viewSelectItemListDialog
      
      So when erp5_item is installed, it overrides
      Base_viewTradeFieldLibrary/my_dialog_mode_portal_type with a list field
      instead of a multi-list field and breaks
      DeliveryModule_viewDeliveryLineReportDialog, because user can no longer
      select more than one portal type.
      
      This renames the field in erp5_item, now we have:
       * Base_viewTradeFieldLibrary/my_dialog_mode_portal_type for movement
      portal types
       * Base_viewTradeFieldLibrary/my_dialog_mode_item_portal_type for item
      portal type
      196975c0
  2. 28 Jan, 2021 4 commits
  3. 27 Jan, 2021 3 commits
  4. 26 Jan, 2021 7 commits
  5. 25 Jan, 2021 9 commits
  6. 22 Jan, 2021 1 commit
  7. 20 Jan, 2021 5 commits
  8. 19 Jan, 2021 5 commits
  9. 18 Jan, 2021 2 commits
    • Vincent Pelletier's avatar
      CMFActivity: Optimise validation queries. · a016ed04
      Vincent Pelletier authored
      See SQLBase._getExecutableMessageSet for operation principle.
      Removes the notion of order_validation_text: activity validation is no
      longer evaluated per-activity , but per-dependency for multiple activities
      at a time. In this context, order_validation_text does not make sense as
      it flattens all dependency types for a given activity.
      Rework activity-dependency-to-SQL methods: use a dict rather
      dynamically-generated method names.
      Based on initial work by Julien Muchembled.
      a016ed04
    • Vincent Pelletier's avatar
      CMFActivity.Activity.SQLBase: Properly release reserved messages when load raises. · f09e1a36
      Vincent Pelletier authored
      Seen happen on SQLDict with 94 indexation activities being stuck assigned
      to a processing node on which load failed because of an SQL deadlock.
      f09e1a36
  10. 14 Jan, 2021 1 commit