Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I created a module to supply some data of my customization. This data include some logins, some analytic accounts and other data.
When I install the module for the first time it installs successfully. When I try to upgrade it misses some models and give me assersion error that this module does not exist.
For example, in the main xml file of this module I added the following record
<!-- budgetory position -->
<record model="account.budget.post" id="budg_01">
<record model="account.budget.post" id="budg_02">
<field name="code">NCTIS purchase</field>
<field name="name">NCTIS purchase</field>
to add the header of a budgetory position to the application. After the fresh installation I checked budgetory position table and found that the two positions are added ok.
When I tried to upgrade I got this error :
File "D:\openerp-7.0-latest\openerp-7.0-20140804-231303\openerp\tools\convert.py", line 852, in parse
self._tags[rec.tag](self.cr, rec, n)
File "D:\openerp-7.0-latest\openerp-7.0-20140804-231303\openerp\tools\convert.py", line 742, in _tag_record
assert model, "The model %s does not exist !" % (rec_model,)
AssertionError: The model account.budget.post does not exist !
Any help ?
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/26/15, 11:08 PM|
|Seen: 523 times|
|Last updated: 4/26/15, 11:08 PM|