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

HU attributes shall be readonly if the HUStatus is not planning #314

Closed
teosarca opened this issue Apr 24, 2017 · 2 comments
Closed

HU attributes shall be readonly if the HUStatus is not planning #314

teosarca opened this issue Apr 24, 2017 · 2 comments

Comments

@teosarca
Copy link
Member

teosarca commented Apr 24, 2017

What is the current behavior?

HU attributes are editable even if the HU editor is Active or something else.

Which are the steps to reproduce?

  • select a manufacturing order: https://w101.metasfresh.com:8443/window/53009
  • receive an HU => remark that the HUStatus is planning and attributes are editable
  • run Process plan quick action
  • remark that the HU is active but attributes are editable => NOK

image

What is the expected or desired behavior?

Attributes shall be readonly if HUStatus is not Planning.

NOTE: atm I decided to apply this rule wherever the HU editor is involved (atm only in receipt candidates and manufacturing order). When we will need to edit the attributes for Active HUs too, we would improve the feature.

Required for #269

@teosarca teosarca added this to the 2017-17 milestone Apr 24, 2017
metas-mk added a commit to metasfresh/metasfresh that referenced this issue Apr 24, 2017
Adding the issue metasfresh/metasfresh-webui-api-legacy#314 HU attributes shall be readonly if the HUStatus is not planning to this week's release notes.
@metas-lc metas-lc self-assigned this Apr 25, 2017
@metas-lc
Copy link

IT

  1. go to manufacturing order (/53009)
  2. select a line, press on issue/receipt
  3. select the main product, press on Receive HUs (if you don't have any planning hus to process)
  4. select the new LU
    => attributes are editable OK
  5. press on Process plan
    => your HUs are now grey
    => attributes are still editable NOK
  6. press on done and issue/receipt again
  7. select your HU
    => attributes are readonly OK

@metas-lc
Copy link

moving it to done. shall be solved in #319

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

No branches or pull requests

3 participants