Hello there
I'm concatenating some custom fields with the function CREATE and it works good but if i edit my fields then the cocatenation doesn't change anymore.
Render ------- CAPEX-12.0-2-15-8-3
My concatenation Code :
@api.model
def create(self, values):
res = super(Lead, self).create(values)
name1 = "{}-{}-{}-{}-{}-{}".format(
res.service_type,
res.dc,
res.ac,
res.panel,
res.voltaje,
res.voltaje_type,
)
res.name1 = name1
return res
So i think that i have to use the Write Function but i don't know how to make it work...
See this: https://goo.gl/4BkizH