Odoo Help

Welcome!

This community 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.

0

POS - Add a new product

By
Mostafa Mohamed Abdelmonam Abdo
on 7/25/15, 2:21 AM 470 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 Abdelmonam Abdo
on 7/28/15, 12:21 AM

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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