|
could anyone please point me to a reference that describes how to customize an OFBiz screen.
For example: 1- Suppose I need to simplify the AR invoice screen by removing the information related to Roles. 2- I need to remove the field Taxable Flag from the items list in the invoice. Is there a quick way to it without having to rebuild the full UI? Thank you, WD |
|
On Wed, Mar 9, 2011 at 12:01 PM, wdOnOFBiz <[hidden email]> wrote:
> could anyone please point me to a reference that describes how to customize > an OFBiz screen. > > For example: > > 1- Suppose I need to simplify the AR invoice screen by removing the > information related to Roles. > You can remove it by modifying the following file /ofbiz/applications/accounting/widget/ar/ArMenus.xml. Comment out roles menu item. > 2- I need to remove the field Taxable Flag from the items list in the > invoice. > Hide it by entering <field name="taxableFlag"><hidden/></field> to "invoiceItems" form in /ofbiz/applications/accounting/widget/InvoiceForms.xml > > Is there a quick way to it without having to rebuild the full UI? > You don't need to rebuild, you don't need even to restart Ofbiz. Simply modify the screens and refresh the page to see the changes > > Thank you, > WD > > HTH Bilgin Ibryam > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Simplifying-OFBiz-screens-tp3343428p3343428.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
|
Thank you for the much appreciated response.
I tried to use the hidden tag and was able to hide specific fields on the form. Could you tell me how I could hide a complete form? (Say Payments in Invoices) Thanks, WD |
|
On Wed, Mar 9, 2011 at 8:40 AM, wdOnOFBiz <[hidden email]> wrote:
> Thank you for the much appreciated response. > > I tried to use the hidden tag and was able to hide specific fields on the > form. > > Could you tell me how I could hide a complete form? (Say Payments in > Invoices) If you want to hide an entire form, you can usually do this by locating the *Screens.xml from which it is referenced, and removing a section (or 'decorator-section') from there. When you do this, it's fairly common that you want to keep functionality available to one set of users and hide it from others. One common way to do that is to use conditional widgets in a section, example "applications/humanres/widget/RecruitmentScreens.xml#FindJobRequisitions" -- James McGill Phoenix AZ |
|
IMO you should not directly go and edit the files you want to modify
This link will help you understand the right way of doing things https://cwiki.apache.org/OFBIZ/addressing-custom-requirements-in-ofbiz.html Thanks& Regards Atul Vani Enterprise Software Developer HotWax Media Pvt. Ltd. http://www.hotwaxmedia.com/ We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself. On Wednesday 09 March 2011 10:18 PM, James McGill wrote: > On Wed, Mar 9, 2011 at 8:40 AM, wdOnOFBiz<[hidden email]> wrote: > >> Thank you for the much appreciated response. >> >> I tried to use the hidden tag and was able to hide specific fields on the >> form. >> >> Could you tell me how I could hide a complete form? (Say Payments in >> Invoices) >> > If you want to hide an entire form, you can usually do this by > locating the *Screens.xml from which it is referenced, and removing a > section (or 'decorator-section') from there. > > When you do this, it's fairly common that you want to keep > functionality available to one set of users and hide it from others. > One common way to do that is to use conditional widgets > in a section, example > "applications/humanres/widget/RecruitmentScreens.xml#FindJobRequisitions" > > |
| Free forum by Nabble | Edit this page |
