[MERGE] forward port of branch saas-3 up to 4b1496f
This commit is contained in:
commit
09ceb9cb8a
|
@ -74,7 +74,7 @@
|
||||||
<group col="4">
|
<group col="4">
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
<field name="code"/>
|
<field name="code"/>
|
||||||
<field name="plan_id"/>
|
<field name="plan_id" required="1"/>
|
||||||
<field name="journal_id"/>
|
<field name="journal_id"/>
|
||||||
</group>
|
</group>
|
||||||
<field name="account_ids">
|
<field name="account_ids">
|
||||||
|
|
|
@ -159,7 +159,6 @@
|
||||||
<field name="priority" widget="priority"/>
|
<field name="priority" widget="priority"/>
|
||||||
<field name="categ_ids"
|
<field name="categ_ids"
|
||||||
widget="many2many_tags"
|
widget="many2many_tags"
|
||||||
domain="[('object_id.model','=','crm.lead')]"
|
|
||||||
context="{'object_name': 'crm.lead'}"
|
context="{'object_name': 'crm.lead'}"
|
||||||
/>
|
/>
|
||||||
</group>
|
</group>
|
||||||
|
@ -434,9 +433,7 @@
|
||||||
<group>
|
<group>
|
||||||
<field name="categ_ids"
|
<field name="categ_ids"
|
||||||
widget="many2many_tags"
|
widget="many2many_tags"
|
||||||
context="{'object_name': 'crm.lead'}"
|
context="{'object_name': 'crm.lead'}"/>
|
||||||
domain="[('object_id.model', '=', 'crm.lead')]"/>
|
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ class make_invoice(osv.osv_memory):
|
||||||
form_res = mod_obj.get_object_reference(cr, uid, 'account', 'invoice_form')
|
form_res = mod_obj.get_object_reference(cr, uid, 'account', 'invoice_form')
|
||||||
form_id = form_res and form_res[1] or False
|
form_id = form_res and form_res[1] or False
|
||||||
tree_res = mod_obj.get_object_reference(cr, uid, 'account', 'invoice_tree')
|
tree_res = mod_obj.get_object_reference(cr, uid, 'account', 'invoice_tree')
|
||||||
tree_id = tree_res and tree_res[1] or Fals
|
tree_id = tree_res and tree_res[1] or False
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'domain': [('id','in', newinv.values())],
|
'domain': [('id','in', newinv.values())],
|
||||||
|
|
Loading…
Reference in New Issue