openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12496
Re: [Bug 1012184] Webkit Report doesn't support company-specific headers/footers
Hello,
On the report header is a property fields.:
'webkit_header': fields.property(
'ir.header_webkit',
type='many2one',
relation='ir.header_webkit',
string='Webkit Header',
help="The header linked to the report",
view_load=True,
required=True
),
You have to set it for each company. Different value will be store for each company.
You have to login in each company and set the value.
I fi it does not work the bug is related to property filed.
Regards
Nicolas
Le 13 juin 2012 à 17:52, Janis Elmeris a écrit :
>> You have to add webkit_header attribute in your report xml tag (from
> 6.1).
>
> Please, read my report more carefully!
>
> The problem is not in being unable to specify a header for a webkit report.
> The problem is to make the header dependant on the company of the invoice.
>
> I can add headers for each company, but it doesn't have any effect on
> which header will actually be used in the invoice report (which is the
> header specified for the particular report action).
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Project Group.
> https://bugs.launchpad.net/bugs/1012184
>
> Title:
> Webkit Report doesn't support company-specific headers/footers
>
> Status in OpenERP WebKit Report:
> New
> Status in OpenERP Addons (modules):
> Invalid
>
> Bug description:
> I have prepared a special webkit header/footer for a specific company.
> Now I attach it to a company in "Settings -> Companies -> Companies -> [open a company] -> Webkit -> Headers".
> When I print an invoice, still the global header/footer is used - that which is set in "Settings -> Customisation -> Low Level Objects -> Actions -> Reports -> [open a report] -> Webkit -> Webkit Header".
>
> I'm using OpenERP 6.1 with Webkit Report 6.1.0.9.
>
> In addition, the user interface for attaching headers/footers to
> companies is confusing. Currently it allows to add several
> headers/footers to each company, so it's not clear which one of the
> selected will actually be used (once this bug is fixed). So, maybe
> something needs to be changed in this regard as well.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openerpwebkitreport/+bug/1012184/+subscriptions
--------------------------------------------------------------------
Nicolas Bessi
Senior ERP consultant
Business Solution technical manager
Camptocamp SA
PSE A
CH-1015 Lausanne
http://openerp.camptocamp.com
Phone: +41 21 619 10 26
Office: +41 21 619 10 10
Fax : +41 21 619 10 00
--------------------------------------------------------------------
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1012184
Title:
Webkit Report doesn't support company-specific headers/footers
Status in OpenERP WebKit Report:
New
Status in OpenERP Addons (modules):
Invalid
Bug description:
I have prepared a special webkit header/footer for a specific company.
Now I attach it to a company in "Settings -> Companies -> Companies -> [open a company] -> Webkit -> Headers".
When I print an invoice, still the global header/footer is used - that which is set in "Settings -> Customisation -> Low Level Objects -> Actions -> Reports -> [open a report] -> Webkit -> Webkit Header".
I'm using OpenERP 6.1 with Webkit Report 6.1.0.9.
In addition, the user interface for attaching headers/footers to
companies is confusing. Currently it allows to add several
headers/footers to each company, so it's not clear which one of the
selected will actually be used (once this bug is fixed). So, maybe
something needs to be changed in this regard as well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerpwebkitreport/+bug/1012184/+subscriptions
References