Community mailing list archives

community@mail.odoo.com

FBSR_RE: FBSR_RE: Wrong margin when using UOS

by
Fekete Mihai
- 03/26/2016 09:14:30
No...you have to sell higher...meaning 72 x 1.5...



Sent from my Samsung device


-------- Original message --------
From: Mustafa Al Azaam <safi2266@gmail.com>
Date: 26/03/2016 14:43 (GMT+02:00)
To: Community <community@mail.odoo.com>
Subject: Re: FBSR_RE: Wrong margin when using UOS

Thank you Mihai for your explanation, 
I thought that the cost field indicate to cost of default uom.
Now whenever use uos with product I must divided cost on coeff to get correct margin

right ??

Thanks again

On Sat, Mar 26, 2016 at 2:00 PM, Mihai FEKETE <Mihai.FEKETE@forbiom.eu> wrote:
Hi...the margin is correct since the sale price is in unit of sale and cost price is in default unit of measure...so 5.97 x 1.5 is 8.755

If you have 7.2 - 8.955 is -1.755 if you multiple by 50 it's almost 88...depending on digits you set...so it's corect.

Mihai Fekete
Odoo Specialist
Forest and Biomass Services Romania.



Sent from my Samsung device


-------- Original message --------
From: Mustafa Al Azaam <safi2266@gmail.com>
Date: 26/03/2016 12:17 (GMT+02:00)
To: Community <community@mail.odoo.com>
Subject: Wrong margin when using UOS

Hello,

I faced an issue with calculating right margin on sales order when using unit of sale other that unit of measure.

e.g. when I sale (50 pcs) of product X that has  

uom = pcs (piece)
uom cost price = 5.97
uom sale price = 7.2
uos = square meter
uos coeff = 1.5

with total 50 x 7.2 = 360

where the margin, according how I do understand is
7.2 - 5.97 = 1.23 
then the expected margin is 50 x 1.23 = 61.5

BUT I get -88.4 as a margin

when don't use uos everything works fine

I forget to mention that the impacted version of odoo is 8.0-20160103

I hope to hear your opinions


Regards,

SaFi

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe