Skip to content

Commit

Permalink
feat: Add more refKeys in Order.cart relation (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
sveneberth authored Dec 3, 2024
1 parent b6adc51 commit 8d8bffa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/viur/shop/skeletons/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ class OrderSkel(Skeleton): # STATE: Complete (as in model)
kind="{{viur_shop_modulename}}_cart_node",
module="{{viur_shop_modulename}}/cart_node",
consistency=RelationalConsistency.PreventDeletion,
refKeys=["name", "shipping_address", "total_quantity"],
refKeys=[
"name",
"shipping_address",
"total_quantity",
"shipping",
"project_data",
],
)

total = NumericBone(
Expand Down

0 comments on commit 8d8bffa

Please sign in to comment.