<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/08/2016 04:40 AM, Alexandr Usov
wrote:<br>
</div>
<blockquote
cite="mid:CAEaKXwD5v4Eei0GoN2HXbayH31NvtVQDeEc8bEh6LzKi2MMqYQ@mail.gmail.com"
type="cite">
<div dir="ltr">Can't install base_phone module:<br>
<br>
<pre style="overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;display:block;padding:10px 0px 3px;margin:0px 0px 10px;line-height:18.5714px;color:rgb(51,51,51);word-wrap:break-word;border:medium none;border-radius:4px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(255,255,255)">Odoo Server Error</pre>
<hr
style="height:0px;margin-top:20px;margin-bottom:20px;border-width:1px;border-style:inset;border-top:1px
inset
rgb(238,238,238);display:block;color:rgb(76,76,76);font-family:"Lucida
Grande",Helvetica,Verdana,Arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.5714px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<pre style="overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;display:block;padding:10px 0px 3px;margin:0px 0px 10px;line-height:18.5714px;color:rgb(51,51,51);word-wrap:break-word;border:medium none;border-radius:4px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(255,255,255)">Traceback (most recent call last):
File "/opt/openerp/v8/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/openerp/v8/openerp/http.py", line 574, in dispatch
result = self._call_function(**self.params)
File "/opt/openerp/v8/openerp/http.py", line 310, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/openerp/v8/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/openerp/v8/openerp/http.py", line 307, in checked_call
return self.endpoint(*a, **kw)
File "/opt/openerp/v8/openerp/http.py", line 803, in __call__
return self.method(*args, **kw)
File "/opt/openerp/v8/openerp/http.py", line 403, in response_wrap
response = f(*args, **kw)
File "/opt/openerp/v8/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/openerp/v8/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(<a moz-do-not-send="true" href="http://request.cr">request.cr</a>, request.uid, *args, **kwargs)
File "/opt/openerp/v8/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/openerp/v8/openerp/addons/base/module/module.py", line 446, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/openerp/v8/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/openerp/v8/openerp/addons/base/module/module.py", line 494, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/openerp/v8/openerp/modules/registry.py", line 370, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/openerp/v8/openerp/modules/loading.py", line 355, in load_modules
loaded_modules, update_module)
File "/opt/openerp/v8/openerp/modules/loading.py", line 255, 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/v8/openerp/modules/loading.py", line 176, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/openerp/v8/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/openerp/v8/openerp/tools/convert.py", line 901, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/openerp/v8/openerp/tools/convert.py", line 987, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/opt/openerp/v8/openerp/tools/convert.py", line 853, in parse
self._tags[rec.tag](<a moz-do-not-send="true" href="http://self.cr">self.cr</a>, rec, n, mode=mode)
File "/opt/openerp/v8/openerp/tools/convert.py", line 763, 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/v8/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/openerp/v8/openerp/addons/base/ir/ir_model.py", line 1077, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/opt/openerp/v8/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/openerp/v8/openerp/addons/base/ir/ir_ui_view.py", line 264, in create
context=context)
File "/opt/openerp/v8/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/openerp/v8/openerp/api.py", line 336, in old_api
result = method(recs, *args, **kwargs)
File "/opt/openerp/v8/openerp/models.py", line 4076, in create
record = self.browse(self._create(old_vals))
File "/opt/openerp/v8/openerp/api.py", line 239, in wrapper
return new_api(self, *args, **kwargs)
File "/opt/openerp/v8/openerp/api.py", line 463, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/opt/openerp/v8/openerp/models.py", line 4267, in _create
recs._validate_fields(vals)
File "/opt/openerp/v8/openerp/api.py", line 239, in wrapper
return new_api(self, *args, **kwargs)
File "/opt/openerp/v8/openerp/models.py", line 1271, in _validate_fields
raise ValidationError('\n'.join(errors))
ParseError: "ValidateError
Field(s) `arch` failed against a constraint: Invalid view definition
Error details:
Field `state` does not exist
Error context:
View `reformat_all_phonenumbers.form`
[view_id: 1499, xml_id: n/a, model: reformat.all.phonenumbers, parent_id: n/a]" while parsing /opt/openerp/v8/addons-community/base_phone/wizard/reformat_all_phonenumbers_view.xml:11, near
<record id="reformat_all_phonenumbers_form" model="ir.ui.view">
<field name="name">reformat_all_phonenumbers.form</field>
<field name="model">reformat.all.phonenumbers</field>
<field name="arch" type="xml">
<form string="Reformat all phone numbers">
<group name="main">
<label string="This wizard reformats the phone, mobile and fax numbers of all partners in standard international format e.g. +33141981242" colspan="2" states="draft"/>
<label colspan="2" string="Phone numbers that couldn't be reformatted:" states="done"/>
<field name="phonenumbers_not_reformatted" colspan="2" nolabel="1" states="done"/>
<field name="state" invisible="1"/>
</group>
<footer>
<button name="run_reformat_all_phonenumbers" string="Reformat all phone numbers" type="object" class="oe_highlight" states="draft"/>
<button name="action_next" type="object" string="Close" class="oe_highlight" states="done"/>
<button special="cancel" string="Cancel" class="oe_link" states="draft"/>
</footer>
</form>
</field>
</record>
</pre>
<br>
</div>
<div class="gmail_extra"></div>
<br>
</blockquote>
<p>Ok. base_phone is upstream. I will look into it. Possibly, I am
not on the current version.<br>
</p>
<p>Thank you for the feedback.</p>
<p>TRever<br>
</p>
</body>
</html>