Community mailing list archives

community@mail.odoo.com

Re: ParseError - what is the source of this error?

by
Ronald Wopereis
- 06/22/2015 09:33:37
still gives error

ParseError: "pos.category" while parsing /usr/lib/python2.7/dist-packages/openerp/addons/cbl_productgroup/pos_category_main.xml:6, near
<record id="5" model="pos.category">
    <field name="name">Koelvers</field>
</record>

it appears that the pos.category model is not recognized?
thx, Ron


2015-06-22 12:37 GMT+02:00 Gustavo Orrillo <gustavo.orrillo@moldeointeractive.com.ar>:
the data in field name is wrong. Try setting it to something like "Koelvers" to confirm it is causing the problem.

On Mon, Jun 22, 2015 at 7:22 AM, Ronald Wopereis <woepwoep@gmail.com> wrote:
I created two modules, to load data into V.8
One module works fine, the other one gives a ParseError
The only difference that i can see is the model in which the data should load.
This one works fine: https://github.com/woepwoep/cwa_supplier
This one gives the ParseError: https://github.com/woepwoep/cbl_productgroup
Question: what is the source of this error?
ParseError: "pos.category" while parsing /usr/lib/python2.7/dist-packages/openerp/addons/cbl_productgroup/pos_category_main.xml:6, near
<record id="5" model="pos.category">
	<field name="name">Koelvers / Diepvries</field>
</record>
thx, Ron

----

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe