odoo/industry#1941

Created by fw-bot
Merged at 1d77aaed626f6fe17ffb69af8822b601d9204cf6

Statuses:

label
odoo-dev:saas-19.2-19.0-fix-construction-wi-line-wrong-field-frva-513070-fw
head
3cbd7da619101ff24e82c57f595a93d9266c5717
merged
3 weeks ago by Industry, Vallaeys Valentin (vava)
odoo/industry
19.0 #1933
saas-19.1 #1936
saas-19.2 #1941
master #1942

[FIX] construction_developer: assign variant price to work item line

Before this commit, in the server action server_action_set_unit_cost_price_from_product, we used the list_price field of the product to assign to the price of the work item line.
This field is defined in the product template, which does not take into account extra price from attribute values, nor custom price assigned on the variant directly.
This commit fixes it by assigning the variant price, lst_price

Forward-Port-Of: #1933