Re: [tryton-es] herencia en tryton super() no tiene atributo (AttributeError)

2018-10-01 Por tema Maicoly Guerrero
Si, muchas gracias Sergi. Al final seguimos tu consejo. Saludos!! El lun., 1 oct. 2018 a las 2:30, Sergi Almacellas Abellana (< se...@koolpi.com>) escribió: > On 9/28/18 8:02 PM, Maicoly Guerrero wrote: > > > > Además se solucionó de otra manera con ayuda de @perilla > > se observa que no se

Re: [tryton-es] herencia en tryton super() no tiene atributo (AttributeError)

2018-10-01 Por tema Sergi Almacellas Abellana
On 9/28/18 8:02 PM, Maicoly Guerrero wrote: > > Además se solucionó de otra manera con ayuda de @perilla  > se observa que no se importa 'CreatePurchase' es decir: > from trytond.modules.purchase_request import CreatePurchase No debes importar la misma classe para hacer herencia de ella misma en

Re: [tryton-es] herencia en tryton super() no tiene atributo (AttributeError)

2018-09-28 Por tema Maicoly Guerrero
Si, se pudo realizar. Muchas gracias Sergi, lo tendré en cuenta a futuro. Además se solucionó de otra manera con ayuda de @perilla se observa que no se importa 'CreatePurchase' es decir: from trytond.modules.purchase_request import CreatePurchase Un saludo!! El vie., 28 sept. 2018 a las 12:04,

Re: [tryton-es] herencia en tryton super() no tiene atributo (AttributeError)

2018-09-28 Por tema Sergi Almacellas Abellana
On 9/28/18 5:03 PM, Maicoly Guerrero wrote: Buenos dias amig@s, tengo un problema en una herencia: Clase Padre:     class CreatePurchase(Wizard):         __name__ = 'first.something1'        // data         @staticmethod         def _group_purchase_key(requests, request):              

[tryton-es] herencia en tryton super() no tiene atributo (AttributeError)

2018-09-28 Por tema Maicoly Guerrero
Buenos dias amig@s, tengo un problema en una herencia: Clase Padre: class CreatePurchase(Wizard): __name__ = 'first.something1' // data @staticmethod def _group_purchase_key(requests, request): return ( ('company',