dépôts
/
burette
/
ptitvelo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcf11b8
)
In fact only hide the discount field since it is used in the form.
author
Sébastien Grignard
<seb@amakaze.org>
Tue, 14 Jan 2014 22:57:45 +0000
(23:57 +0100)
committer
Sébastien Grignard
<seb@amakaze.org>
Tue, 14 Jan 2014 22:57:45 +0000
(23:57 +0100)
view/ptitvelo.xml
patch
|
blob
|
history
diff --git
a/view/ptitvelo.xml
b/view/ptitvelo.xml
index
a5be3e5
..
5ebb263
100644
(file)
--- a/
view/ptitvelo.xml
+++ b/
view/ptitvelo.xml
@@
-51,7
+51,9
@@
<field name="model">pos.order</field>
<field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
<field name="arch" type="xml">
- <field name="discount" position="replace" />
+ <field name="discount" position="attributes">
+ <attribute name="invisible">1</attribute>
+ </field>
<field name="price_subtotal" position="replace" />
</field>
</record>