Hi,
I try to add a field in module product with _inherit mode for object and view
(I can do it with client-web, but I try to do a module for the future, and to
be used by others).
When i install the modul, no error, but no field in database and for the view.
the view to modify is in product->prices & suppliers
my code for my module test :
test.py :
class product_template(osv.osv):
_inherit = "product.template"
_columns = {
'test': fields.float('test', size=64),
}),
}
product_template()
product_view.xml :
<record>
<field>product_template.form.inherit</field>
<field>product.template</field>
<field>form</field>
<field>
<field>
<notebook>
<page>
<field>
</page>
</notebook>
</field>
</record>
I read the doc for object and view inherit, but I don't all understand because
for me all details are not very clear (id, name, model, type)
a little help is welcome
thanks
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=43364#43364
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users