mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 18:38:41 -06:00
[FIX] ValueError: Wrong value for ir.actions.act_window.target: 'inlineview'
This commit is contained in:
parent
1639078911
commit
21e0685db2
@ -1,10 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<odoo>
|
<odoo noupdate="1">
|
||||||
<data noupdate="1">
|
|
||||||
<record id="base.user_demo" model="res.users">
|
<record id="base.user_demo" model="res.users">
|
||||||
<field eval="[(4, ref('base.group_document_user'))]"
|
<field eval="[(4, ref('base.group_document_user'))]"
|
||||||
name="groups_id"/>
|
name="groups_id"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="demo_category1" model="document.page">
|
<record id="demo_category1" model="document.page">
|
||||||
<field name="name">OpenERP Features</field>
|
<field name="name">OpenERP Features</field>
|
||||||
<field name="type">category</field>
|
<field name="type">category</field>
|
||||||
@ -127,5 +128,4 @@ Think of it as an out-of-the-box solution to boost your business' productivity.<
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -52,7 +52,7 @@ class DocumentPageCreateMenu(models.TransientModel):
|
|||||||
'res_model': 'document.page',
|
'res_model': 'document.page',
|
||||||
'view_id': view_id,
|
'view_id': view_id,
|
||||||
'type': 'ir.actions.act_window',
|
'type': 'ir.actions.act_window',
|
||||||
'target': 'inlineview',
|
'target': 'inline',
|
||||||
}
|
}
|
||||||
value['domain'] = "[('parent_id','=',%d)]" % (page.id)
|
value['domain'] = "[('parent_id','=',%d)]" % (page.id)
|
||||||
value['res_id'] = page.id
|
value['res_id'] = page.id
|
||||||
|
Loading…
Reference in New Issue
Block a user