Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
in pos_order, I inherited "action_invoice" to send a value I created for a reduction ticket (here is the code : http://pastebin.com/JxjXgD5y).
The action is done when you click on the button in the red circle here : http://i.imgur.com/o1bT6Ev.png
The problem I have is that I don't know how and where I can get this value in account_invoice.
Thank you in advance for your help !
if i understand you correctly , when you want to send value directly to total that is impossible because the total field in invoice is functional field , it's function return the total after sum all the subtotal on the invoice lines. if you want to send value to invoice you can do by any of two ways:
1- send it in invoice lines.
2. create new field on account.invoice and send the value directly,. in this case you must modify the total functional field.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/19/16, 3:28 AM|
|Seen: 658 times|
|Last updated: 5/19/16, 7:23 AM|