Project

General

Profile

Plugins Directory » Redmine Materials

Author: Tigergm Wu
Website: https://bitbucket.org/39648421
Code repository: https://bitbucket.org/39648421/redmine_materials
Registered on: 2016-07-20 (over 8 years ago)
Current version: 0.2.0
Compatible with: Redmine 3.4.x, 3.3.x
User ratings:   (10)

This is a simple redmine plugin for materials and devices' fundamental management.
For basic account management of device, equipment, books or other items. Record the material's usage or storage information instead of manual management.

Version of 0.1.0 feature planning in the future:
Track the materials by the way of equipment life cycle. Define the key stage:origin (purchasing, leasing, temporary), intermediate processing (including inventory, usage and maintenance and so on), ending (scrap, return or lose). Record the responsible personnel, location (warehouse), the transfer of personnel. All the tracks will be linked to issues.
The version of 0.0.6 has finished the basic of lifecycle function.

ToDo List:

Support the Redmine 4.0.x
Cross Project Reference and Globle Query
Dictionary Data Customed
The Status' Controller
Add Unit, Function and Integration Test Code(basic)
More Locales
No Material's Nested Reference
Inventory Features
Activie Stream
Globle Search
Import and Export
Issues' Reference
Commit For Material Feature

Installation notes

Summary of set up

1.Copy the plugin directory into the plugins directory (make sure the name is redmine_materials)

2.Install the required gems (in the Redmine root directory)

bundle install --without development test

3.Execute migration

rake redmine:plugins:migrate NAME=redmine_materials RAILS_ENV=production

4.Start Redmine

5.Add Categories

in administration menu visit the redmine_materials' plugin's configuration

Upgrade

Upgrade work is almost same as installation. It doesn't work through the plugins' list update button.

1.Move the old version plugin derectory out from plugins direct and backup.

2.Copy the new version plugin directory into the plugins directory (make sure the name is redmine_materials)

3.Execute migration

rake redmine:plugins:migrate NAME=redmine_materials RAILS_ENV=production

PS: In the old version as a result of a serious bug the materials table created but the migrate process failed. You can try to delete the db/migrate 001_create_materails rb file and then execute the migrate command again. Or drop the materials table from db instance. If everything else fails, just reset the database and reinstall.

4.Start Redmine

Uninstall

Rollback the migration

rake redmine:plugins:migrate NAME=redmine_materials VERSION=0 RAILS_ENV=production

Delete the plugin directory (plugins/redmine_materials)

Changelog

0.2.0 (2019-01-22)

Compatible with Redmine 3.4.x, 3.3.x.

fix the warehouse saving issue

0.1.9 (2018-07-10)

Compatible with Redmine 3.4.x, 3.3.x.

added the link in list

0.1.8 (2018-07-09)

Compatible with Redmine 3.4.x, 3.3.x.

active the duplication of meterial

0.1.7 (2017-11-17)

Compatible with Redmine 3.4.x, 3.3.x, 3.2.x.

fixed the bug of showing top menu on redmine 3.4.x

0.1.6 (2017-08-30)

Compatible with Redmine 3.4.x, 3.3.x, 3.2.x.

compatible with 3.4.x, also with 3.3.x and 3.2.x

0.1.5 (2016-10-08)

Compatible with Redmine 3.3.x, 3.2.x.

fixed the bug that exporting to csv didn't work
added field_material(warehouse)_name to avoid using the globle locale key
fixed the bug that importing csv didin't work

Attention please, the import file should let the first row as the field row so that the second row is the real import beginning.

0.1.4 (2016-09-26)

Compatible with Redmine 3.3.x, 3.2.x.

optmized the field for date and time format selection(only tested in 3.3.0)

0.1.3 (2016-08-22)

Compatible with Redmine 3.3.x, 3.2.x.

added locale for Poland language

Thank Piotr Sulima.

0.1.2 (2016-08-11)

Compatible with Redmine 3.3.x, 3.2.x.

continue testing
add admin menu for plugin's setting
simple validation of the nested parent material

0.1.1 (2016-08-09)

Compatible with Redmine 3.3.x, 3.2.x.

material's csv import/export supporting

0.1.0 (2016-08-09)

