Hi,
I'd like to use the create() method to create objects with a specific ID in database like :
self.env['res.partner'].create({'id': 450, 'name': 'TEST'})
But, the ID keeps going to increment normally : 1, 2, 3, etc. and doesn't be 450 as I want.
I think it's because there is DEFAULT in database : nextval('res_partner_id_seq'::regclass) but even if I remove it, it still increments as a simple ID.
I don't want to use an SQL request like UPDATE because, in my code, there are SQL errors like 'ID already exists'. It's not possible to process like that.
If anyone can help me.
Thank you so much.
Regards.