Odoo Aide

0

0
3 Answers
1
Avatar

Zbik

--Zbik--
10353
| 7 6 9
Łódź, Pologne
--Zbik--


Zbik
26/05/2019 11:16

The currency defined for your company and the sale order currency are different.
Therefore the system check and converts currency rates. If in expresion
to_currency.rate / from_currency.rate system report ZeroDivisionError: float division by zero
than value from_currency.rate must be zero.
Value from_currency is a rate of company currency.

Conlusion:
1. You verify settings of company currency (menu Settings/Comapnies/, field Currency).
2. Click on currency name and in next on button "View Rates".
3. See Rate value. Should be 1.000000.
4. Also check the exchange rate currency from the sales order.

-1
Avatar

Niyas Raphy

--Niyas Raphy--
22544
| 7 7 11
Calicut, Inde
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123

Happy to help :)

Niyas Raphy
25/05/2019 09:55

HI,

Seems to be issue of division by Zero. Make sure that you have set shipment charge as non zero number. 

You can try to reproduce this issue in odoo runbot, if you are able to reproduce, it has to be fixed by adding a validation error if the cost is not set. You can report it in odoo github:  https://github.com/odoo/odoo/issues

Thanks

1 Commentaires
Christian Meyer
25/05/2019 10:00

well division by zero - i read this of course . And yes I have set the costs to non zero - it is obvious!

What is been calculated with the currency rate? Maybe someone can point me to the location where the calculation happens and where I can look to learn more about the error!

Poser une question
Keep Informed
1 Abonné(e)s
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register