Unbound methods
i have this method in a class called 'orcamento':
def _verifica_
for orc in lista_orcs:
if orc.tipo_
for orclinha in orc_linhas_lista:
return True
in if statement i call function verifica_abate() from class sncp_orcamento_
verifica_
This function i call it with the database that corresponds to the sncp_orcamento_
I have this error:
unbound method verifica_abate() must be called with sncp_orcamento_
How can i create this instance to pass as argument of method verifica_abate()?
What i am doing wrong?
Can you help me?
Thanks,
José
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Alexandre Fayolle - camptocamp
- Solved:
- Last query:
- Last reply: