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

[V14] maintenance_account, dont create same equipment category of every single unit when tracking by serial on the product with asset profile ticked #229

Closed
bunhin opened this issue May 27, 2022 · 5 comments
Labels
enhancement stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@bunhin
Copy link

bunhin commented May 27, 2022

Is your feature request related to a problem?
It is not causing an error now, but I consider as a bug and may need improvement,

The current behavior is creating the same equipment category when validating vendor bills for "can be maintained item" when the item is tracked by serial and the purchase qty more than 1, in combination with creating the assets (an asset profile is selected)

Step to reproduce:
0. Install The OCA asset management module, and create an asset profile

  1. install maintenance_product and maintenance_account module
  2. Create a product category for example Laptop
  3. Create a laptop item with category = Laptop, then check "Can Be Maintained" on product form and use tracking with serial.
  4. Create purchase for laptop item with 10 units in quantity, confirm the PO
  5. Receive product and enter or generate serial number for 10 items
  6. Validate the receive
  7. Create the vendor bill, indicate the bill date, and select the asset profile created above, doing so the bill line become 10 lines now (correct behavior)
  8. confirm the bill.
  9. It will create 10 equipment items with 10 equipment categories (1 equipment category for 1 laptop item) with the same name of the equipment category (Laptop)

Expected behavior --> only 1 equipment category should be created (Laptop) and all the 10 units of laptop items in the same equipment category.

@pedrobaeza
Copy link
Member

Thanks for the report. You can contribute with the fix via a pull request.

@bunhin
Copy link
Author

bunhin commented May 27, 2022

Overall all modules are excellent features that make the maintenance app usable. I do highly appreciate it.

@github-actions
Copy link

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 Nov 27, 2022
@etobella
Copy link
Member

@pedrobaeza I was checking, Why do you need to create the category? I mean, it is not a required field 🤔

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Dec 18, 2022
@github-actions
Copy link

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 Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

3 participants