Compatible with Redmine 3.3.x, 3.2.x.

fix the bug which only be set to blank on the selection's field.(Thank Pavel Potcheptsov for fixing this bug of editing material)
adjust the field's position for the normal tab order

0.0.9 (2016-08-07)

Compatible with Redmine 3.3.x, 3.2.x.

fix the bug: the warehouse is disable to be selected

0.0.8 (2016-08-06)

Compatible with Redmine 3.3.x, 3.2.x.

basic functional test

0.0.7 (2016-08-05)

Compatible with Redmine 3.3.x, 3.2.x.

basic unit test
add the feature of life cycle's activity stream

0.0.6 (2016-08-01)

Compatible with Redmine 3.3.x, 3.2.x.

0.0.6
material cycle supporting
inventory and warehouse supporting

future's version planning:
update the material's last status and other properties according to the lifecycle' update.
begin to write the test case for strong code.
lifecycle's activity streams

some screenshots:
material show with cycle's buttons

initial enter and start the lifecycle

lifecycles' list

issue shown with lifecycle's info

material_show.png (50.2 KB) material_show.png Tigergm Wu, 2016-08-01 13:46
init_enter_cycle.png (55 KB) init_enter_cycle.png Tigergm Wu, 2016-08-01 13:46
cycle-list.png (49.8 KB) cycle-list.png Tigergm Wu, 2016-08-01 13:46
issue-shown-with-cycle.png (66.6 KB) issue-shown-with-cycle.png Tigergm Wu, 2016-08-01 13:47

0.0.5 (2016-07-22)

Compatible with Redmine 3.2.x.

begin supporting exporting csv (still not work)
fix bugs of db migration script using references type
test for running under 3.2.1. it works

0.0.4 (2016-07-22)

Compatible with Redmine 3.2.x.

comment materials feature

0.0.3 (2016-07-22)

Compatible with Redmine 3.2.x.

top menu feature
global search feature
activity stream feature

0.0.2 (2016-07-22)

Compatible with Redmine 3.2.x.

fix some crash bug and refine some feature.
the master branch is the new version of 0.0.2.
upload some screenshots.
index:
index
edit:
edit
show:
show
add category:
add category
edit category:
category

m1.png (31 KB) m1.png index Tigergm Wu, 2016-07-22 03:09
m3.png (40.3 KB) m3.png show Tigergm Wu, 2016-07-22 03:09
m4.png (35.8 KB) m4.png add category Tigergm Wu, 2016-07-22 03:09
m2.png (51.4 KB) m2.png edit Tigergm Wu, 2016-07-22 03:09
m5.png (47.3 KB) m5.png category Tigergm Wu, 2016-07-22 03:09

0.0.1 (2016-07-20)

Compatible with Redmine 3.2.x.

User ratings

  by 五月 袁 almost 3 years ago

  by Zelphar Yang about 5 years ago

bundle exec rake redmine:plugins NAME=redmine_materials RAILS_ENV=production

Got this error in Redmine 4.0.4T_T

  by Johnson zhuang almost 6 years ago

Thanks for the Author
but when there was a bug about warehouse for redmine 3.4.7 stable, the warehouse drop-down list was Invalid while clicked.
how to correct it ?
i have found the code:
def warehouses_for_select
Warehouse.all.map{|a| [a.name,

  by Pavel Delamoure over 6 years ago

How to contact the author? This plugin is very necessary, but it does not work for Bitnami redmine 3.4.2.stable. Returns an error 500 when entering the settings

  by Konstantin Shutov over 6 years ago

  by Pavel Potcheptsov over 8 years ago

Please fix ability to edit items.

  by Tigergm Wu over 8 years ago

Hello Piotr Sulima. It's nice to meet you and thank you for your interested in this plugin.
Just send the localization's file to me. My email:39648421@qq.com.

  by Piotr Sulima over 8 years ago

How to conntact with author? I want sent new translation for PL language.

  by rojo capo over 8 years ago

Is working with Redmine 3.2.1 . Great explanation. We are waiting for the linking with the issues! Will the link be in the issues tab?

  by Maurizio Tallarico over 8 years ago

Confirm, doesn't work with 3.2.1