Luis Ramos
|
872cfcfc58
|
Remove unused promotions code
|
2020-07-11 15:44:23 +01:00 |
|
Luis Ramos
|
5b3fbe0aed
|
Merge decorator OrderUpdater
|
2020-07-11 15:44:23 +01:00 |
|
Luis Ramos
|
ebeeeb7ed3
|
Fix easy rubocop issues
|
2020-07-11 15:44:23 +01:00 |
|
Luis Ramos
|
7218bb0c7d
|
Bring Spree::OrderUpdater from spree
|
2020-07-11 15:44:23 +01:00 |
|
Luis Ramos
|
761871c90e
|
Merge pull request #5715 from luisramos0/ship_method
Fix issue in Spree 2.1 and bring Spree::Stock classes to OFN 🎉
|
2020-07-06 19:15:50 +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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
69b9cfbad2
|
Make packer use BasicSplitter by default
|
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
|
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
|
2179cc7faf
|
Make StripeSCA void action make a refund instead
StripeSCA does not support voiding confirmed payment intents so we need to make a refund instead
|
2020-07-01 13:10:56 +01:00 |
|
Cillian O'Ruanaidh
|
a9664e103d
|
Merge latest :master into :drop-blockenspiel branch and resolve conflicts related to Rubocop fixes.
|
2020-06-29 18:11:08 +01:00 |
|
Luis Ramos
|
0e3b5ad4c3
|
Revert rubocop auto correct because update! is a method in the adjustment model
|
2020-06-22 17:39:17 +01:00 |
|
Luis Ramos
|
41ff406e86
|
Fix rubocop issue by avoiding rails method name update_attributes
|
2020-06-22 16:51:46 +01:00 |
|
Luis Ramos
|
f848a89a00
|
Rename update_attributes to update #rails4
|
2020-06-22 16:51:43 +01:00 |
|
Luis Ramos
|
adfe1f89b6
|
Revert previous rubocop auto correct fix that breaks the cart spec
|
2020-06-22 13:08:38 +01:00 |
|
Luis Ramos
|
8a9dae0ee2
|
Run rubocop autocorrect
This is the result of bundle exec rubocop --auto-correct
|
2020-06-22 12:23:10 +01:00 |
|
Pau Pérez Fabregat
|
db80992326
|
Merge branch 'master' into drop-blockenspiel
|
2020-06-19 12:12:10 +02:00 |
|
François Turbelin
|
6672cfdaf5
|
Readd price_adustments after bad rebase
|
2020-06-16 16:13:56 +02:00 |
|
François Turbelin
|
9abe41f6cb
|
Use OrderTaxAdjustmentsFetcher service
|
2020-06-16 14:01:27 +02:00 |
|
François Turbelin
|
c729f64fcf
|
Include adjustments without positive taxes
|
2020-06-16 14:01:27 +02:00 |
|
Pau Perez
|
456f369b76
|
Fix outstanding Rubocop violations
|
2020-06-15 10:17:34 +02:00 |
|