changeset 07c95a3988db in modules/sale_opportunity:default
details:
https://hg.tryton.org/modules/sale_opportunity?cmd=changeset;node=07c95a3988db
description:
Add symbol widget
issue9059
review276871002
diffstat:
view/opportunity_employee_monthly_tree.xml | 7 +++----
view/opportunity_employee_tree.xml | 7 +++----
view/opportunity_form.xml | 5 +----
view/opportunity_line_tree.xml | 3 +--
view/opportunity_tree.xml | 3 +--
5 files changed, 9 insertions(+), 16 deletions(-)
diffs (73 lines):
diff -r 58e7c3773dcc -r 07c95a3988db view/opportunity_employee_monthly_tree.xml
--- a/view/opportunity_employee_monthly_tree.xml Thu Jul 09 10:21:06
2020 +0100
+++ b/view/opportunity_employee_monthly_tree.xml Fri Oct 09 19:09:06
2020 +0200
@@ -15,10 +15,9 @@
<field name="winning_rate" factor="100">
<suffix string="%" name="winning_rate"/>
</field>
- <field name="amount"/>
- <field name="converted_amount"/>
- <field name="won_amount"/>
- <field name="currency"/>
+ <field name="amount" symbol="currency"/>
+ <field name="converted_amount" symbol="currency"/>
+ <field name="won_amount" symbol="currency"/>
<field name="conversion_amount_rate" factor="100">
<suffix string="%" name="conversion_amount_rate"/>
</field>
diff -r 58e7c3773dcc -r 07c95a3988db view/opportunity_employee_tree.xml
--- a/view/opportunity_employee_tree.xml Thu Jul 09 10:21:06 2020 +0100
+++ b/view/opportunity_employee_tree.xml Fri Oct 09 19:09:06 2020 +0200
@@ -13,10 +13,9 @@
<field name="winning_rate" factor="100">
<suffix string="%" name="winning_rate"/>
</field>
- <field name="amount"/>
- <field name="converted_amount"/>
- <field name="won_amount"/>
- <field name="currency"/>
+ <field name="amount" symbol="currency"/>
+ <field name="converted_amount" symbol="currency"/>
+ <field name="won_amount" symbol="currency"/>
<field name="conversion_amount_rate" factor="100">
<suffix string="%" name="conversion_amount_rate"/>
</field>
diff -r 58e7c3773dcc -r 07c95a3988db view/opportunity_form.xml
--- a/view/opportunity_form.xml Thu Jul 09 10:21:06 2020 +0100
+++ b/view/opportunity_form.xml Fri Oct 09 19:09:06 2020 +0200
@@ -19,10 +19,7 @@
<field name="reference"/>
<label name="amount"/>
- <group col="2" id="amount_currency">
- <field name="amount"/>
- <field name="currency"/>
- </group>
+ <field name="amount" symbol="currency"/>
<label name="conversion_probability"/>
<group id="conversion_probability">
<field name="conversion_probability" factor="100" xexpand="0"/>
diff -r 58e7c3773dcc -r 07c95a3988db view/opportunity_line_tree.xml
--- a/view/opportunity_line_tree.xml Thu Jul 09 10:21:06 2020 +0100
+++ b/view/opportunity_line_tree.xml Fri Oct 09 19:09:06 2020 +0200
@@ -4,6 +4,5 @@
<tree sequence="sequence">
<field name="opportunity" expand="1"/>
<field name="product" expand="1"/>
- <field name="quantity"/>
- <field name="unit"/>
+ <field name="quantity" symbol="unit"/>
</tree>
diff -r 58e7c3773dcc -r 07c95a3988db view/opportunity_tree.xml
--- a/view/opportunity_tree.xml Thu Jul 09 10:21:06 2020 +0100
+++ b/view/opportunity_tree.xml Fri Oct 09 19:09:06 2020 +0200
@@ -9,8 +9,7 @@
<field name="employee" expand="1"/>
<field name="description" expand="1"/>
<field name="party" expand="1"/>
- <field name="amount"/>
- <field name="currency"/>
+ <field name="amount" symbol="currency"/>
<field name="state"/>
<field name="conversion_probability" factor="100">
<suffix name="conversion_probability" string="%"/>