I tied to install a module which I developed including the warranty details of a customer.It was working fine until I added a grid structure under the form,so that the respective dates for the preventive maintenance can be scheduled.When I altered the code for this purpose the below error appears when I try to install the module.

I couldn't trace out the error in .xml file(perhaps in .py file also).Both the files are attached .Can anyone please help me in sorting out the error and complete my requirement of placing a grid under the form view.

Look closely in your log before the line (some lines before) "Validate Error Error occurred while validating the field(s) arch: Invalid XML for View Architecture!.", you will find more info about the error (and then post your log).

look also at the end of your .py file: _columns is ordr_id or order_id

There is nothing in the error log other than the line " Validate Error Error occurred while validating the field(s) arch: Invalid XML for View Architecture! ".The error is shown inside a box which appears when I click Install.It some error in the .py and .xml files.As I am not that well aware of python coding,if somebody suggest me the changes to be made in the code files please,it would be a great favour.

Look in your openerp-server.log file. Under Linux you can find it at /var/log/openerp/openerp-server.log. under Windows it's at ..Drive letter:\Program Fi...)\openerp ....\server\server\openerp-server.log

I tried for a long to debugg the issue but in vain.So I removed the complete module and is reworking on the code now.My requirement is I want to add a grid structire under the form with two columns date and status.What are the code changes that are to be made in my present .py and .xml files?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just
use the commenting tool. Please remember that you can always revise your answers
- no need to answer the same question twice. Also, please don't forget to vote
- it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines