Anyone know where is the code that run compute button in purchase order?

Asked by John Chen

Hi

Does anyone know where is the code that run compute button in purchase order form?

Thanks i need to change some of the code inside

From

John

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Web Client Edit question
Assignee:
No assignee Edit question
Solved by:
John Chen
Solved:
Last query:
Last reply:
Revision history for this message
John Chen (john-chen2011) said :
#1

Compute Button Function in Purchase Order
--------------------------------------------------
It is the def button_dummy (Compute)
    it only contain return True coding

The calculation already done when we editing the purchase line. So the def button_dummy role it just for refreshing the page for it will refresh the new amount that have been edited.