Merge remote-tracking branch 'origin/productComment'
This commit is contained in:
@@ -471,7 +471,8 @@ class DealService(BaseService):
|
||||
deal_product = models.secondary.DealProduct(
|
||||
deal_id=new_deal.id,
|
||||
product_id=old_deal_product.product.id,
|
||||
quantity=old_deal_product.quantity
|
||||
quantity=old_deal_product.quantity,
|
||||
comment=old_deal_product.comment,
|
||||
)
|
||||
self.session.add(deal_product)
|
||||
await self.session.flush()
|
||||
@@ -936,6 +937,7 @@ class DealService(BaseService):
|
||||
|
||||
# Updating product
|
||||
deal_product.quantity = request.product.quantity
|
||||
deal_product.comment = request.product.comment
|
||||
|
||||
# Updating deleting old employees
|
||||
delete_stmt = (
|
||||
|
||||
Reference in New Issue
Block a user