Add document widget

issue10173
review330471004
This commit is contained in:
Cédric Krier
2021-03-27 17:17:00 +01:00
parent 96a459ed96
commit c848ca1d2d
4 changed files with 19 additions and 16 deletions
+1
View File
@@ -1,3 +1,4 @@
* Add document widget on form view
* Add full text and similarity search and FullText field
* Add URL type to icon
* Use instance method to get next sequence value
+1
View File
@@ -46,6 +46,7 @@ attlist.field &=
| "date"
| "datetime"
| "dict"
| "document"
| "email"
| "float"
| "html"
+1
View File
@@ -190,6 +190,7 @@
<value>date</value>
<value>datetime</value>
<value>dict</value>
<value>document</value>
<value>email</value>
<value>float</value>
<value>html</value>
+16 -16
View File
@@ -2,25 +2,25 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="2">
<group id="content" col="2" colspan="1">
<label name="resource"/>
<field name="resource"/>
<label name="name"/>
<group id="name_data" col="1" colspan="1">
<field name="data" filename_visible="1"/>
<group name="link" string="">
<field name="name"/>
</group>
<label name="resource"/>
<field name="resource"/>
<label name="name"/>
<group id="name_data" col="1" colspan="1">
<field name="data" filename_visible="1"/>
<group name="link" string="">
<field name="name"/>
</group>
<label name="type"/>
<field name="type"/>
<label name="link"/>
<field name="link" widget="url"/>
<label name="copy_to_resources"/>
<field name="copy_to_resources" yexpand="0"/>
</group>
<field name="data" widget="image" readonly="1"/>
<label name="type"/>
<field name="type"/>
<label name="link"/>
<field name="link" widget="url"/>
<label name="copy_to_resources"/>
<field name="copy_to_resources" yexpand="0"/>
<notebook>
<page string="Document" name="data" col="1">
<field name="data" widget="document"/>
</page>
<page name="description" col="1">
<field name="description"/>
</page>