On Tue, Nov 9, 2010 at 1:47 PM, James Lawton <
[hidden email]>wrote:
> I am trying to change the Ofbiz logo which appears on the order and
> shipping
> documents printouts
>
The OrderHeader has an associated partyId. The partyId identifies a
PartyGroup. The PartyGroup has an attribute "logoImageUrl".
The default URL for that is set in the Screen Decorators somehow, I can't
remember, but you never see the default in the demo because the demo company
gets a logo setup in its seed data, which you will find by grepping the
Accounting app:
<PartyGroup partyId="Company" groupName="Your Company Name Here"
logoImageUrl="
http://ofbiz.apache.org/images/ofbiz_logo.gif"/>
You may want to substantially change the Order document. Once you are
comfortable with the "fo" grammar, it's pretty easy to do.
Have a look at ./order/webapp/ordermgr/order/companyHeader.fo.ftl and the
associated
./order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy to see
how this part of the page is being evaluated and rendered.
--
James McGill
Phoenix AZ