Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1100 Vistas

Hello everyone, i have a usual problem, i cant identifed the problem 

         calculo.factor.importacion.form.fcl

 calculo.factor.importacion       

            

                

                   

 

   

 

    

 

        

  

        

     

             

        

            

  

     

    

    


def action_continue(self):      

  self.ensure_one()       

 if self.tipo_flete == 'lcl':           

 view_id = self.env.ref('nuevo_landed.view_calculo_factor_importacion_form_lcl').id    else:view_id=self.env.ref('nuevo_landed.view_calculo_factor_importacion_form_fcl').id

        return {            

'type': 'ir.actions.act_window',

  'res_model': 'calculo.factor.importacion',

 'view_mode': 'form',

 'view_type': 'form', 

 'res_id': self.id, 

'views': [(view_id, 'form')], 

 'target': 'current', }

 

   raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: nuevo_landed.view_calculo_factor_importacion_form_lcl


Avatar
Descartar
Autor Mejor respuesta

Hi, could you help me please? i cant to resolve this problem 

Avatar
Descartar

did you upgrade the module: nuevo_landed ? is there a record with external id "view_calculo_factor_importacion_form_lcl" inside this module ?

Mejor respuesta

Hi,

The error message says that the referring id, which is:  nuevo_landed.view_calculo_factor_importacion_form_lcl is not existing inside the database. So you have to check the case, and if the record is deleted from the db and you want it back, you can upgrade the module: nuevo_landed to solve the issue.

Thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 24
3918
0
nov 24
1604
2
jul 24
3305
0
abr 24
2130
3
mar 24
2071