Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1102 Widoki

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


Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 24
3926
0
lis 24
1607
2
lip 24
3313
0
kwi 24
2132
3
mar 24
2087