简体   繁体   中英

OpenErp New Module

I can't find anywhere, what is actually a "group name" on OpenErp.

I'm trying to make a new app based on the warehouse management openerp application, but everytime I try to install it, it says

Constraint Error

The name of the group must be unique !

Anyone can shed some light on what this group could be?

Already searched in files for "group" and I've changed some group_ names I found on the original objects by this module, but no success.

Edit:

What I'm trying to achieve with this is to have a copy of the "stock" module in order to edit and test without touching the original stock one.

These are minor changes, like for example field names, delete or adding some fields, etc...

Already changed all the group names and made a fresh new database.

For example I'd like to delete the "Accounting" tab of the product section in stock, but I guess it is related to the product.product object model, could I delete this tab without affecting all the product.product inherited objects in OpenErp?

account_tab_openerp

As per error, you are trying to create group which is already exist. Please check the group name you want to create. Modify it and try to add your module again.

You can check group name in database also.

I suspect your module is trying to create a record in the res_groups table with a name that matches one of the records already in that table. That violates a unique constraint and fails the installation.

Look at your module's data XML files, and search for "res.groups". Look at the category_id and name fields, then check your database for other records in res_groups with the same values.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM