Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1103 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit

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

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 24
3932
0
lis 24
1608
2
čvc 24
3315
0
dub 24
2132
3
bře 24
2091