Odoo Help


no reference available for "module_name" [Closed]

on 6/3/13, 4:10 AM 3,935 views

The Question has been closed

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'

Omal Bastin

--Omal Bastin--

| 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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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