Odoo Help

0

POS - Add a new product

By
Mostafa Mohamed Abdel Monaem
on 7/25/15, 2:21 AM 685 views

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();





Any help ?!

Mostafa Mohamed Abdel Monaem
on 7/28/15, 12:21 AM

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

Question tools

1 follower(s)

Stats

Asked: 7/25/15, 2:21 AM
Seen: 685 times
Last updated: 7/28/15, 12:21 AM