feat(view): set price based on product select on first line from purchase.
This commit is contained in:
@@ -43,6 +43,7 @@ class Product(models.Model):
|
||||
all_products = cls.objects.all()
|
||||
for product in all_products:
|
||||
rproduct = {
|
||||
"id": product.id,
|
||||
"name": product.name,
|
||||
"price_list": product.price,
|
||||
"uom": product.measuring_unit,
|
||||
|
||||
Reference in New Issue
Block a user