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

onchange_helper doesn't return fields set to False by onchange #1439

Closed
alexis-via opened this issue Nov 29, 2018 · 1 comment
Closed

onchange_helper doesn't return fields set to False by onchange #1439

alexis-via opened this issue Nov 29, 2018 · 1 comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@alexis-via
Copy link
Contributor

Steps to reproduce the bug:

  1. install the purchase module

  2. Create a partner with fiscal position = False

  3. run the following code:

    pvals = {'partner_id': my_new_partner_id}
    vals = self.env['purchase.order'].play_onchanges(pvals, ['partner_id'])

In "vals", the dict doesn't contain any field 'fiscal_position_id". This is a bug, we should get the fields set to False by the onchange methods.

@florian-dacosta @guewen Any hint ?

@github-actions
Copy link

github-actions bot commented Sep 3, 2023

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Sep 3, 2023
@github-actions github-actions bot closed this as completed Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

1 participant