Skip to content

Conversation

@allmightyspiff
Copy link

So I wanted location specific pricing to just update on the list, but that turns out to be super complicated. I did get it working I think, but I could use your help getting the code compliant with tox, and unit tested. And actual tested, to make sure the math matches what the portal shows.

Some big changes in the hardware manager:

  1. _get_package makes several different API calls now, but uses the package id directly, instead of making a bit getAllObjects call
  2. get_item_price and _get_preset_cost changed up to accept locations, and a lot of if statements to get it working right.
  3. Added a bit to get_create_options to check that the input DC (using shortname now, since that is what create-options shows) is a real datacenter

@allmightyspiff
Copy link
Author

errr... not sure why this shows 60 files updated, I guess your branch here isn't updated with master or something?

@allmightyspiff
Copy link
Author

There we go, looks fixed now :)

@FernandoOjeda
Copy link
Owner

yep hehe.

@FernandoOjeda FernandoOjeda merged commit 8bfd858 into FernandoOjeda:fo_vs_create_options_order_item_list Sep 1, 2020
@allmightyspiff allmightyspiff deleted the FernandoOjeda-fo_vs_create_options_order_item_list branch September 1, 2020 23:57
FernandoOjeda pushed a commit that referenced this pull request Jun 9, 2021
add new email features, email detail and email edit
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.

2 participants