mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-29 03:46:29 -06:00
[ADD] document_page: Add required fields to improve page_history
This commit is contained in:
parent
17618ab87e
commit
19337d3f87
@ -81,6 +81,7 @@ Contributors
|
||||
* `Tecnativa <https://www.tecnativa.com>`_:
|
||||
|
||||
* Ernesto Tejeda
|
||||
* Víctor Martínez
|
||||
|
||||
Other credits
|
||||
~~~~~~~~~~~~~
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
{
|
||||
"name": "Document Page",
|
||||
"version": "13.0.1.0.4",
|
||||
"version": "13.0.1.1.0",
|
||||
"category": "Knowledge Management",
|
||||
"author": "OpenERP SA, Odoo Community Association (OCA)",
|
||||
"images": [
|
||||
|
@ -19,6 +19,8 @@ Additional ressources
|
||||
</record>
|
||||
<record id="demo_page1" model="document.page">
|
||||
<field name="name">Odoo 13.0 Functional Demo</field>
|
||||
<field name="draft_name">1.0</field>
|
||||
<field name="draft_summary">Init</field>
|
||||
<field name="parent_id" ref="demo_category1" />
|
||||
<field name="content">
|
||||
<![CDATA[
|
||||
@ -48,6 +50,8 @@ company, with your clients and implement it now for your business.<br>
|
||||
<record id="demo_page2" model="document.page">
|
||||
<field name="name">Personalise Dashboards</field>
|
||||
<field name="parent_id" ref="demo_category1" />
|
||||
<field name="draft_name">1.0</field>
|
||||
<field name="draft_summary">Init</field>
|
||||
<field name="content">
|
||||
<![CDATA[
|
||||
<br>
|
||||
@ -87,6 +91,8 @@ you change your mind there is a reset button to return to the default view.<br>
|
||||
<record id="demo_page3" model="document.page">
|
||||
<field name="name">Touchscreen Point of Sale</field>
|
||||
<field name="parent_id" ref="demo_category1" />
|
||||
<field name="draft_name">1.0</field>
|
||||
<field name="draft_summary">Init</field>
|
||||
<field name="content">
|
||||
<![CDATA[
|
||||
<br>
|
||||
|
@ -7,3 +7,4 @@
|
||||
* `Tecnativa <https://www.tecnativa.com>`_:
|
||||
|
||||
* Ernesto Tejeda
|
||||
* Víctor Martínez
|
||||
|
@ -429,6 +429,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
||||
<li>Simone Orsi <<a class="reference external" href="mailto:simone.orsi@camptocamp.com">simone.orsi@camptocamp.com</a>></li>
|
||||
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
|
||||
<li>Ernesto Tejeda</li>
|
||||
<li>Víctor Martínez</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -65,6 +65,7 @@
|
||||
<group>
|
||||
<field
|
||||
name="parent_id"
|
||||
required="True"
|
||||
string="Category"
|
||||
context="{'default_type':'category'}"
|
||||
/>
|
||||
@ -81,10 +82,15 @@
|
||||
/>
|
||||
</group>
|
||||
<group string="Revision">
|
||||
<field name="draft_name" placeholder="Rev 01" />
|
||||
<field
|
||||
name="draft_name"
|
||||
placeholder="Rev 01"
|
||||
required="True"
|
||||
/>
|
||||
<field
|
||||
name="draft_summary"
|
||||
placeholder="eg: Changed ... for ..."
|
||||
required="True"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
|
@ -21,8 +21,8 @@
|
||||
<field name="model">document.page.history</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Document Page History">
|
||||
<field name="page_id" />
|
||||
<field name="content" />
|
||||
<field name="page_id" required="True" />
|
||||
<field name="content" required="True" />
|
||||
<field name="create_uid" />
|
||||
<group expand="0" string="Group By...">
|
||||
<filter
|
||||
|
Loading…
Reference in New Issue
Block a user