-
-
Notifications
You must be signed in to change notification settings - Fork 667
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
[Add] [10.0] hr_employee_social_media #317
Conversation
127dfd0
to
ced9631
Compare
@feketemihai Hello, I'll gladly fix the PR. Did you forget to put a comment? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put one direct on the readme file...check it again...
Thanks for the contribution, nice module, but i think we should make it more usefull, adding a model hr.employee.social.media.sites with the name of the site(network, eg. Skype, Facebook,...), a new model that links employee with social media sites and add their account name, by this we are letting people adding the one that they want...beside skype, twitter, whatsapp, there are a lot of other social media network theat people are used to...
@@ -0,0 +1,44 @@ | |||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leemannd Thanks for the contribution, nice module, but i think we should make it more usefull, adding a model hr.employee.social.media.sites with the name of the site(network, eg. Skype, Facebook,...), a new model that links employee with social media sites and add their account name, by this we are letting people adding the one that they want...beside skype, twitter, whatsapp, there are a lot of other social media network theat people are used to...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@feketemihai Thanks for the comment. I agree, it could be more usefull in your way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@feketemihai I've updated it following your comments. You'll find a first draft to review.
3da6b13
to
873759d
Compare
N.B: Data file is going to be updated to have a sample. |
name = fields.Char( | ||
string='Name', | ||
) | ||
website = fields.Char( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls, do not use "website" as field name. It can collide many times. Be more explicit and use something like "social_url".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simahawk Updated. & added small sample data
f63aea8
to
63d9958
Compare
<xpath expr="//page[@name='public']/group" position="inside"> | ||
<group name="social_media" string="Social Media Accounts"> | ||
<field name="social_media_account_ids" nolabel="1"> | ||
<tree> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leemannd Can you add an editable="bottom" on the tree, even specified only the tree view, it still open the form view...and on the form view it shows the employee Null, so you can assign from one employee a social media account for other employee...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve once the small leaked in file is removed.
63d9958
to
45e93fa
Compare
45e93fa
to
30bb94b
Compare
@gurneyalex @feketemihai Hello, Thanks for your feedback. It has been updated |
@leemannd @gurneyalex The PR is ok, but i am wondering, should we leave the Social Media Accounts on the Public Info tab, or we should move them to Personal Info tab... |
@feketemihai Could also be a new separate page. |
[BSSFL-436] Sale order type
The main goal of this module is to have a list of the employee's social media
and social communication tools.
This module add the following to Employee: