Skip to content

Conversation

@flutistar
Copy link
Contributor

Issue #: /bcgov/entity#24056
Description of changes:

  • Removed location restrictions on transport permits
  • sole owner restrictions on transfer due to sale or gift

NOTE: Since I am not comfortable to update the DB yet, I left the other 2 tasks.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the PPR license (Apache 2.0).

error_msg += validator_utils.validate_registration_state(
registration, staff, MhrRegistrationTypes.PERMIT, MhrDocumentTypes.REG_103, json_data
)
if registration and group_name and group_name == MANUFACTURER_GROUP:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the ticket description the removal of the restriction applies only to dealers. MANUFACTURER_GROUP applies to QS manufactures, which I do not think has changed.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely correct, only Dealers are changing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep! I will update it.

('Missing land status confirm MH_PARK', False, '000900', LOCATION_PARK_2,
validator_utils.STATUS_CONFIRMATION_REQUIRED,
REQUEST_TRANSPORT_PERMIT),
('MANUFACTURER no existing lot', False, '000919', None, validator.MANUFACTURER_DEALER_INVALID,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the validation change only applies to QS dealers then the manufacturer tests can remain as is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will revert this change!

Copy link
Collaborator

@doug-lovett doug-lovett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a comment on scope - if QS manufacturer validation is changing? From the ticket description it looks like only QS dealer validation is changing.

flutistar and others added 6 commits November 13, 2024 08:12
* Enhanced Dealer Updates

* clean up

* Added Script Commands
* Dealer Civic Location Addition

* Version Bump
* MHR API QS dealer endpoint updates

Signed-off-by: Doug Lovett <doug@diamante.ca>

* MHR API update lock file.

Signed-off-by: Doug Lovett <doug@diamante.ca>

---------

Signed-off-by: Doug Lovett <doug@diamante.ca>
@flutistar flutistar closed this Nov 13, 2024
@flutistar flutistar deleted the 24056-api-qs-dealer-unrestriction branch November 13, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants