mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-24 06:07:44 -06:00
create document_page_approval module
(../7.0pageapproval/ rev 1)
This commit is contained in:
20
document_page_approval/document_page_view.xml
Normal file
20
document_page_approval/document_page_view.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<!-- wiki Form view -->
|
||||
<record id="view_wiki_form_inherit" model="ir.ui.view">
|
||||
<field name="name">document.page.form</field>
|
||||
<field name="model">document.page</field>
|
||||
<field name="inherit_id" ref="document_page.view_wiki_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="type" position="before" >
|
||||
<header>
|
||||
<button name="page_approval_approve" string="Approve" states="draft" />
|
||||
<field name="state" widget="statusbar" statusbar_visible="draft,approved"/>
|
||||
</header>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user