2071 Posts in 814 Topics by 448 members
|Go to End|
9 August 2010 at 4:36pm
im trying to add the Orders of a Member to the Members Managed Model in Modeladmin through the relation : Order got one Member and Member got many Orders. So far so good; I can now access the Orders and Payment entries from the selected Member in the Member section.
The problem is that i cant access the OrderAttributes which are related to the Order. I managed to display the correct summary_fields with a Decorator (OrderAttributeDecorator) , but i cant edit or view the entries in the tablelistfield cause it looks like the OrderAttributes dont got a ID. (the view and edit links are now generated without an itemid and causing an error)
i got the following message if i try to debug the DataObjectSet with the OrderAttributes(shortend):
OrderItem class details
Quantity : 1
Order ID : The order has not been saved yet, so there is no ID
The point is that is not true^^ the Order was definitly saved.
thanks in advance for your help!
|Go to Top|