Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
1193 Переглядів

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


Аватар
Відмінити
Автор Найкраща відповідь

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

Аватар
Відмінити

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

Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
груд. 24
4296
0
лист. 24
1753
2
лип. 24
3579
0
квіт. 24
2302
3
бер. 24
3175