mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 10:28:40 -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"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="base.user_demo" model="res.users">
|
||||
<field eval="[(4, ref('base.group_document_user'))]"
|
||||
name="groups_id"/>
|
||||
</record>
|
||||
|
||||
<record id="demo_category1" model="document.page">
|
||||
<field name="name">OpenERP Features</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>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
|
@ -52,7 +52,7 @@ class DocumentPageCreateMenu(models.TransientModel):
|
||||
'res_model': 'document.page',
|
||||
'view_id': view_id,
|
||||
'type': 'ir.actions.act_window',
|
||||
'target': 'inlineview',
|
||||
'target': 'inline',
|
||||
}
|
||||
value['domain'] = "[('parent_id','=',%d)]" % (page.id)
|
||||
value['res_id'] = page.id
|
||||
|
Loading…
Reference in New Issue
Block a user