erp_integration 0.44.0 → 0.46.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: cc595a10c50b58e2ed163058d95f658be92b852a4827aab0e30a964ce7960f27
|
4
|
+
data.tar.gz: 407b494f39ffd973a2264f9d6b82a2d4c8c0698d9bc74c031c5dc099567da056
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 590eb2725b4212fc60882342466b1d6ddbda4935abd7f745e55648a8cc5bba75a6e975276a7ce63cf9987efb49e8fff4444ac6db507a060d16da26a5656b6059
|
7
|
+
data.tar.gz: 7302ae626554c39747c9229c8291b4e08eb429e4a1d17d24792c4f1a85edcdfd4e0deef5af54172512209d79cfa9c60cd99c7eff9aa052f6f117edccc6ace095
|
@@ -15,6 +15,13 @@ module ErpIntegration
|
|
15
15
|
def split(id, options)
|
16
16
|
client.put("model/stock.shipment.out/#{id}/split", options)
|
17
17
|
end
|
18
|
+
|
19
|
+
# Mark a CustomerShipment as packed in Fulfil
|
20
|
+
#
|
21
|
+
# @param id [Integer, String] The ID of the Customer Shipment
|
22
|
+
def mark_as_packed!(id)
|
23
|
+
client.put("model/stock.shipment.out/#{id}/pack")
|
24
|
+
end
|
18
25
|
end
|
19
26
|
end
|
20
27
|
end
|
@@ -13,7 +13,8 @@ module ErpIntegration
|
|
13
13
|
:reference, :sales_person, :shipment_amount, :shipment_method,
|
14
14
|
:shipment_returns, :shipment_state, :shipments, :shipping_start_date,
|
15
15
|
:state, :tax_amount, :total_amount, :total_quantity, :total_shipment_cost,
|
16
|
-
:untaxed_amount, :warehouse, :weight, :weight_uom, :write_date, :write_uid
|
16
|
+
:untaxed_amount, :warehouse, :weight, :weight_uom, :write_date, :write_uid,
|
17
|
+
:gift_message
|
17
18
|
|
18
19
|
def cancel
|
19
20
|
self.class.adapter.cancel(id)
|
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.46.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-05-
|
11
|
+
date: 2024-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|