Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Tardo
Copy link
Member

@Tardo Tardo commented Jun 25, 2018

Fix user preferences view... and clean unused variables.

Fix #951 detected issue...

@yajo yajo added this to the 11.0 milestone Jun 25, 2018
@yajo
Copy link
Member

yajo commented Jun 25, 2018

I set as WIP until you say it's ready. Thanks!

@Tardo
Copy link
Member Author

Tardo commented Jun 25, 2018

Ok.. i think that is fixed... first time that i use this... sorry for the generated issue :/

('sided', 'Sided'),
], string="Chatter Position", default='normal')


Copy link
Member

Choose a reason for hiding this comment

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

πŸ”₯ too many space

type(self).SELF_WRITEABLE_FIELDS.extend(['chatter_position'])
# duplicate list to avoid modifying the original reference
type(self).SELF_READABLE_FIELDS = list(self.SELF_READABLE_FIELDS)
type(self).SELF_READABLE_FIELDS.extend(['chatter_position'])
Copy link
Member

Choose a reason for hiding this comment

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

TIL πŸ˜ƒ

I think it would be good to add a test for this. It would be so simple as impersonating the demo user and trying to write own field, and read if it got properly written.

@yajo
Copy link
Member

yajo commented Jun 27, 2018

You have a linter error.

@yajo
Copy link
Member

yajo commented Jun 27, 2018

Bah, I fixed it myself. I'll fast-track this if it goes βœ”οΈ

@yajo yajo merged commit 38a3dda into OCA:11.0 Jun 27, 2018
@Tardo Tardo deleted the fix_chatter_position branch July 3, 2018 17:35
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.

2 participants