Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
7495 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 19
14728
2
říj 20
7279
1
kvě 19
3524
4
srp 18
19710
1
čvn 18
4991