Autogenerated barcodes

* Provider code must be required, so barcode could be automatically generated.
* Barcode could not be editable in any way by the user (edit and new views).
* Test.