You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy quote does not populate items product fields.
Expected Behavior
All quote items fields should be copied.
Current Behavior
When I make a copy of the quote fields such as item_product_id are not populated in the database for copied items. As result, fields such as $item->product_sku are not available in pdf templates in copied quotes.
Screenshots
item_product_id are null after quote with id 554 was copied, 563 was created as result:
how it should be:
Possible Solution
I suggest adding item_product_id, item_discount_amount, item_product_unit and item_product_unit_id to the copy_quote function.
Steps to Reproduce
create a quote
copy the quote
check ip_quote_items table
Context (Environment)
IP 1.6.0, nginx, Ubuntu 22.04
Detailed Description
I suggest to add missing fields to the copy_quote function.
Possible Implementation
Add item_product_id, item_discount_amount, item_product_unit and item_product_unit_id to the copy_quote function:
Copy quote does not populate items product fields.
Expected Behavior
All quote items fields should be copied.
Current Behavior
When I make a copy of the quote fields such as item_product_id are not populated in the database for copied items. As result, fields such as
$item->product_sku
are not available in pdf templates in copied quotes.Screenshots
item_product_id are null after quote with id 554 was copied, 563 was created as result:
how it should be:
Possible Solution
I suggest adding
item_product_id
,item_discount_amount
,item_product_unit
anditem_product_unit_id
to the copy_quote function.Steps to Reproduce
Context (Environment)
IP 1.6.0, nginx, Ubuntu 22.04
Detailed Description
I suggest to add missing fields to the copy_quote function.
Possible Implementation
Add
item_product_id
,item_discount_amount
,item_product_unit
anditem_product_unit_id
to the copy_quote function:Failure Logs
The text was updated successfully, but these errors were encountered: