Skip to Content
Menu
This question has been flagged
2 Replies
7098 Views

I don't think I can comprehend what does that button do. Also, I would very much appreciate if someone could tell me if it's possible to configure that button's code or configure it from Odoo Studio. What i would like to do is to reconfigure that button or create another button which would take all the information from the invoice i'm creating and send it to an API which will validate if the info is correct or not. Would this be possible? Thanks in advance.

Best regards,

jajdp

Avatar
Discard
Best Answer

Validate an invoice means the amount of that invoice will be passed to accounting/finance/invoice modules.

The designed workflow is having, for example, Sales, can have several draft invoices, so saving and editing are needed.  When the final version is settled, you can have either a manager or whoever else to validate the invoice.

My suggestion to your needs is to do it over python with a custom module.

Create a custom module adds a new button or field at desire location.  
Create a new action links to the button or @api.onchange function to check/change fields.  
Based on the previous step, generate data or config file for your API to test it.  

If you need Odoo to show the API testing result back in Web interface, I think it depends on feedback your API can provide.

Avatar
Discard
Best Answer

On Validation it would reflect entry into your accounting through a journal entry in Odoo. 

Avatar
Discard
Related Posts Replies Views Activity
1
Apr 19
14419
2
Oct 20
6931
1
May 19
3281
4
Aug 18
19424
1
Jun 18
4689