Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug GiscedataSwitching.step_ids[x].pas_id torna string en comptes d'objecte #1

Open
oriolpiera opened this issue Nov 27, 2019 · 0 comments
Assignees
Labels

Comments

@oriolpiera
Copy link
Member

Al executar l'oomako, la plantilla ´input/correu-validacioDadesOVCanviTitus.mako´ peta al arribar a aquesta assignació:

´object.step_ids[0].pas_id.fiscal_address_id.name´

amb error:

´AttributeError: 'unicode' object has no attribute 'fiscal_address_id'´

En canvi al utilitzar aquesta plantilla en local, testing i productiu, funciona sense problemes. Entenc que l'ERP que carrega l'oomako té alguna cosa diferent que fa que el ´pas_id´ retorni un string i no un objecte.

@oriolpiera oriolpiera added the bug label Nov 27, 2019
@oriolpiera oriolpiera changed the title Bug GiscedataSwitching.step_ids[x] torna string en comptes d'objecte Bug GiscedataSwitching.step_ids[x].pas_id torna string en comptes d'objecte Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants