Cannot create data template

Bug #968094 reported by Sam Boateng
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
openobject-jasper-reports
Fix Committed
Undecided
Huy Doan

Bug Description

I have installed jasper report 6.1 in both windows and linux. The installation was okay on both - no errors, however when I click on 'create data template' in the jasper report menu on both, nothing happens. No screen is displayed and no error message given.

Revision history for this message
Huy Doan (rgv151) wrote :
Revision history for this message
Huy Doan (rgv151) wrote :

Sorry, I had change the branch name, please go to this new url to take the path http://bazaar.launchpad.net/~rgv151/openobject-jasper-reports/6.1/revision/179

Revision history for this message
Sam Boateng (samb) wrote : Re: [Bug 968094] Re: Cannot create data template

Thanks for getting back.
I downloaded and tried to install but getting the following error

2012-04-26 23:32:16,506 27172 INFO TheMo openerp.modules.loading: module
jasper_reports: loading objects
2012-04-26 23:32:16,517 27172 INFO TheMo openerp.modules.module: module
jasper_reports: creating or updating database tables
2012-04-26 23:32:17,088 27172 INFO TheMo
openerp.addons.base.module.module: module jasper_reports: no quality
certificate
2012-04-26 23:32:17,088 27172 INFO TheMo openerp.modules.loading: module
jasper_reports: loading wizard/jasper_create_data_template.xml
2012-04-26 23:32:17,260 27172 ERROR TheMo openerp.tools.convert: Parse
error in
file:///C:/Program%20Files/OpenERP%206.1-1/server/openerp/addons/jasper_reports/wizard/jasper_create_data_template.xml:27:

<record id="action_jasper_create_date_template"
model="ir.actions.act_window">
<field name="name">Create Data Template</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">jasper.create.data.template</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
Traceback (most recent call last):
   File "C:\Program Files\OpenERP
6.1-1\server\.\openerp\tools\convert.py", line 890, in parse
   File "C:\Program Files\OpenERP
6.1-1\server\.\openerp\tools\convert.py", line 857, in _tag_record
   File "C:\Program Files\OpenERP
6.1-1\server\openerp\addons\base\ir\ir_model.py", line 737, in _update
   File "C:\Program Files\OpenERP 6.1-1\server\.\openerp\osv\orm.py",
line 4191, in create
   File "C:\Program Files\OpenERP 6.1-1\server\.\openerp\osv\orm.py",
line 1466, in _validate
except_orm: ('ValidateError', 'Error occurred while validating the
field(s) res_model,src_model: Invalid model name in the action definition.')
2012-04-26 23:32:17,263 27172 ERROR TheMo openerp.netsvc: ValidateError
Error occurred while validating the field(s) res_model,src_model:
Invalid model name in the action definition.

On 26/04/2012 19:33, Bruce Doan wrote:
> Sorry, I had change the branch name, please go to this new url to take
> the path http://bazaar.launchpad.net/~rgv151/openobject-jasper-
> reports/6.1/revision/179
>

Revision history for this message
Huy Doan (rgv151) wrote :

did you restart openerp server yet?

Huy Doan (rgv151)
Changed in openobject-jasper-reports:
assignee: nobody → Bruce Doan (rgv151)
Huy Doan (rgv151)
Changed in openobject-jasper-reports:
status: New → Fix Committed
Revision history for this message
Sam Boateng (samb) wrote :

Thanks
restarting did the trick
all working now

On 27/04/2012 09:52, Bruce Doan wrote:
> ** Changed in: openobject-jasper-reports
> Status: New => Fix Committed
>

Revision history for this message
Sam Boateng (samb) wrote :

Hi
I am getting the following error, when I try to create data template.
I chose Contribution Register with Depth 3. The error occurs when you click on Save As.

ERROR ? openerp.addons.web.common.http.HttpRequest.dispatch: An error
occurred while handling a json request
Traceback (most recent call last):
   File "C:\Program Files\OpenERP
6.1-1\server\openerp\addons\web\common\http.py", line 260, in dispatch
   File "C:\Program Files\OpenERP
6.1-1\server\openerp\addons\web\controllers\main.py", line 1401, in
saveas_ajax
ValueError: No content found for field 'data' on
'jasper.create.data.template:'
2012-04-29 03:14:45,947 3572 INFO ? werkzeug: 127.0.0.1 - - [29/Apr/2012
03:14:45] "POST /web/binary/saveas_ajax HTTP/1.1" 500 -

On 27/04/2012 05:20, Bruce Doan wrote:
> ** Changed in: openobject-jasper-reports
> Assignee: (unassigned) => Bruce Doan (rgv151)
>

Revision history for this message
Huy Doan (rgv151) wrote :

you have to click the 'Create' button first

Revision history for this message
Sam Boateng (samb) wrote :

Thanks for reply
its worked.
In that case would it not be better to display the XML "save as" field
after the create button?
possible as an action of the create field
regards

On Sun, 29 Apr 2012 20:24:50 -0000, Bruce Doan wrote:
> you have to click the 'Create' button first
>
> ** Attachment added: "screenshot"
>
>
> https://bugs.launchpad.net/openobject-jasper-reports/+bug/968094/+attachment/3117222/+files/Selection_009.png
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/968094
>
> Title:
> Cannot create data template
>
> Status in Jasper Reports for OpenERP:
> Fix Committed
>
> Bug description:
> I have installed jasper report 6.1 in both windows and linux. The
> installation was okay on both - no errors, however when I click on
> 'create data template' in the jasper report menu on both, nothing
> happens. No screen is displayed and no error message given.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/openobject-jasper-reports/+bug/968094/+subscriptions

Revision history for this message
Huy Doan (rgv151) wrote :

it's just a quick fix, I will improve it soon

On Tue, May 1, 2012 at 6:02 PM, Sam Boateng <email address hidden>wrote:

> Thanks for reply
> its worked.
> In that case would it not be better to display the XML "save as" field
> after the create button?
> possible as an action of the create field
> regards
>
> On Sun, 29 Apr 2012 20:24:50 -0000, Bruce Doan wrote:
> > you have to click the 'Create' button first
> >
> > ** Attachment added: "screenshot"
> >
> >
> >
> https://bugs.launchpad.net/openobject-jasper-reports/+bug/968094/+attachment/3117222/+files/Selection_009.png
> >
> > --
> > You received this bug notification because you are subscribed to the
> > bug
> > report.
> > https://bugs.launchpad.net/bugs/968094
> >
> > Title:
> > Cannot create data template
> >
> > Status in Jasper Reports for OpenERP:
> > Fix Committed
> >
> > Bug description:
> > I have installed jasper report 6.1 in both windows and linux. The
> > installation was okay on both - no errors, however when I click on
> > 'create data template' in the jasper report menu on both, nothing
> > happens. No screen is displayed and no error message given.
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/openobject-jasper-reports/+bug/968094/+subscriptions
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/968094
>
> Title:
> Cannot create data template
>
> Status in Jasper Reports for OpenERP:
> Fix Committed
>
> Bug description:
> I have installed jasper report 6.1 in both windows and linux. The
> installation was okay on both - no errors, however when I click on
> 'create data template' in the jasper report menu on both, nothing
> happens. No screen is displayed and no error message given.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/openobject-jasper-reports/+bug/968094/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.