[10.0][MIG] base_search_fuzzy - #722
Conversation
…s, added translations, added access permissions, moved the monkey patching to method _register_hook of ir.model and fixed _auto_init, added README, cleaned up some aprts
0cbaf8a to
419c5a3
Compare
419c5a3 to
5d0bcbb
Compare
e0b53d8 to
4bcfcbf
Compare
4bcfcbf to
55fc4fe
Compare
|
|
||
| if left in model._fields: | ||
| column = '%s.%s' % (table_alias, expression._quote(left)) | ||
| query = '(%s %s %%s)' % (column, sql_operator) |
There was a problem hiding this comment.
%%s should be replaced with model._fields[left].column_format on this and ln 31
There was a problem hiding this comment.
Did you review your own PR?
There was a problem hiding this comment.
Hah more of just a note to remember to make this change. I was randomly digging around in the expression code for an unrelated thing, saw column_format, and remembered this code. Making the change now!
StefanRijnhart
left a comment
There was a problem hiding this comment.
Migration LGTM and tests run successfully. Thanks!
7aac463 to
18f6a5e
Compare
|
@tedsalmon please review |
tedsalmon
left a comment
There was a problem hiding this comment.
LGTM 👍 ! A few small review notes were left but they're likely things that existed pre-migration :)
| Bugs are tracked on `GitHub Issues | ||
| <https://github.com/OCA/server-tools/issues>`_. In case of trouble, please | ||
| check there if your issue has already been reported. If you spotted it first, | ||
| help us smashing it by providing a detailed and welcomed feedback. |
| # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
| import logging | ||
|
|
||
| from odoo import models, api |
| params = right | ||
| else: # Must not happen | ||
| raise ValueError( | ||
| "Invalid field %r in domain term %r" % (left, leaf)) |
There was a problem hiding this comment.
Exceptions should be internationalized, right?
|
Thanks @tedsalmon - comments attended to |
* Rename manifest * Update openerp references to odoo * Bump version * Upgrade api usages
56a3a5b to
390a952
Compare
Syncing from upstream OCA/server-tools (12.0)
Upgrade
base_search_fuzzyto v10: