In continuation to make development and customization for Open ERP easy and fast with tools like Object designer, Workflow designer, Report designer, View editor,we are happy to announce to you all launch of Open ERP Gedit (Text Editor) plugin. To build or customize business applications in very less time for Open ERP.
Now no need to remember syntax of source code, Geditor will give you freedom and make coding easy for Open ERP. For more detail please visit this link : Open ERP – Gedit . Here in this screen cast we have shown, how with Gedit one can develop a class for Partner module in Open ERP and can create a wizard for mailing. Also it will help coder by selecting different theme they can change color code to highlight syntax of Open ERP.
To download Gedit plugin kindly click on
1. Gedit plugin for Open ERP
2. Change theme in Gedit plugin
Affichage des articles dont le libellé est fast. Afficher tous les articles
Affichage des articles dont le libellé est fast. Afficher tous les articles
jeudi 27 août 2009
vendredi 22 mai 2009
Html Reports Using Mako Templates
Hello Every One,
Now you can create your HTML reports using Mako Templates for faster and formatted output.Open ERP has added new type of report called mako2html.
Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. This enables end user to make changes in format of report easily and faster as per her need.
Advantages:
1. Fast: simple three-sectioned layout mako template report takes 1.10 ms
2. Control structures constructed from real Python code (i.e. loops, conditionals) Which will allow user to create reports faster.
3. Straight Python blocks, inline or at the module-level
You can format the report as you need using HTML.
Requirements:
Mako 0.2.4 should be installed on your system.
openERP-server : Trunk version
openERP-client : Trunk version
openERP-addons : Trunk version
As an overview lets see a small example,
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<html>
<head>
<%include file=”mako_header.html”/>
</head>
<body>
% for o in objects:
<div style=”white-space: nowrap; float: left;”>
<address>
<p><small><b>Shipping address :</b></small></br></p>
<small>${ o.partner_id.title or ‘ ‘ } ${ o.partner_id.name }</small></br>
<small>${ o.partner_shipping_id.title or ‘ ‘ } ${ o.partner_shipping_id.name }</small></br>
<small>${ o.partner_shipping_id.street }</small></br>
<small>${ o.partner_shipping_id.street2 or ‘ ‘ }</small></br></address>
</div>
% endfor
</body>
<%include file=”mako_footer.html”/>
</html>
for your company header you need to include <%include file=”mako_header.html”/>
for your company footer you need to include <%include file=”mako_footer.html”/>
This files will bring the header and footer that you have defined for your company in the database.

Sale Order
For Complete Example of Sale_order please Refer the module sale_report_html from : https://code.launchpad.net/~openerp-community/openobject-addons/trunk-addons-community
Thanks & regards
Open ERP team
Now you can create your HTML reports using Mako Templates for faster and formatted output.Open ERP has added new type of report called mako2html.
Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. This enables end user to make changes in format of report easily and faster as per her need.
Advantages:
1. Fast: simple three-sectioned layout mako template report takes 1.10 ms
2. Control structures constructed from real Python code (i.e. loops, conditionals) Which will allow user to create reports faster.
3. Straight Python blocks, inline or at the module-level
You can format the report as you need using HTML.
Requirements:
Mako 0.2.4 should be installed on your system.
openERP-server : Trunk version
openERP-client : Trunk version
openERP-addons : Trunk version
As an overview lets see a small example,
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<html>
<head>
<%include file=”mako_header.html”/>
</head>
<body>
% for o in objects:
<div style=”white-space: nowrap; float: left;”>
<address>
<p><small><b>Shipping address :</b></small></br></p>
<small>${ o.partner_id.title or ‘ ‘ } ${ o.partner_id.name }</small></br>
<small>${ o.partner_shipping_id.title or ‘ ‘ } ${ o.partner_shipping_id.name }</small></br>
<small>${ o.partner_shipping_id.street }</small></br>
<small>${ o.partner_shipping_id.street2 or ‘ ‘ }</small></br></address>
</div>
% endfor
</body>
<%include file=”mako_footer.html”/>
</html>
for your company header you need to include <%include file=”mako_header.html”/>
for your company footer you need to include <%include file=”mako_footer.html”/>
This files will bring the header and footer that you have defined for your company in the database.

Sale Order
For Complete Example of Sale_order please Refer the module sale_report_html from : https://code.launchpad.net/~openerp-community/openobject-addons/trunk-addons-community
Thanks & regards
Open ERP team
Inscription à :
Articles (Atom)