April 2019
Beginner to intermediate
774 pages
24h 59m
English
In the first step, we added the _update_book_price() method, which searches for all books and increases the price by $10 USD. We started the method name with _ as this is considered private by ORM and cannot be invoked through RPC.
In the second step, we used the <function> tag with two attributes:
When you install this module, _update_book_price() will be called and the price of books will be increased by $10.
Read now
Unlock full access