]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/Part.pm
behebt #273 Überschriftskonten nicht im Dialog bebuchen
[mfinanz.git] / SL / Controller / Part.pm
index da27a865e00a203e32e254edd71fedf82c71012a..461090bd9d99ce3b5b3f29fcf65b7786ee8f0742 100644 (file)
@@ -1299,6 +1299,17 @@ parameter part_type as an action. Example:
 
   controller.pl?action=Part/add&part_type=service
 
+=item C<action_add_from_record>
+
+When adding new items to records they can be created on the fly if the entered
+partnumber or description doesn't exist yet. After being asked what part type
+the new item should have the user is redirected to the correct edit page.
+
+Depending on whether the item was added from a sales or a purchase record, only
+the relevant part classifications should be selectable for new item, so this
+parameter is passed on via a hidden parts_classification_type in the new_item
+template.
+
 =item C<action_save>
 
 Saves the current part and then reloads the edit page for the part.