Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Latest commit

 

History

History
56 lines (40 loc) · 1.8 KB

README.md

File metadata and controls

56 lines (40 loc) · 1.8 KB

Build Status

This extension provides the stock transfers interface which was extracted from Solidus 2.5 due to not being widely used and (as a result) not receiving the improvements it needs.

This should work but will not receive further improvements from the Solidus core team. If you are interested in improving and maintaining it, get in contact with us in slack.

Solidus Stock Transfers

This extension provides an admin interface to transfer stock between two locations. For most users, even with multiple stock locations, this extension isn't necessary, and setting the stock levels manually will be sufficient.

This interface requires jumping through some hoops and an unpleasant interface in order to be strict about and have a record of the transfer occurring.

Installation

Add solidus_stock_transfers to your Gemfile:

gem 'solidus_stock_transfers'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_stock_transfers:install

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs, and Rubocop static code analysis. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your application's integration with this extension you may use its factories. Simply add this require statement to your spec_helper:

require 'solidus_stock_transfers/factories'

Copyright (c) 2017 Solidus contributors, released under the New BSD License