Skip to content

10.0 Migrate users_ldap_mail module - #651

Merged
dreispt merged 8 commits into
OCA:10.0from
StephanRozendaal:10.0-mig-users-ldap-mail
Dec 27, 2016
Merged

10.0 Migrate users_ldap_mail module#651
dreispt merged 8 commits into
OCA:10.0from
StephanRozendaal:10.0-mig-users-ldap-mail

Conversation

@StephanRozendaal

Copy link
Copy Markdown

Changes include:

  • Migrate users_ldap_mail to 10.0
  • Add README for users_ldap_mail

@pedrobaeza pedrobaeza mentioned this pull request Dec 17, 2016
63 tasks
Comment thread auto_backup/i18n/am.po Outdated
@@ -0,0 +1,317 @@
# Translation of Odoo Server.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please delete auto_backup files

@StephanRozendaal

Copy link
Copy Markdown
Author

I removed the "auto_backup" translation commit

@StephanRozendaal
StephanRozendaal force-pushed the 10.0-mig-users-ldap-mail branch 2 times, most recently from 163ea7f to 26780a2 Compare December 17, 2016 20:52
Changes in models/users_ldap_mail include:
 - remove unused imports
 - indentation of too long lines

@dreispt dreispt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, other than the comments made.

Comment thread users_ldap_mail/README.rst Outdated

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/{server-tools}/{10.0}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please fix this link.

##############################################################################

from . import users_ldap_model
from . import models

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It would be great if you could replace the old large copyright statement with the new leaner one.

help="By default 'cn' is used. "
"For ActiveDirectory you might use 'displayName' instead.")
mail_attribute = fields.Char(
'E-mail attribute', size=64, _defaults='mail',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove the size attribute from char fields

ldaps = self.sudo().search([('ldap_server', '!=', False)],
order='sequence')
res = ldaps.read([])
return res

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1

@lasley lasley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @StephanRozendaal - 👍 , although some more test coverage would be awesome

@dreispt
dreispt merged commit e1b1b32 into OCA:10.0 Dec 27, 2016
sebalix pushed a commit to osiell/server-tools that referenced this pull request Jan 23, 2017
* [ADD] Add README.rst to users_ldap_mail

* [MIG] Migrate users_ldap_mail to 10.0

* [FIX] Fixes in code style in module  users_ldap_mail

Changes in models/users_ldap_mail include:
 - remove unused imports
 - indentation of too long lines

* [FIX] users_ldap_mail: Fix copyright notice

* [FIX] users_ldap_mail: set UTF-8 encoding

users_ldap_mail/models/__init__.py should be UTF-8 encoded

* [FIX] users_ldap_mail: remove size argument from Char fields

* [FIX] users_ldap_mail: return value can be combined in one line

* [FIX] Update read me

Fixes included:
 - Make module name human readable
 - Instead of numbering steps, use #
 - Update broken link
etobella pushed a commit to etobella/server-tools that referenced this pull request Oct 9, 2017
* [ADD] Add README.rst to users_ldap_mail

* [MIG] Migrate users_ldap_mail to 10.0

* [FIX] Fixes in code style in module  users_ldap_mail

Changes in models/users_ldap_mail include:
 - remove unused imports
 - indentation of too long lines

* [FIX] users_ldap_mail: Fix copyright notice

* [FIX] users_ldap_mail: set UTF-8 encoding

users_ldap_mail/models/__init__.py should be UTF-8 encoded

* [FIX] users_ldap_mail: remove size argument from Char fields

* [FIX] users_ldap_mail: return value can be combined in one line

* [FIX] Update read me

Fixes included:
 - Make module name human readable
 - Instead of numbering steps, use #
 - Update broken link
etobella pushed a commit to etobella/server-tools that referenced this pull request Oct 10, 2017
* [ADD] Add README.rst to users_ldap_mail

* [MIG] Migrate users_ldap_mail to 10.0

* [FIX] Fixes in code style in module  users_ldap_mail

Changes in models/users_ldap_mail include:
 - remove unused imports
 - indentation of too long lines

* [FIX] users_ldap_mail: Fix copyright notice

* [FIX] users_ldap_mail: set UTF-8 encoding

users_ldap_mail/models/__init__.py should be UTF-8 encoded

* [FIX] users_ldap_mail: remove size argument from Char fields

* [FIX] users_ldap_mail: return value can be combined in one line

* [FIX] Update read me

Fixes included:
 - Make module name human readable
 - Instead of numbering steps, use #
 - Update broken link
SiesslPhillip pushed a commit to grueneerde/OCA-server-tools that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/server-tools (13.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants