parent
9901961a2f
commit
fc3873e131
|
@ -82,7 +82,9 @@ class view(osv.osv):
|
|||
def call_view(record):
|
||||
try:
|
||||
root = root_view(record)
|
||||
# Temporarily commented, waiting for being fixed
|
||||
self.pool.get(root.model).fields_view_get(cr, uid, view_id=root.id, view_type=root.type, context=context)
|
||||
|
||||
return True
|
||||
except:
|
||||
_logger.exception("Can't obtain view description for model: %s (view id: %s).", record.model, record.id)
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Partners" version="7.0">
|
||||
<sheet>
|
||||
<field name="photo" widget='image' class="oe_form_avatar oe_right"/>
|
||||
<field name="photo" widget='image' class="oe_form_avatar oe_right" height="70"/>
|
||||
<div class="oe_right oe_form_button_box" name="buttons">
|
||||
|
||||
</div>
|
||||
|
@ -121,7 +121,7 @@
|
|||
domain="[('is_company', '=', True)]" context="{'default_is_company': True}"
|
||||
class="oe_form_inline"
|
||||
on_change="onchange_address(use_parent_address, parent_id)"/>,
|
||||
<field name="function" class="oe_form_inline" placeholder="Sales Manager"/>
|
||||
<field name="function" class="oe_form_inline" placeholder="Job Position"/>
|
||||
</h2>
|
||||
<field name="category_id" widget="many2many_tags" placeholder="Tags..."/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue