[ https://issues.apache.org/jira/browse/OFBIZ-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554159 ] Jacques Le Roux commented on OFBIZ-362: --------------------------------------- Jacopo, I tried but got an error not related to these pending changes. You may reproduce it using the order WSCO10002 currently on HWM's server. Else simply create an order for DemoCustCompany and pay with billing account. When creating the order PDF you get this error (I suppose it the same than on my machine) 2007-12-22 23:22:21,968 (http-0.0.0.0-28443-Processor2) [ ScreenFactory.java:118:INFO ] Got 18 screens in 0.015s from: file:/D:/workspace/ofbizRun/framework/common/widget/CommonScreens.xml 2007-12-22 23:22:22,000 (http-0.0.0.0-28443-Processor2) [ ScreenFactory.java:118:INFO ] Got 4 screens in 0.016s from: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderPrintScreens.xml 2007-12-22 23:22:22,187 (http-0.0.0.0-28443-Processor2) [ FONode.java:340:WARN ] Warning(19/23): fo:table, table-layout="auto" is currently not supported by FOP 2007-12-22 23:22:22,187 (http-0.0.0.0-28443-Processor2) [ PropertyList.java:423:ERROR] Ignoring property: column-width="proportional-column-width(50)" (null:19:23: proportional-column-width() function m ay only be used when fo:table has table-layout="fixed".; property:'column-width') 2007-12-22 23:22:22,203 (http-0.0.0.0-28443-Processor2) [ PropertyList.java:423:ERROR] Ignoring property: column-width="proportional-column-width(50)" (null:19:23: proportional-column-width() function m ay only be used when fo:table has table-layout="fixed".; property:'column-width') 2007-12-22 23:22:22,203 (http-0.0.0.0-28443-Processor2) [ FONode.java:340:WARN ] Warning(50/11): fo:table, table-layout="auto" is currently not supported by FOP 2007-12-22 23:22:22,203 (http-0.0.0.0-28443-Processor2) [ FONode.java:340:WARN ] Warning(98/31): fo:table, table-layout="auto" is currently not supported by FOP 2007-12-22 23:22:22,203 (http-0.0.0.0-28443-Processor2) [ FONode.java:340:WARN ] Warning(111/35): fo:table, table-layout="auto" is currently not supported by FOP 2007-12-22 23:22:22,203 (http-0.0.0.0-28443-Processor2) [ FONode.java:340:WARN ] Warning(127/15): fo:table, table-layout="auto" is currently not supported by FOP 2007-12-22 23:22:22,234 (http-0.0.0.0-28443-Processor2) [ FObj.java:190:WARN ] Found non-unique id on fo:block (at 312/36) Any reference to it will be considered a reference to the first occurrence in the document. 2007-12-22 23:22:22,265 (http-0.0.0.0-28443-Processor2) [ScreenFopViewHandler.java:103:ERROR] Unable to transform FO file: java.lang.IndexOutOfBoundsException: Index: -1, Size: 0 2007-12-22 23:22:22,296 (http-0.0.0.0-28443-Processor2) [ ScreenFactory.java:118:INFO ] Got 11 screens in 0.031s from: file:/D:/workspace/ofbizRun/applications/accounting/widget/CommonScreens.xml 2007-12-22 23:22:22,328 (http-0.0.0.0-28443-Processor2) [ ModelScreenWidget.java:340:INFO ] In the include-screen tag the screen name was empty, ignoring include; in screen [GlobalDecorator] 2007-12-22 23:22:22,328 (http-0.0.0.0-28443-Processor2) [ ControlServlet.java:196:ERROR] ---- exception report ---------------------------------------------------------- Error in request handler: Exception: org.apache.fop.apps.FOPException Message: Index: -1, Size: 0 ---- stack trace --------------------------------------------------------------- java.lang.IndexOutOfBoundsException: Index: -1, Size: 0 org.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:151) org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:85) org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:651) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:435) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193) javax.servlet.http.HttpServlet.service(HttpServlet.java:595) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) java.lang.Thread.run(Thread.java:595) --------- Too late to go further tonight... > Adding Tax ID in invoice header > ------------------------------- > > Key: OFBIZ-362 > URL: https://issues.apache.org/jira/browse/OFBIZ-362 > Project: OFBiz > Issue Type: Improvement > Components: accounting > Reporter: Eriks Dobelis > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: headerTaxID.diff, invoicetaxid.diff, viewinvoice.ftl.diff > > > In certain countries if the invoice contains VAT you have to display VAT tax ID on the invoice. My patch checks whether the company has registered with tax authority in the country of the billing address, and if yes then includes Tax ID in the invoice header. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |