odoo py odoo 14

Solutions on MaxInterview for odoo py odoo 14 by the best coders in the world

showing results for - "odoo py odoo 14"
Antonin
09 Sep 2017
1'version': '0.2',
2
Jaden
05 Mar 2019
1unidecode
2
Elisa
15 Nov 2019
1$ git push https HEAD:feature-1
2
Kristopher
01 May 2018
1'version': '0.3',
2
Federico
22 May 2018
1start_datetime = fields.Datetime('Start time', default=lambda self: fields.Datetime.now())
2
Emerald
22 Feb 2018
1from odoo import models, fields, api
2
Melinda
08 Jan 2019
1$ git push
2
Paola
05 Oct 2016
1$ git add requirements.txt
2$ git add my_module
3$ git commit -m "[IMP] my_module: automatically remove special chars in my_module.my_module name field"
4
Irene
12 Apr 2017
1@api.model
2def create(self, values):
3    if 'name' in values:
4        values['name'] = unidecode(values['name'])
5    return super(my_module, self).create(values)
6
7def write(self, values):
8    if 'name' in values:
9        values['name'] = unidecode(values['name'])
10    return super(my_module, self).write(values)
11