Project

General

Profile

Redmine-Inventory-Manager Plugin

Added by Daniel Anguita over 13 years ago

Take your warehouse or office inventory on the same platform of your projects.

http://github.com/danielanguita/Redmine-Inventory-Manager

Update 2014/Dec/13: Tested and functional in redmine 2.6, rails 3.2, rubys 2.0, mysql 5.5


Replies (36)

RE: Redmine-Inventory-Manager Plugin - Added by alon almog about 9 years ago

Hey Daniel,
we are use your plugin and it works great!
as michael said - there is a lot of small items things that would help make this perfection
we would like to have the ability to sort items, search, automatically create delivery documents while new "out movement" is created

RE: Redmine-Inventory-Manager Plugin - Added by Daniel Anguita about 9 years ago

Hello Alon!

Please donate! i'll keep developing if I see real interest.

Thanks for the support!

Daniel

RE: Redmine-Inventory-Manager Plugin - Added by Iqbal Muhammad almost 9 years ago

Hi Daniel,

This is my first time using your plugin and this is what i need for our small business but I got this internal error when create out movements. Actually, after I filled all the fields and submit it, got 500 error. And it failed to write to database.

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Back

I dont have no idea what's going with the plugin. I'm using redmine 2.6, rails 4.2.1, ruby 2.0.
Hope you can help me by fixing this error. And here are the redmine log :

Started POST "/inventory/movements" for 182.253.72.145 at 2015-04-30 16:23:31 +0700
Processing by InventoryController#movements as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"j0nIEcQD1yxxwyAW7MqfsPmZYYfoGW+fHcioBdV3XII=", "inventory_out_movement"=>{"warehouse_from_id"=>"1", "inventory_part_id"=>"1", "serial_number"=>"4AC7040A4115/436", "quantity"=>"1", "document_type"=>"1", "document"=>"Invoice", "project_id"=>"40"}, "to_options"=>"project_id", "create_out"=>"true", "commit"=>"Submit"}
Current user: iqbal (id=28)
Completed 500 Internal Server Error in 17.4ms

NoMethodError (undefined method `[]' for nil:NilClass):
plugins/redmine_inventory_manager/app/controllers/inventory_controller.rb:226:in `check_available_stock'
plugins/redmine_inventory_manager/app/controllers/inventory_controller.rb:345:in `movements'
actionpack (3.2.19) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.19) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.19) lib/active_support/callbacks.rb:480:in `_run__500779247930336676__process_action__804588097920923340__callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.19) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.19) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.19) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.19) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.19) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.19) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:608:in `call'
rack-openid (1.4.2) lib/rack/openid.rb:98:in `call'
request_store (1.0.5) lib/request_store/middleware.rb:9:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.19) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.19) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `_run__2917288639932012468__call__2381762763204026453__callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.19) lib/rails/rack/logger.rb:18:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:143:in `pass'
rack-cache (1.2) lib/rack/cache/context.rb:155:in `invalidate'
rack-cache (1.2) lib/rack/cache/context.rb:71:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.19) lib/rails/engine.rb:484:in `call'
railties (3.2.19) lib/rails/application.rb:231:in `call'
railties (3.2.19) lib/rails/railtie/configurable.rb:30:in `method_missing'
passenger (5.0.6) lib/phusion_passenger/rack/thread_handler_extension.rb:85:in `process_request'
passenger (5.0.6) lib/phusion_passenger/request_handler/thread_handler.rb:155:in `accept_and_process_next_request'
passenger (5.0.6) lib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
passenger (5.0.6) lib/phusion_passenger/request_handler.rb:414:in `block (3 levels) in start_threads'
passenger (5.0.6) lib/phusion_passenger/utils.rb:111:in `block in create_thread_and_abort_on_exception'

Regards,

RE: Redmine-Inventory-Manager Plugin - Added by Alison Cairns over 8 years ago

Afternoon! Has anyone tried this on v3.x?
Looks to be very useful.

RE: Redmine-Inventory-Manager Plugin - Added by Alison Cairns over 8 years ago

Had a go and didn't turn out very well.
Inventory tab was added which gave 404.
No other evidence of install apart from checkbox to hide donate.

RE: Redmine-Inventory-Manager Plugin - Added by alon almog over 8 years ago

Hey Daniel

we keep getting an internal error (db errors when we look at logs) since we have upgraded to redmine 3.
I think it happens because a permission issue, do you know a way to completely remove the plugin and install it again? I've been trying to remove the plugin using the simple script provided by redmine but it says something is wrong with the tables and fails.

Thanks

RE: Redmine-Inventory-Manager Plugin - Added by Alison Cairns over 8 years ago

Works ok on 2.6.6 btw. Has anyone successfully hidden the Inventory tab? Custom menu plugin mabye?

RE: Redmine-Inventory-Manager Plugin - Added by stefani banerian over 7 years ago

will this be updated to work with redmine 3.x ?

RE: Redmine-Inventory-Manager Plugin - Added by dj jones over 7 years ago

This fork on Github says it supports redmine 3.x
- https://github.com/MicroHealthLLC/redmine_inventory_manager

In Github: you can always use the Fork icon top right, to search for new versions of something you like!

RE: Redmine-Inventory-Manager Plugin - Added by stefani banerian over 7 years ago

indeed that fork does work.
there are a couple of bugs i need to report, but the basic functionality is there.

RE: Redmine-Inventory-Manager Plugin - Added by Javier Collazos over 6 years ago

When you try to modify a product and click on the accept button, give this error:

F, [2017-11-15T12:15:50.624478 #9628] FATAL -- :
ActionController::RoutingError (No route matches [PATCH] "/redmine/inventory/parts/2"):
actionpack (4.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.2.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.8) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.8) lib/rails/rack/logger.rb:22:in `call'
actionpack (4.2.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.8) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.8) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.8) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (4.2.8) lib/action_dispatch/middleware/static.rb:120:in `call'
rack (1.6.8) lib/rack/content_length.rb:15:in `call'
rack (1.6.8) lib/rack/sendfile.rb:113:in `call'
railties (4.2.8) lib/rails/engine.rb:518:in `call'
railties (4.2.8) lib/rails/application.rb:165:in `call'
railties (4.2.8) lib/rails/railtie.rb:194:in `public_send'
railties (4.2.8) lib/rails/railtie.rb:194:in `method_missing'
passenger (5.1.11) src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
passenger (5.1.11) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:160:in `accept_and_process_next_request'
passenger (5.1.11) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
passenger (5.1.11) src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
passenger (5.1.11) src/ruby_supportlib/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'

The rest of the functionalities do not fail. Am I missing some of the configuration?

(26-36/36)