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

How to update POS front end field ?

pos
By
Steven Foong
on 2/25/13, 5:32 AM 922 views

I would like to update the quantity field whenever user select the order line

I try to update the field using the last line,

select: function() {
    $('tr.selected').removeClass('selected');
    this.$element.addClass('selected');
    this.order.selected = this.model;
    this.on_selected();
    this.order.selected.set('quantity', '123');
},

but I received this error.

TypeError: invalid 'in' operand attrs
1

Acespritech

--Acespritech--
839
| 3 2 6
India
--Acespritech--

Having 8+ years of OpenERP Experience. We are Specialized in OpenERP/CRM Solutions, software development, Web development, E commerce solutions & other open source solutions.


Skype : acespritech

Email : info@acespritech.com

Acespritech
On 4/17/13, 5:16 AM

Hello,

Please find OpenERP blogs which might help you.
acespritechblog.wordpress.com

Contact: info@acespritech.com
Skype: acespritech.

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

0 follower(s)

Stats

Asked: 2/25/13, 5:32 AM
Seen: 922 times
Last updated: 3/16/15, 8:10 AM