[IMP] when create company from the supplier it should be set supplier.
bzr revid: nco@tinyerp.com-20130419084218-e3pflb3jqq6kihfa
This commit is contained in:
committed by
Nimesh Contractor (OpenERP)
parent
ecd9f70e43
commit
d45ee609b4
@@ -138,7 +138,7 @@
|
||||
</h1>
|
||||
<field name="parent_id"
|
||||
placeholder="Company"
|
||||
domain="[('is_company', '=', True)]" context="{'default_is_company': True}"
|
||||
domain="[('is_company', '=', True)]" context="{'default_is_company': True,'default_supplier': supplier,'default_customer': customer}"
|
||||
attrs="{'invisible': [('is_company','=', True)]}"
|
||||
on_change="onchange_address(use_parent_address, parent_id)"/>
|
||||
<field name="category_id" widget="many2many_tags" placeholder="Tags..."/>
|
||||
|
||||
Reference in New Issue
Block a user