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

[13.0 and above] l10n_es_aeat_mod347: Error when adding Real Estate record to 347 model. #2001

Closed
jvbp opened this issue Jan 13, 2022 · 2 comments
Labels

Comments

@jvbp
Copy link

jvbp commented Jan 13, 2022

Summary:

Error when selecting partner while adding a real estate record to MOD347

Module:

l10n-spain/l10n_es_aeat_mod347/

Describe the bug

When we generate the 347 model two notebooks appears: Partners records and Real Estate records .
In the Real Estate records tab when we try to add a line and select a Partner , Odoo crashes complaing about: KeyError: 'partner_state_code'

To Reproduce

You can reproduce in Runbot but we discovered in our production enviroment.

Affected versions: 13.0 and above

Steps to reproduce the behavior:

  1. Go to AEAT 347 Model
  2. Generate a new Report Declaration
    image
  3. Go to the Real Estate records tab
  4. Add a new line
    image
  5. Select the Partner and the crash occurs.
    image
    image

Expected behavior
The expected behavior is the posibility to add a partner without the crash.

@jvbp jvbp added the bug label Jan 13, 2022
pedrobaeza added a commit that referenced this issue Jan 18, 2022
The provided field name was not correct.

Fixes #2001
pedrobaeza added a commit that referenced this issue Jan 18, 2022
The provided field name was not correct.

Fixes #2001
@pedrobaeza
Copy link
Member

Solucionado en los commits enlazados.

@HaraldPanten
Copy link
Contributor

Gracias Pedro! 👍

juanpgarza pushed a commit to juanpgarza/l10n-spain that referenced this issue Jan 26, 2022
The provided field name was not correct.

Fixes OCA#2001
ramiadavid pushed a commit to ramiadavid/l10n-spain that referenced this issue Dec 15, 2022
The provided field name was not correct.

Fixes OCA#2001
ramiadavid pushed a commit to ramiadavid/l10n-spain that referenced this issue Mar 22, 2024
The provided field name was not correct.

Fixes OCA#2001
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

3 participants