跳至內容
選單
此問題已被標幟
2 回覆
7168 瀏覽次數

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

頭像
捨棄
最佳答案

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.

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 19
14422
2
10月 20
6935
1
5月 19
3289
4
8月 18
19431
1
6月 18
4690