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 the data with new instace.web.Model - POS

By
Lázaro
on 4/3/13, 5:52 PM 835 views

Reading the documentation of "client actions" I realize that with the following lines:

start: function () { return $. WHEN ( this._super (), / / Simply read the action res.widget Should this display object new instance.web.Model ('res.widget'). put ( 'read', [[this.widget_id], ['title']]) . then (this.proxy ('on_widget_loaded')); }

You can read data but can not find the model to update the data in that or any model, at first I thought it was the save () method of backbone js but reading the documentation made think OpenERP instance.web.Model

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: 4/3/13, 5:52 PM
Seen: 835 times
Last updated: 3/16/15, 8:10 AM