Commit bc2ef92a authored by Jérome Perrin's avatar Jérome Perrin

item: do not expose item_quantity on Item_getTrackingList brains yet

this is still unfinished work
parent 481c9d45
......@@ -22,7 +22,7 @@ for brain in method(aggregate_uid=context.getUid(), **kw):
translated_portal_type=explanation.getTranslatedPortalType(),
quantity=explanation.getQuantity(),
url=explanation.absolute_url(),
item_quantity=context.getQuantity(at_date=date),
# item_quantity=context.getQuantity(at_date=date),
variation_category_item_list=[x[0] for x in explanation.getVariationCategoryItemList()],
simulation_state=explanation.getTranslatedSimulationStateTitle(),
)
......
  • Hello @jerome ,

    Seems you omitted the form Item_viewTrackingList. It shows in a listbox a column "item_quantity | Quantity". After this commit, it display nothing. I'm going to just use quantity in the form.

  • @seb you are right, I missed this one. Changing listbox to quantity | Quantity is a good fix. I understand from your comment you are doing, but let me know if you want me to correct this.

Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment