hi all,
I want to search string like using postgresql substr and position, how i can do this in odoo
a = fields.Char(default='ABCD-XYZ-MNOP')
if i want to search XYZ (it can be anything else like 'Smith' or 'John' etc.), search between 2 '-' characters, the '-' characters are here for the formatting which will used by default. how i can do it with onchange function using a compute field.
here is screenshot what i did in Oracle using simple SQL:
regards