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

no reference available for "module_name" [Closed]

By
Atchuthan
on 6/3/13, 4:10 AM 2,688 views

The Question has been closed

by
Atchuthan
on 06/11/2013 07:12:43
Hi guyz,
    When I had to use a location_id from stock module to my custom module, I used location_id with many2one field like:
     'location_id': fields.many2one('stock.location', 'Production Location',                            help="This can be a partner location "),

and in my xml file i used <field name="location_id" />

and i have previously installed the MRP and stock module required for this custom module.

But error comes as :
    'Programming Error', 'There is no reference available for stock.location'
2

Omal Bastin

--Omal Bastin--
1146
| 6 6 8
Kochi, Kerala, India
--Omal Bastin--

Swiming deep into openERP/ODOO

Omal Bastin
On 6/3/13, 5:18 AM

please add stock dependency for your module in your __openerp__.py file.

About This Community

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

Question tools

1 follower(s)

Stats

Asked: 6/3/13, 4:10 AM
Seen: 2688 times
Last updated: 3/16/15, 8:10 AM