Purchase design
This commit is contained in:
@@ -795,7 +795,6 @@ class Purchase(metaclass=PoolMeta):
|
||||
|
||||
data = {
|
||||
'type': 'execution-summary',
|
||||
'title': 'Execution snapshot',
|
||||
'unit': rows[0]['unit'] if rows else '',
|
||||
'totals': dict(totals),
|
||||
'rows': rows[:4],
|
||||
|
||||
@@ -79,15 +79,15 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<group id="purchase_tolerance" string="Tolerance"
|
||||
colspan="1" col="6" panel="card" icon="tryton-switch"
|
||||
xalign="0" yalign="0"
|
||||
col_widths="105px,120px,105px,120px,135px,200px">
|
||||
col_widths="120px,120px,120px,120px,150px,170px">
|
||||
<label name="tol_min"/>
|
||||
<field name="tol_min"/>
|
||||
<field name="tol_min" width="115" xexpand="0" xfill="0"/>
|
||||
<label name="tol_max"/>
|
||||
<field name="tol_max"/>
|
||||
<field name="tol_max" width="115" xexpand="0" xfill="0"/>
|
||||
<label name="tolerance_used"/>
|
||||
<field name="tolerance_used" widget="tolerance_gauge"
|
||||
min_field="tolerance_min" max_field="tolerance_max"
|
||||
width="190" xexpand="0" xfill="0"/>
|
||||
width="160" xexpand="0" xfill="0"/>
|
||||
<field name="tolerance_min" invisible="1"/>
|
||||
<field name="tolerance_max" invisible="1"/>
|
||||
</group>
|
||||
@@ -98,14 +98,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<group id="purchase_map" string="Map" colspan="1" col="1"
|
||||
panel="card" icon="tryton-public" xalign="0" yalign="0"
|
||||
col_widths="1fr">
|
||||
<field name="viewer" widget="html_viewer" height="170"/>
|
||||
<field name="viewer" widget="html_viewer" height="205"/>
|
||||
</group>
|
||||
<group id="purchase_recap" string="Récapitulatif"
|
||||
<group id="purchase_recap" string="Execution summary"
|
||||
colspan="1" col="1" panel="sidebar" icon="tryton-note"
|
||||
xalign="0" yalign="0"
|
||||
col_widths="1fr">
|
||||
<field name="execution_summary_viewer" widget="html_viewer"
|
||||
height="165"/>
|
||||
height="150"/>
|
||||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user