le champ "hide_peppol_fields" n'existe pas dans le modèle "res.partner"
cette erreur apparait lorsque j'essaie d ouvire un founisseur ou un client sur la comptabilite
d odoo 17 qui est migrer de 15 vers 17
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
le champ "hide_peppol_fields" n'existe pas dans le modèle "res.partner"
cette erreur apparait lorsque j'essaie d ouvire un founisseur ou un client sur la comptabilite
d odoo 17 qui est migrer de 15 vers 17
Hi,
The error "The field 'hide_peppol_fields' does not exist in the model 'res.partner'" typically occurs after migration if custom fields weren't handled properly.
There are two ways to fix this:
Add the missing field back in your custom module if it's still needed:
python:
from odoo import models, fields
class ResPartner(models.Model):
_inherit = 'res.partner'
hide_peppol_fields = fields.Boolean(string="Hide PEPPOL Fields")
Then upgrade the module:
./odoo-bin -u your_module_name -d your_database
Remove the field reference from all views and code if it's no longer required (e.g:in XML: <field name="hide_peppol_fields"/>), then upgrade the module as above.
Either approach will fix the error depending on whether you still use the field.
Hope it helps.
The below method will help you to fix this issue:
Step 1 : Settings -> Technical -> Views(User Interface) -> Search res.partner (model)
Step 2 : Delete all the res.partner model views
Step 3 : Upgrade 'Base' Module again.
Step 4 : Upgrade your custom module.
NB : LE CHAMPS EST BIEN PRENT SUR technique /models chmaps res.partner
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
mars 24
|
1138 | ||
|
2
janv. 23
|
1679 | ||
|
0
janv. 23
|
2442 | ||
|
1
nov. 22
|
2116 | ||
|
1
août 16
|
3825 |