Book Image

Working with OpenERP

By : Greg Moss
Book Image

Working with OpenERP

By: Greg Moss

Overview of this book

<p>OpenERP continues to gain momentum throughout the world in providing the best platform for open source ERP installations. This book covers all the essential modules and how to get the power of OpenERP to work for you.</p> <p>"Working with OpenERP" provides a real-world business solution approach to integrating OpenERP into your small or medium sized business. This book begins by walking you through how to install OpenERP on a Windows or Ubuntu server then takes you through all the essential modules you will need to get OpenERP up and running for your company.</p> <p>All through the book, "Working with OpenERP" provides real-world examples in sales, customer relationship management (CRM), purchasing, manufacturing, human resources, and financial accounting. After covering the basics, you will learn how to customize various methods to configure OpenERP for your business and even build your own custom modules.</p> <p>"Working with OpenERP" covers all the basics of installing and using OpenERP along with advanced real-world examples you will not find anywhere else.</p>
Table of Contents (21 chapters)
Working with OpenERP
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Understanding dynamic fields in your reports


When RML is processed, the text that is between brackets, [[" and "]], is processed dynamically. This means that the report will not show what exactly is in between the brackets, but instead will fill that data from within OpenERP. In our company footer, for example, the text [[ user.name ]] tells the reporting engine to replace that text with the user's name. Take a few minutes to look through the RML and identify where there is information contained in these brackets.

Additionally, this dynamic syntax can call custom Python methods as well. For example, [[ display_address(company.partner_id) ]] calls a Python method to correctly format the address for the company header.

Creating a custom footer

By default, OpenERP will automatically create a footer for your report based on the fields you provide in the general information of the company record. If you update information on your company, the information will be automatically updated in your company...