odoo/industry#1942

Created by fw-bot
Merged at 216578ff1513a1574379258553f5b78af06ad98b

Statuses:

label
odoo-dev:master-19.0-fix-construction-wi-line-wrong-field-frva-513140-fw
head
06326b181fb7ea4aa56b66187468e22f861b9110
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