Creating new records

A common requirement when writing business logic methods is creating new records. This recipe explains how to create records of the library.book.category model. For our example, we will add a method that will create dummy categories for the library.book.category model. To trigger this method, we will add a button to the form view.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset