Hi Family
please I want to edit my contact module company types from to Client and Integrator but I keep getting this error message
please I need help dear odoo'ers with a video description
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi Family
please I want to edit my contact module company types from to Client and Integrator but I keep getting this error message
please I need help dear odoo'ers with a video description
Hi,
If you really need to do it, you can do it by inheriting the model and changing the selection values or you can change it from the translation.
class Partner(models.Model):
_inherit = "res.partner"
company_type = fields.Selection(selection=[('person', 'Client'), ('company', 'Integrator')])
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Mar 21
|
68 | ||
|
1
Mar 15
|
3727 | ||
hide some contacts
Solved
|
|
2
Dec 20
|
3794 | |
|
2
May 25
|
604 | ||
|
1
May 25
|
734 |
In this case, you need to intervene with Python code. What version of Odoo are you using and where is it installed?
hi Lex I am using version 16 and its online
You should use Contact tags instead of changing this - these two types drive a lot of other logical behaviors in Odoo and it would be a significant undertaking to teach Odoo about a new type.