Skip to content
Snippets Groups Projects
Commit 27b90fc7 authored by mightyjol (jhk)'s avatar mightyjol (jhk)
Browse files

[FIX]product:change pricelist fixed_price field from float to monetary


steps to reproduce:
-change decimal accuracy for "Product Price"
-create a price list with fixed price
-the fixed price field does not takes the decimal accuracy into account

this was working in V11 and V12
fixed_price was a float field like other price fields

previous behavior:
fixed_price is a monetary field
when setting up a fixed price for a pricelist, it takes into account
the precision from the current currency

current behavior:
fixed_price is a float field
when setting up a fixed price for a pricelist, it takes into account
the proper decimal accuracy setting ("Product Price")

opw-2121964

closes odoo/odoo#40777

Signed-off-by: default avatarJorge Pinna Puissant (jpp) <jpp@odoo.com>
parent 046f7039
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment