Skip to content
Snippets Groups Projects
Commit 437116f3 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] orm: custom m2m with different label

At rev 84e9a67c a check to avoid the creation of ir.model.relation for custom modules was added. The condition is not correct as based on the string instead of the field name. We do not have access to column name at this level but the the m2m relation table do start with x_ for custom fields (see __init__ method).
parent 67f1fd8a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment