Skip to content

Instantly share code, notes, and snippets.

@lukebranch
Created April 25, 2017 10:01
Show Gist options
  • Save lukebranch/2fe0ad6d8df228afd8be35e50c9e280b to your computer and use it in GitHub Desktop.
Save lukebranch/2fe0ad6d8df228afd8be35e50c9e280b to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 648, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 685, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 321, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 314, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 964, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 514, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/enterprise/addons/web/controllers/main.py", line 916, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/enterprise/addons/web/controllers/main.py", line 904, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 459, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 534, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 386, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 340, in load_modules
loaded_modules, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 239, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 156, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 98, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 849, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 932, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 799, in parse
self.parse(rec, mode)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 802, in parse
self._tags[rec.tag](self.cr, rec, de, mode=mode)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 705, 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/odoo/odoo-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 1161, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 354, in old_api
result = method(recs, *args, **kwargs)
File "/opt/odoo/custom/gammon-addons/gammon_module/base/models/partner.py", line 226, in create
raise UserError('Please input supplier payment term!')
ParseError: "Please input supplier payment term!
None" while parsing /opt/odoo/odoo-server/addons/delivery/data/delivery_data.xml:5, near
<record id="res_partner_delivery" model="res.partner">
<field name="name">Transporter (Delivery provider)</field>
<field name="is_company" eval="True"/>
<field name="supplier" eval="True"/>
<field name="customer" eval="False"/>
</record>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment