Hello, I need to assign a value to a many to one field automatically based on this domain and write the first id that meets that condition. How could I achieve this with a server action?
domain="[('x_estado', '=', 7),('x_marcanew', '=', x_dispmarca),('x_modelonew.x_mprimario', '=', x_dispmodeloprim)]"