erppeek icon indicating copy to clipboard operation
erppeek copied to clipboard

[FIX] change regex method to allow odoo saas

Open imlopes opened this issue 2 years ago • 1 comments

https://github.com/tinyerp/erppeek/blob/9a43eb9a07919db90ed8b8f2350f96a45bc63df1/erppeek.py#L520

The regex seems not to work with the "match" method (the saas odoo version is something like saas~15.2+e).

AttributeError: 'NoneType' object has no attribute 'group'

If you change "match" to "search", it works with the saas version.

imlopes avatar Sep 23 '22 12:09 imlopes