Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I Created a report for the stock tracking.
my py code :
def __init__(self, cr, uid, name, context):
super(pack_print, self).__init__(cr, uid, name, context=context)
my xml code:
<report header='False' auto="False" id="report_purchase_order_test" model="stock.tracking"
usage="default" string="Pack Unit Printing"/>
I have not design my rml file yet but I have en error "Uncaught SyntaxError: Unexpected end of input" when I print the report but I can install the module with no error
What should I do to fix it?
You have to write
because in this name of the report you have to add "report." prefix on the actual name of the report which is define into <report> tag.
So, please check with this modification.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/13/14, 3:58 AM|
|Seen: 1924 times|
|Last updated: 3/16/15, 8:10 AM|