"product/ERP5Legacy/tests/testLegacySimulationPackingList.py" did not exist on "af4bb8cc5af34a31dfad4d426f5c35b0e565410f"
Fix display of price and quantity for Cells listed on PackingList views
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
Showing
Please register or sign in to comment