Odoo Help

On 6/23/14, 8:30 PM

Did anyone findthe solution? I have the same problem.

K Santosh Subba Rao
On 6/23/14, 11:27 PM

you want the list of items to be displayed automatically based on some condition right??

On 8/27/14, 6:38 AM

The method that we have used before is create the instance of tabela.recintos first, then create the related recinto_ids records, then return an action whose res_id is set to the created tabela.recintos.  Sample method returning action with res_id set can be found in action_button_confirm method in sale/sale.py.

Second method I can think of is to use the _default for tabela.recintos.  This can be done if the recinto_ids can be created without any knowledge of the information in tabela.recintos.

A side note, usually for wizards (non persistent data) we would use osv.osv_memory (or orm.TransientModel in 7.0) instead of osv.osv.

On 8/27/14, 6:27 AM

Evn i have the same problem .any idea of the solution

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 2/25/14, 7:44 AM
Seen: 4436 times
Last updated: 3/16/15, 8:10 AM