odoo/industry#1936

Created by fw-bot
Merged at 1fb499c8e490197f2c7f428e1b0b6da3583cbcd2

Statuses:

label
odoo-dev:saas-19.1-19.0-fix-construction-wi-line-wrong-field-frva-513035-fw
head
df38f55a68f653041943da528ed8ec99f8c9a6ed
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