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

[11.0] Parent Asset is required endless loop error when created a "New" Asset Profile #1974

Open
hp-data opened this issue Nov 20, 2024 · 0 comments
Labels

Comments

@hp-data
Copy link

hp-data commented Nov 20, 2024

Summary:
When creating a "NEW" asset profile, the "Parent Asset" field is required. The "Asset Profile" cannot be "Saved" unless a "Parent Asset" is created. The user is forced into selecting "Create and Edit" in the "Parent Asset" field, which results in a new dialog box, which also requires a "Parent Asset" in order to "save". This endless loop continues, effectively rendering the module unusable.

Module

account_asset_management

Describe the bug

See "Summary" above

To Reproduce

See its below to reproduce

Affected versions:
Odoo 11 CE - Odoo version 11.0-20210922

Steps to reproduce the behavior:

  1. Install the module account_asset_management.
  2. Attempt to create an "Asset Profile"
  3. Fill out the "New" asset profile form, leave the "Parent Asset" field blank and attempt to save it. This should display a RED warning letting you know that a "Parent Asset" is required.
  4. In the "Parent Asset" field, select "Create and Edit" and in the resulting dialog box complete the form and attempt to save the "Parent Asset" it should throw an error indicating that a "Parent Asset" is required.

Expected behavior
You should be allowed to create an "Asset Profile" without the need(required) "Parent Asset" and/or correctly handle the creation of a "Parent Asset"

Additional context
Debian 4.9.320-2 (2022-06-30) x86_64 GNU/Linux
Python 2.7.13
Odoo version 11.0-20210922

@hp-data hp-data added the bug label Nov 20, 2024
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

1 participant