xsys 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/xsys/model/product.rb +4 -4
- data/lib/xsys/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af9cfd48e60847b1146d06c8b5c6b32a2d912564
|
4
|
+
data.tar.gz: d52261e8cb3045e680e7757e22bcdd19d5a2d291
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a6ba89b2b133cdfacf767fae56534c99190478be019fa620e3b6875685771881ccf58b5e4dd51384f4a519f2dc8989f46b4c82041504d9b060fa84292557acb
|
7
|
+
data.tar.gz: 7445ffdf43bf48aa809b99d964c0fb60e9d442b342fe6099be0cc8fbba1ca85b9ba1324fda95201acd65dc8d1e12d08d33ba9772a1762a6d50628fdee8b298c1
|
data/CHANGELOG.md
CHANGED
data/lib/xsys/model/product.rb
CHANGED
@@ -5,9 +5,9 @@ module Xsys
|
|
5
5
|
[:id, :name, :sellable, :product_category_id,
|
6
6
|
:product_provider_id, :vat_rate, :taxed_cost, :vat_cost, :total_cost,
|
7
7
|
:pending_ordered_quantity, :stocks, :prices, :category, :provider,
|
8
|
-
:last_total_cost, :cost_update_date, :cost_update_time,
|
9
|
-
:last_cost_update_date, :last_cost_update_time, :
|
10
|
-
:product_size_code, :weight, :length, :width, :height, :packages_quantity,
|
8
|
+
:last_total_cost, :last_taxed_cost, :cost_update_date, :cost_update_time,
|
9
|
+
:last_cost_update_date, :last_cost_update_time, :price_update_date, :price_update_time,
|
10
|
+
:online_stock, :product_size_code, :weight, :length, :width, :height, :packages_quantity,
|
11
11
|
:ean, :packages, :regular_price, :reduced_price, :credit_card_price, :brand, :model
|
12
12
|
]
|
13
13
|
end
|
@@ -18,7 +18,7 @@ module Xsys
|
|
18
18
|
time_fields = ['cost_update_time', 'last_cost_update_time', 'price_update_time']
|
19
19
|
date_fields = ['cost_update_date', 'last_cost_update_date', 'price_update_date']
|
20
20
|
decimal_fields = ['vat_rate', 'taxed_cost', 'vat_cost', 'total_cost', 'last_total_cost',
|
21
|
-
'regular_price', 'reduced_price', 'credit_card_price']
|
21
|
+
'last_taxed_cost', 'regular_price', 'reduced_price', 'credit_card_price']
|
22
22
|
|
23
23
|
attributes.each do |k, v|
|
24
24
|
if k.to_s == 'category'
|
data/lib/xsys/version.rb
CHANGED