Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
7519 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 19
14750
2
paź 20
7348
1
maj 19
3544
4
sie 18
19747
1
cze 18
5010