erp_integration 0.48.0 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 649f6e6df0c9f5fb12d93fd9ffde7a3648cbc364f087e1bcc8ad5ef50c5102ee
|
|
4
|
+
data.tar.gz: 1d47066b1b44fbc008cdbae187004006d06f609dbc795789f4d28b0535dd6a8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2b9ae39b29a56106026a26831d5a4b3879561d61a0a67f27c0f0ae63714c654d54e13a1c7452aeee6511d9c1e0bde012fda5bf5b807e2955e5ed82bb750a5be
|
|
7
|
+
data.tar.gz: e62f04b7837c043593b9afcf2c4f0f8c85e41aa20dbd789e6eba6e3a1759bde2cb84478d131338507c93ca4b3456e82a6d8a8cd92ec58ee212eb02e8e9999851
|
|
@@ -29,6 +29,11 @@ module ErpIntegration
|
|
|
29
29
|
:ups_saturday_delivery, :warehouse, :warehouse_output, :warehouse_storage, :weight, :weight_digits,
|
|
30
30
|
:weight_uom, :weight_uom_symbol, :write_date, :write_uid
|
|
31
31
|
|
|
32
|
+
# @param warehouse_ids [Array<Integer>, Integer] The warehouse(s) to move the shipment to
|
|
33
|
+
def move_to(*warehouse_ids)
|
|
34
|
+
self.class.adapter.change_warehouse(id, *warehouse_ids)
|
|
35
|
+
end
|
|
36
|
+
|
|
32
37
|
def split(options)
|
|
33
38
|
self.class.adapter.split(id, options)
|
|
34
39
|
end
|
|
@@ -8,6 +8,13 @@ module ErpIntegration
|
|
|
8
8
|
class CustomerShipment < ApiResource
|
|
9
9
|
self.model_name = 'stock.shipment.out'
|
|
10
10
|
|
|
11
|
+
# Change the warehouse of a CustomerShipment in Fulfil
|
|
12
|
+
#
|
|
13
|
+
# @param id [Integer, String] The ID of the Customer Shipment
|
|
14
|
+
def change_warehouse(id, options)
|
|
15
|
+
client.put("model/stock.shipment.out/#{id}/change_warehouse", options)
|
|
16
|
+
end
|
|
17
|
+
|
|
11
18
|
# Split a CustomerShipment in Fulfil
|
|
12
19
|
#
|
|
13
20
|
# @param id [Integer, String] The ID of the Customer Shipment
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: erp_integration
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.49.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stefan Vermaas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|