I can't get the shortcut tag to work. Design Elements http://doc.openerp.com/v6.0/developer/2_6_views_events/views/design_element.html (here) describes a "new" shortcut tag
New : You can now add shortcut using the shortcut tag.
Example: <shortcut name="Draft Purchase Order (Proposals)" model="purchase.order" logins="demo" menu="m"/>
I have been unable to get anything other than error messages, like the following messages
- AssertionError: Did not expect element shortcut there, line 7
- except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
- OpenERP Warning ValidateError Error occurred while validating the field(s) arch: Invalid XML for View Architecture!
Please point me at, or give me an example of a shortcut in use.
Invalid XML for View Architecture!
Yes, OpenERP Does not gives exact where is the problems but....
As below erros: OpenERP Warning ValidateError Error occurred while validating the field(s) arch: Invalid XML for View Architecture!
Its mean you have done somethings wrong then rules define for view.
All view rules are define at file: server/openerp/addons/base/rng/view.rng
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
|Asked: 2/14/13, 5:16 PM|
|Seen: 1783 times|
|Last updated: 3/16/15, 8:10 AM|