Luis Ramos
|
b883a0eb75
|
Fix easy rubocop issues in shipment_spec
|
2020-07-03 13:48:12 +01:00 |
|
Luis Ramos
|
7b89b52ab8
|
Transpec shipment_spec brough from spree_core
|
2020-07-03 13:48:12 +01:00 |
|
Luis Ramos
|
07a44cfaf3
|
Update selected shipping rate if there is an original shipping method to keep and it is different from the one selected through the Estimator process
Make sure the shipment is saved (callbacks!) whenever the ship method has changed in the refresh_rates process
|
2020-07-03 13:48:12 +01:00 |
|
Luis Ramos
|
cd60ee2116
|
Use flat_map to make ship methods selection faster
|
2020-07-03 13:48:08 +01:00 |
|
Luis Ramos
|
758bb17142
|
Fix some easy rubocop issues and add some exceptions to to manual todo list
|
2020-07-02 21:24:15 +01:00 |
|
Luis Ramos
|
659de3d24d
|
Replay spree commit a4622ee13a723f0dba2943967b445b9989f67fb2 to fix issue introduced in spree 2.1
|
2020-07-02 21:24:15 +01:00 |
|
Luis Ramos
|
21ec6ccf0d
|
Remove unused sort packages from prioritizer
|
2020-07-02 21:24:15 +01:00 |
|
Luis Ramos
|
d323c5bdcb
|
Simplify packer and coordinator baed on the fact that there's only one stock_location so there will only be one package per order
|
2020-07-02 21:24:15 +01:00 |
|
Luis Ramos
|
ff046f7a6c
|
Remove conditionals related to Config.track_inventory_levels, this config is always true in OFN
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
ee937988e8
|
Fix easy rubocop issues
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
ee66e37521
|
Move adjuster, estimator, packer and prioritizer to order management engine
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
83974a832c
|
Move Coordinator from Spree::Stock to OrderManagement::Stock
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
01b1abbd52
|
Bring method from Spree::Order so that we can move Coordiantor to the order management engine
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
b487185a65
|
Remove package factory, it is no longer needed, we can just call the Package class in the two places where it is used
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
f0b3ed0d79
|
Merge Spree::Stock::Package into OrderManagement::Stock::Package
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
943cb7bf05
|
Move Stock::Package to OrderManagement::Stock::Package
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
1b28592f58
|
Now that the stock code is on out side we can clean up!
Remove everything related to splitters (including bringing environment.rb so we remove the splitters variable from it
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
8e116dd58a
|
Make ensure_correct_adjustment a public method because we call it in OFN
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
46cf106047
|
Fix shipment spec brought from spree
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
2e33e02d7f
|
Remove dead code, this method was removed in spree 2.0.4
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
7a03f57da0
|
Merge shipment decorator with class brought from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
494251b7cf
|
Fix simple rubocop issues
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
4e5259f491
|
Bring shipment from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
55a4021157
|
Convert to modern rspec syntax
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
bdb40d68e9
|
Fix easy rubocop issues
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
b7255130b6
|
Bring Package from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
0ca8b6aab6
|
Fix easy rubocop issue
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
3e14c9777e
|
Merge decorator with class brought from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
d505fc2131
|
Bring availability validator from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
720ad9de0e
|
Convert specs to modern rsspec syntax
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
feadbb086f
|
Adapt spec to OFN context
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
b16db2f40e
|
Fix easy rubocop issues
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
8c3b8c4db5
|
Bring estimator from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
4711a7469a
|
Adapt coordinator spec to ofn and remove spec that is not applicable (multi stock locations)
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
69b9cfbad2
|
Make packer use BasicSplitter by default
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
fdc085f701
|
Convert to modern rspec and remove specs not applicable to ofn
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
ccf928df12
|
Fix simple rubocop issues
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
e0f9894b7a
|
Bring packer from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
ec50a788a6
|
Fix easy rubocop issues
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
c2ec34ab9f
|
Bring coordinator from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
a6d7acb6f1
|
Convert spec to modern rspec syntax
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
eb13595fd3
|
Fix simple rubocop issues
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
3ae2877d4e
|
Bring adjuster and prioritizer from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
d18fec7125
|
Move Base splitter from main app models to order management engine services
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
735ee1e7ed
|
Fix simple rubocop issues
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
4fce506201
|
Bring splitter/base from spree
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
658c77f3f5
|
Merge pull request #5701 from Matt-Yorkley/noimage
Noimage
|
2020-07-02 20:17:04 +01:00 |
|
Luis Ramos
|
510449547f
|
Merge pull request #5644 from coopdevs/manage-font-with-asset-pipeline
Manage OFN's font through the asset pipeline
|
2020-07-02 20:09:08 +01:00 |
|
Matt-Yorkley
|
8fc407a9d5
|
Extract repeated variant thumbnail code to a shared partial
|
2020-07-02 18:36:43 +02:00 |
|
Matt-Yorkley
|
eeb6c57f99
|
Update missing image paths in other order views
|
2020-07-02 18:36:27 +02:00 |
|