Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] in order to work properly, we need to use FieldOne2Many's caching logic #333

Merged
merged 2 commits into from
Apr 2, 2016

Conversation

hbrunn
Copy link
Member

@hbrunn hbrunn commented Mar 24, 2016

while looking into OCA/commission#78, I realized this widget is fundamentally flawed because it doesn't apply caching and directly writes into the database. This is different from standard one2many fields, so it should be adapted to use the same caching mechanism.

Mind you that this is basically a rewrite, so test thoroughly before merging.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.432% when pulling fb6b41e on hbrunn:8.0-web_widget_one2many_tags-refactor into 8c167a5 on OCA:8.0.

@guewen
Copy link
Member

guewen commented Mar 31, 2016

👍 code review

@pedrobaeza
Copy link
Member

It seems to not work according OCA/commission#78 (comment)

@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.432% when pulling c2b3750 on hbrunn:8.0-web_widget_one2many_tags-refactor into 8c167a5 on OCA:8.0.

@jjscarafia
Copy link
Contributor

Tested with OCA/commission#78 and works great!
👍

@pedrobaeza
Copy link
Member

👍

@pedrobaeza pedrobaeza merged commit 148220c into OCA:8.0 Apr 2, 2016
})
.join(', ')
);
console.log(record.get(column.id + '__display'));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you left a debug message?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, what a beginner's mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants