Odoo search method

I have a string that represents a products name, but string is longer than needed,

string_i_receive = SHK AMIN 800 12X0.5 KG

17 16 3203 7000459/2017-12-18/MANZANILLO **this is a line break

description_purchase = SHK AMIN 800 12X0.5 KG

how i make this search method to match the above values?

product_exist = [login to view URL]['[login to view URL]'].search([('description_purchase','=like',cfdi_line_description + '%')], limit=1)


i cannot count since the strings i receive are variable in size

Skills: Odoo, PostgreSQL, Python

See more: can program search method using web developer, zencart search method post, search method zen cart, odoo 11 fields, orm odoo 11, odoo 11 api, orm methods in odoo 11, odoo api, orm methods in odoo 10, odoo 10 api, odoo 10 fields, search method twitter, write search method java jcreator, i need a manfucture make my design capsule, i need help to make logo with illustrator, i need someone to make me a 3d model, i need someone to make me a fake shoutcast listener script i have tried different ways but cannot get it if anyone can make a sc, i need someone to make my clothing designs, i need someone to make some changes to my letter head, i need someone to make the design for my commercial van

About the Employer:
( 7 reviews ) Metepec, Mexico

Project ID: #18176150

5 freelancers are bidding on average $47 for this job

$88 USD in 2 days
(0 Reviews)

Muy buen día, mi nombre es Abner Velasco puedo ayudarte con tu problema en Odoo

$50 USD in 2 days
(0 Reviews)

We are team of odoo Developer and having 3.5 years of experience in providing services of odoo. We are provide services of installation or setup, implementation of odoo with your business requirements, customisation as More

$25 USD in 1 day
(1 Review)

Hello, Good Day I have read your posting with and i'm interested . I have 3+years experience Expert programming and implementation of Odoo. If you are interested so We can discuss further Regards, Heri

$55 USD in 2 days
(0 Reviews)

Hello, you requierement is easy. All you need to do is search by product name or code. That string you recive is a concatenation of name + code, is a result of name_get method. Only check or split the string.

$15 USD in 1 day
(0 Reviews)