diff --git a/oscar_odin/mappings/order.py b/oscar_odin/mappings/order.py index 331dc8c..acd798b 100644 --- a/oscar_odin/mappings/order.py +++ b/oscar_odin/mappings/order.py @@ -144,6 +144,7 @@ def prices(self) -> List[resources.order.LinePrice]: @odin.assign_field def attributes(self) -> Dict[str, Any]: """Map attributes.""" + return dict(self.source.attributes.values_list("type", "value")) class StatusChangeToResource(OscarBaseMapping):