Skip to Content
Menu
This question has been flagged
1 Reply
2786 Views

In Purchase Module,
Is there a way to enter total and quantity and automatically calculate unit price?

Odoo 12


Avatar
Discard
Best Answer

Hi,

By default the functionality is not there, the default behavior is to calculate total from the given quantity and the unit price.


If you need unit price has to be calculated from the quantity and the total price, yoy need to make the total field editable and unit price field compute and write an onchange function for total price and quantity.


Thanks

Avatar
Discard