There are a lot of Spanish functions and variables across the application. For example: depurar, accion, valor, campo, bolDepurar, bolComprobar, bolComprobarCambios, strValorNumerico, bolDecimales, bolNegativo...
These items are located in the .js inside the web/js folder, and in the html which invoke them.
Aim of the project
- Navigate for all inputs of a generated window (Business partner) and a manual window (Report sales order invoice), in two directions forward and reverse.
- Test Ctrl-N, Ctrl-S, Ctrl-G, F10 and F9 in sales order.
- Select a new business partner in sales order. Check that many fields has to change:
Invoice Address, User/Contact, Partner Address, Price List, Delivery Location, Invoice Terms, Currency,Delivery Terms, Warehouse, Sales Representative, Print Discount, Form of Payment and Payment Terms
- Select a project in sales order, this fields must be updated:
Form of Payment and Payments terms.
- Business Partner - potential Customer
- Change some elements the menu position (Tree menu window)
- Check links of the menu tree window
- Test calendar in GL Journal Batch:
- Introduce a date with the calendar.
- Delete and introduce a new date with the keyboard. Try to introduce alphabetic characters and add more digits than the size of a date.
- Open again the calendar and check that the value of the field is loaded in the calendar.
- Test calculator in product:
- In Volume field introduce a value with the calculator.
- Open again the calculator and check that the value of the field is load in the calculator.
- Test grid in "Windows, tab and fields" with System Administrator role:
- Double click in a record.
- Go to a child tab (for example tab).
- Scroll with mouse wheel.
- Scroll with the scrollbar of the window.
- Order by the second column asc and desc.
- Go to Sales order and select 3 records and press "Del" button.
Not allow to delete records without permission.
- With OpenbravoAdmin try to delete user Openbravo in grid view.
- Install Spanish translation, and select it on user options.
- Remove the Spanish translation for message JS1, in the application dictionary/messages.
- In any window that has required fields (Sale order for example), create a new record.
- Leave a required field empty (for example: Sales order) and save.
Copy a window (java, xml and html) form 2.5x to the branch and test if "depurar" and other wrapped functions works.
- Copy GL journal html code form the branch r2.5x into the same file of javascripremovespanish.
- Do the same with xml and java files.
- Compile and test the Copy from GL journal works:
- Select some line and press ok.
- In firebug should not appear any error of missing functions.
- Check the lines are created.
- Generated window Edition: GL Journal:
- Create a new GL Journal Batch.
- Try to save without introduce a description.
- Introduce the description and save.
- Generated window Grid: Tax Payment:
- Press Grid view or Ctrl-G. Is supposed that there isn't any record.
- Try to go to the child tab: Tax Register header. Depurar function will block this action because there is no record selected.
- Create one Tax payment.
- Return to grid view and try again to go to child tab: tax register header. Now should work.
- Manual window Edition: Production Report:
- Press the "PDF format" button without fill any fields.
- Fill the first field (from date) press button.
- Fill the second field (to date) press button.