This is a view which you can use to fetch purchase items within a
specific purchase. It's used by the PurchaseDetails dialog to display all
the purchase items within a purchase
Parameters | id | id of the purchase item
|
| purchase_id | id of the purchase order the item belongs to
|
| sellable | sellable of the item
|
| cost | cost of the item
|
| quantity | quantity ordered
|
| quantity_received | quantity received
|
| total | total value of the items purchased
|
| total_received | total value of the items received
|
| description | description of the sellable
|
| unit | unit as a string or None if the product has no unit
|