Conversation
|
Thanks for the changes. Please check Travis errors (some are related, although I think the main build isn't). |
1ba0081 to
009106a
Compare
009106a to
8025a5d
Compare
|
@pedrobaeza I amended the commit and fixed the style. As you can see the Travis error on fetchmail is unrelated, so tests are passing. |
|
@pedrobaeza hey I won the heisenbug Travis lottery after a few attempts: all green. So if you could review again... The idea is I migrated the API just before an other v9 PR port and also the feature extension we discussed a year ago... |
| from openerp import exceptions | ||
| from openerp.osv.orm import Model | ||
| from openerp import models, api | ||
| from openerp.tools.translate import _ |
There was a problem hiding this comment.
This can be also imported in openerp namespace directly
|
@pedrobaeza done. How does it look now? |
|
Thanks for the changes. 👍 |
|
LGTM as well 👍 |
| 'auth_admin_passkey_send_to_user': safe_eval(icp.get_param( | ||
| cr, uid, 'auth_admin_passkey.send_to_user', 'True')), | ||
| 'auth_admin_passkey_send_to_user': | ||
| self.env["ir.config_parameter"].get_param( |
There was a problem hiding this comment.
Hi,
Why did you removed safe_eval here, and not here :
8025a5d#diff-70199c6feb20b249a2794f26b51b5105R35
|
Hi raphael, |
|
I am facing an Internal server error when testing this PR on runbot. Issue: Traceback: PR available @: akretion#6 |
Syncing from upstream OCA/server-tools (12.0)
cc @legalsylvain
@pedrobaeza sorry I didn't master the API wizardry enough, but I finally got it an migrated res_users.py too. I amended the push and pushed again.
Travis didn't start in the old PR so I closed it an created a new one.