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.
Hi there i'm working with a module in pos module and i want to do something.I create a button in pos orderline and i want when that button clicked ,, it should add another product automatically like the product already selected with the same quantity.
i could get the already selected product info like id ,name and etc,,but i don't know how to add a new one usign this button
i hope that someone could tell me where is the function that add a new order or product to order line so i can send it a line
like this :
| var line = this.pos.get('selectedOrder').getLastOrderline(); |
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 7/25/15, 2:21 AM|
|Seen: 535 times|
|Last updated: 7/28/15, 12:21 AM|