Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3376 Представления

Hi all,

I'm creating a custom field with a custom module, the code is working fine and the field is correctly created, but it is a Base field and the Copied property is flaggad and I can't modify it through gui.

the code I'm using is the following:

class Partner(models.Model):
  _inherit = 'res.partner'
  x_fiscal_code = fields.Char(string= 'Codice Fiscale', index=True, copy=False)
  x_fiscal_code_new = fields.Char(string= 'Codice Fiscale New', index=True, copy=False)


field x_fiscal_code was created but from gui it is copy=True and fieldType=BaseField

field x_fiscal_code_new was not created, even if I get not errors installing my custom module

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
нояб. 21
984
1
июл. 21
2501
0
мар. 21
2238
3
февр. 21
17419
10
июл. 20
15378