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

Error al Duplicar Documentos Contables (Facturas, Asientos, etc.) #272

Open
tvainstein opened this issue Feb 19, 2021 · 1 comment
Open

Comments

@tvainstein
Copy link

¡Buenas!

La línea a la que hago referencia debería ser "res = super().copy()" (sin el contenido entre paréntesis) ya que de lo contrario Odoo tira el siguiente error:

TypeError: copy() got an unexpected keyword argument 'default'

El problema no me sucedió en todas las instalaciones, si no en Odoo V13 EE donde también estaba instalada previamente la Localización Colombiana.

res = super().copy(default=default)

@jjscarafia
Copy link
Member

mm, the definition of copy has that argument https://github.com/odoo/odoo/blob/13.0/odoo/models.py#L4651
it seams that on any other module that you've installed the copy method is inherited but that argument is not there. can you check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants