Many2ManyTags error OpenERP V7

Bug #1255771 reported by Mohamed ESSAKALI
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Web addons for OpenERP
New
Undecided
Unassigned

Bug Description

Hello,

There is a javascript error "can_create is not defined" raised when openning many2many field.

To reproduce this bug :
- display any customer
- try to open tags list

or
- Go to Messaging
- Calendar
- Create a meeting
- Try to open partner_ids list

Thanks

Revision history for this message
Anton Chepurov (anton-chepurov) wrote :

I had the same problem after accidentally typing this:
    _name = 'complete_name'
instead of this:
    _rec_name = 'complete_name'
which of course caused a big mess in the whole database -- namely, all the M2M fields failed to work.

I couldn't fix the problem, so just restored the latest devel backup and saved my precious time.

And made myself a promise to never code while talking on the phone ;)

Revision history for this message
Anton Chepurov (anton-chepurov) wrote :

Hah,
It was a bug of web_m2o_enhanced module, not the core of OERP.

can_create is not defined in one of the functions.
Here is the issue reported:
https://github.com/0k/web_m2o_enhanced/issues/4

So far I just removed the M2Mtags part, for I can live with the M2O alone -- and everything works just fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.