AttributeError: Couldn't find tag '<field name="to_invoice">

AttributeError: Couldn't find tag '<field name="to_invoice">

Postby sraps » Thu Oct 08, 2009 10:25 am

Hi Kaspars,

When I click on New button on the Agreements, it give me following error:
Environment Information :
System : Windows-2003Server-5.2.3790-SP1
OS Name : nt
Operating System Release : 2003Server
Operating System Version : 5.2.3790
Operating System Architecture : 32bit
Operating System Locale : en_US.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.6
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "netsvc.pyo", line 244, in dispatch
File "netsvc.pyo", line 73, in __call__
File "service\web_services.pyo", line 583, in execute
File "osv\osv.pyo", line 59, in wrapper
File "osv\osv.pyo", line 118, in execute
File "osv\osv.pyo", line 110, in execute_cr
File "osv\orm.pyo", line 1246, in fields_view_get
File "osv\orm.pyo", line 1242, in _inherit_apply_rec
File "osv\orm.pyo", line 1202, in _inherit_apply
AttributeError: Couldn't find tag '<field name="to_invoice">' in parent view !

Your help will be truly appreciated.
Thanks
Khalid
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm

Re: AttributeError: Couldn't find tag '<field name="to_invoice">

Postby sraps » Thu Oct 08, 2009 10:27 am

Hi,
please try to upgrade HR modules. This is the case when OpenERP update modules in a wrong sequence.

Kaspars
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm

Re: AttributeError: Couldn't find tag '<field name="to_invoice">

Postby Dhariwal » Thu Oct 08, 2009 10:53 am

Hi Kaspars,

Thanks for the solution. Now I can open the Agreement form, however, when I try to click on 'Process" button i get the following message:
Environment Information :
System : Windows-2003Server-5.2.3790-SP1
OS Name : nt
Operating System Release : 2003Server
Operating System Version : 5.2.3790
Operating System Architecture : 32bit
Operating System Locale : en_US.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.6
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "netsvc.pyo", line 244, in dispatch
File "netsvc.pyo", line 73, in __call__
File "service\web_services.pyo", line 583, in execute
File "osv\osv.pyo", line 59, in wrapper
File "osv\osv.pyo", line 118, in execute
File "osv\osv.pyo", line 110, in execute_cr
File "C:\Program Files\OpenERP Server\addons\account_invoicing.zip\account_invoicing\invoicing.py", line 1880, in set_process
File "C:\Program Files\OpenERP Server\addons\base\ir\ir_cron.py", line 128, in create
File "C:\Program Files\OpenERP Server\addons\base\ir\ir_cron.py", line 97, in _poolJobs
File "C:\Program Files\OpenERP Server\addons\base\ir\ir_cron.py", line 73, in _callback
File "C:\Program Files\OpenERP Server\addons\account_invoicing.zip\account_invoicing\invoicing.py", line 1587, in _prolong
File "osv\orm.pyo", line 2084, in read
File "osv\orm.pyo", line 2138, in _read_flat
File "sql_db.pyo", line 76, in wrapper
File "sql_db.pyo", line 120, in execute
ProgrammingError: operator does not exist: integer = boolean
LINE 1: SELECT "numbercall",id FROM "ir_cron" WHERE id IN (false) OR...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.


Thanks
Khalid Masood
Dhariwal
 
Posts: 17
Joined: Thu Oct 08, 2009 10:52 am

Re: AttributeError: Couldn't find tag '<field name="to_invoice">

Postby Dhariwal » Thu Oct 08, 2009 11:00 am

Just to add to the previous post.
I checked on the database on which the invoicing was working perfectly. It is now giving the same problem also.
Dhariwal
 
Posts: 17
Joined: Thu Oct 08, 2009 10:52 am

Re: AttributeError: Couldn't find tag '<field name="to_invoice">

Postby sraps » Thu Oct 08, 2009 12:00 pm

This is known problem for OpenERP 5.0.6 version. Tiny are applying many updates an changes that break compatibility with numerous modules.

We have "bugfix" release, which I will publish later today.

We are updating our systems too.

Kaspars
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm

Re: AttributeError: Couldn't find tag '<field name="to_invoice">

Postby Dhariwal » Thu Oct 08, 2009 1:43 pm

Hi Kaspars,

Thanks, we are anxiously waiting for the bug fix today. I did bit more search and i found following in the user requests:
Traceback (most recent call last):
File "C:\Program Files\OpenERP Server\addons\account_invoicing_check.zip\account_invoicing_check\invoicing_check.py", line 177, in _run_filters
AttributeError: 'bool' object has no attribute 'id'

Thanks
Khalid
Dhariwal
 
Posts: 17
Joined: Thu Oct 08, 2009 10:52 am

Re: AttributeError: Couldn't find tag '<field name="to_invoice">

Postby sraps » Thu Oct 08, 2009 2:36 pm

Compatibility release is ready for download.

Note: this release is absolutely required in order to properly function with OpenERP 5.0.6.

Kaspars
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm

Re: AttributeError: Couldn't find tag '<field name="to_invoice">

Postby Dhariwal » Thu Oct 08, 2009 2:57 pm

Thanks Kaspars for your prompt action.

Do I need to un-install the previous version and than install again or should i simply click on upgrade button and it should do the trick.

Regards,
Khalid
Dhariwal
 
Posts: 17
Joined: Thu Oct 08, 2009 10:52 am

Re: AttributeError: Couldn't find tag '<field name="to_invoice">

Postby sraps » Fri Oct 09, 2009 1:29 pm

Dhariwal wrote:Thanks Kaspars for your prompt action.

Do I need to un-install the previous version and than install again or should i simply click on upgrade button and it should do the trick.

Regards,
Khalid


No, you can upgrade to new version directly, we try to make our modules for the real life situations. We perform routine installation tests as a part of release process, on new modules and upon implementing major changes.

Kaspars
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm

Re: AttributeError: Couldn't find tag '<field name="to_invoice">

Postby Dhariwal » Fri Oct 09, 2009 2:59 pm

Hi Kaspars,

I have installed the latest release.
Now when I create the methodology, as soon as i click on create button the state becomes 'close'. While it is in closed state, i cannot add calculation etc.

It was not the same behavior in previous version.

Need help urgently.

Thanks
Khalid
Dhariwal
 
Posts: 17
Joined: Thu Oct 08, 2009 10:52 am

Next

Return to Invoicing

cron
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED