An error occurred fetching the project authors.
  1. 05 Aug, 2010 1 commit
    • Nicolas Dumazet's avatar
      Fix display of price and quantity for Cells listed on PackingList views · 62637ff0
      Nicolas Dumazet authored
      Packing List views are a bit particular because they use getMovementList.
      All the listbox lines are movements. Similarly, some lines can bear
      variation categories. It means that the "enabled" TALES test:
        python: cell.isMovement() and not cell.getVariationCategoryList()
      is problematic for this view.
      
      For quantity fields, the Base_viewFieldLibrary.my_view_mode_quantity
      fits perfectly our usecase.
      For price, we need to get price precision from the cell, so
      Base_viewFieldLibrary.my_view_mode_price does not fit. On the other hand,
      Base_viewTradeFieldLibrary.my_view_mode_price does include the "enabled" TALES,
      which we do not want.
      We thus create a new "my_view_mode_movement_listbox_price" field in
      Base_viewTradeFieldLibrary for this usage.
      
      
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37500 20353a03-c40f-0410-a6d1-a30d3c3de9de
      62637ff0
  2. 04 Aug, 2010 8 commits
  3. 03 Aug, 2010 14 commits
  4. 02 Aug, 2010 12 commits
  5. 31 Jul, 2010 3 commits
  6. 30 Jul, 2010 2 commits