I was trying to install this module on SAAS3 but the following errors appears, can anyone help me on this?
OpenERP Server Error
Traceback (most recent call last):
File "/opt/openerp-saas3/oerp-saas3/server/openerp/http.py", line 345, in dispatch
response["result"] = self._call_function(**self.params)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/http.py", line 217, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/http.py", line 212, in checked_call
return self.func(*a, **kw)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/http.py", line 529, in __call__
return self.method(*args, **kw)
File "/opt/openerp-saas3/oerp-saas3/web/addons/web/controllers/main.py", line 1207, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/openerp-saas3/oerp-saas3/web/addons/web/controllers/main.py", line 1195, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/addons/base/module/module.py", line 425, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/addons/base/module/module.py", line 476, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/modules/registry.py", line 247, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/modules/loading.py", line 341, in load_modules
loaded_modules, update_module)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/modules/loading.py", line 244, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/modules/loading.py", line 175, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/openerp-saas3/oerp-saas3/server/openerp/modules/loading.py", line 116, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/tools/convert.py", line 967, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/tools/convert.py", line 1053, in convert_xml_import
obj.parse(doc.getroot())
File "/opt/openerp-saas3/oerp-saas3/server/openerp/tools/convert.py", line 921, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/tools/convert.py", line 850, in _tag_record
id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/opt/openerp-saas3/oerp-saas3/server/openerp/addons/base/ir/ir_model.py", line 1010, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/addons/base/ir/ir_ui_view.py", line 177, in create
return super(view, self).create(cr, uid, values, context)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/osv/orm.py", line 4156, in create
self._validate(cr, user, [id_new], context)
File "/opt/openerp-saas3/oerp-saas3/server/openerp/osv/orm.py", line 1575, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
ParseError: "ValidateError
The field(s) `arch` failed against a constraint: Invalid view definition
Error details:
Element '<field name="name">' cannot be located in parent view
Error context:
View `view.tg.partner.tree`
[view_id: 869, xml_id: n/a, model: res.partner, parent_id: 121]" while parsing /opt/openerp-saas3/oerp-saas3/myaddons/tg_partner_firstname/tg_partner_view.xml:30, near
<record model="ir.ui.view" id="view_tg_partner_tree">
<field name="model">res.partner</field>
<field name="name">view.tg.partner.tree</field>
<field name="view_type">tree</field>
<field name="inherit_id" ref="base.view_partner_tree"/>
<field name="arch" type="xml">
<data><field name="name" position="after">
<field name="firstname"/>
<field name="zip"/>
</field>
<field name="phone" position="after">
<field name="mobile"/>
</field>
<field name="email" position="after">
<field name="country"/>
</field>
</data></field>
</record>
Awesome. Is it overriding point_of_sale?
Yes absolutly.
@Thierry Godin : How can i download this module
Cool :) you rocks :)
Thanks all. Please be patient. I just finished the article, I proposed it for proofreading. It could be online in a couple of days.
thanks to the english documentation. I have a short look at the the code and some hints. But starting working together i recomment a public repository, to able that someone can send you code. And have a small issue list to discuss details of the implementation. So that your work can shine and develop go an.
The price button is not function any more. Which code prohibit it? I have the requirement to change the prices freely cause some items price is negotiable. Thanks!
@Franck :
Please see here : http://thierry-godin.developpez.com/openerp/openerp-module-pos-enhanced-en/#LVII-F
You can recover buttons, but be aware that you have to redesign numpad in xml. Also, it is possible you encounter strange behavior while changing Custom Pack price (I have not worked on this because it was a will of my company)
Regards
@Franck :
Please see here : http://thierry-godin.developpez.com/openerp/openerp-module-pos-enhanced-en/#LVII-F
You can recover buttons, but be aware that you have to redesign numpad in xml. Also, it is possible you encounter strange behavior while changing Custom Pack price (I have not worked on this because it was a will of my company)
Regards
Nice! I really like the customer purchase history.
Thank you very much for releasing this to the public Thierry! It is an amazing piece of work. I personally need some other extra functionality (being able to add products from inside the POS) and I was wondering if you could give me any guidance or help.. You can see my question here: https://www.odoo.com/forum/help-1/question/how-to-allow-a-user-to-add-new-products-from-inside-the-pos-68172 I already have the view and button etc.. I only need to know how I could let the user make a new product from there on.