Fix tests.

Fix xpath tag in the view form.
This commit is contained in:
Juanjo Garcia 2019-10-30 15:59:52 +01:00
parent f8151726cd
commit f00c085d5d
2 changed files with 2 additions and 3 deletions

View File

@ -76,7 +76,6 @@ Create product::
>>> template.name = 'product' >>> template.name = 'product'
>>> template.default_uom = unit >>> template.default_uom = unit
>>> template.type = 'service' >>> template.type = 'service'
>>> template.purchasable = True
>>> template.salable = True >>> template.salable = True
>>> template.list_price = Decimal('10') >>> template.list_price = Decimal('10')
>>> template.account_category = account_category >>> template.account_category = account_category

View File

@ -3,10 +3,10 @@
The COPYRIGHT file at the top level of this repository contains the full The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. --> copyright notices and license terms. -->
<data> <data>
<xpath expr="/form/notebook/page[@id='sale']/group/group[@id='buttons']" position="replace_attributes"> <xpath expr="/form/group[@id='buttons']" position="replace_attributes">
<group col="10" colspan="2" id="buttons"/> <group col="10" colspan="2" id="buttons"/>
</xpath> </xpath>
<xpath expr="/form/notebook/page[@id='sale']/group/group/button[@name='process']" position="after"> <xpath expr="/form/group/button[@name='process']" position="after">
<button name="wizard_sale_payment" icon="tryton-forward"/> <button name="wizard_sale_payment" icon="tryton-forward"/>
</xpath> </xpath>
<xpath expr="/form/notebook/page[@id='other']" position="after"> <xpath expr="/form/notebook/page[@id='other']" position="after">