Hi,
in odoo15 Its Deprecated call to decimal_precision.get_precision(application), use digits=application instead.
So as per your code use like :
energy_ceiling = fields.Monetary(string='Techo US$/MWh (MAX)', digits='CEC Valores Contrato')
Hope it will help you.