Hi everyone,
I'm developing my custom module, and everything works fine until I try to inherit from res.partner.
As soon as I attempt to inherit from res.partner, the build tests fail immediately with errors, as shown here
However, when I update my module directly from Odoo.sh, the new field appears correctly in the res.partner model. But if I push my code, the resulting build test are failing (red status).
Here is my res_partner.py file:
from odoo import models, fields class ResPartner(models.Model): _inherit = 'res.partner' x_octave_create_date = fields.Date( string="Date de création (Octave)" ) x_octave_write_date = fields.Date( string="Date de modification (Octave)" )
And my __manifest__.py file contains:
'depends': ['base', 'contacts'],
Am I doing something wrong?
If I inherit another model, I don't have this issue.
Any ideas on what might be causing this?
Thanks in advance for your help!
Hello Félicien
I tried to do this in my local machine and it worked just fine
Please share with us the error you get and the whole code