Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
7365 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
apr. 19
14574
2
oct. 20
7148
1
mai 19
3407
4
aug. 18
19600
1
iun. 18
4873