Initial commit

This commit is contained in:
resteve
2014-06-27 19:03:08 +02:00
commit ab0b73ff95
35 changed files with 3411 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<form string="Close Statements" col="4">
<field name="result" colspan="4"/>
</form>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<form string="Close Statements" col="2">
<image name="tryton-dialog-information" xexpand="0"
xfill="0"/>
<label
string="You are going to close statements of your device."
id="create"
yalign="0.0" xalign="0.0" xexpand="1"/>
</form>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<form string="Open Statements" col="4">
<field name="result" colspan="4"/>
</form>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<form string="Open Statements" col="2">
<image name="tryton-dialog-information" xexpand="0"
xfill="0"/>
<label
string="You are going to open statements of your device."
id="create"
yalign="0.0" xalign="0.0" xexpand="1"/>
</form>

15
view/sale_device_form.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<form string="Sale Device Configuration" col="4">
<label name="name"/>
<field name="name"/>
<label name="shop"/>
<field name="shop"/>
<label name="company"/>
<field name="company"/>
<label name="journal"/>
<field name="journal" widget="selection"/>
<field name="journals" colspan="4"/>
</form>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<tree string="Sale Device Configuration">
<field name="name"/>
<field name="shop"/>
<field name="company"/>
</tree>

28
view/sale_form.xml Normal file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<data>
<xpath
expr="/form/notebook/page[@id=&quot;sale&quot;]/group/group[@id=&quot;buttons&quot;]"
position="replace_attributes">
<group col="8" colspan="2" id="buttons"/>
</xpath>
<xpath
expr="/form/notebook/page[@id=&quot;sale&quot;]/group/group/button[@name=&quot;process&quot;]"
position="after">
<button name="wizard_sale_payment" string="_Pay"
icon="tryton-go-next"/>
</xpath>
<xpath
expr="/form/notebook/page[@id=&quot;shipments&quot;]"
position="after">
<page string="Payments" col="4" id="payments">
<field name="payments" colspan="4" readonly="1"/>
<label name="paid_amount"/>
<field name="paid_amount"/>
<label name="residual_amount"/>
<field name="residual_amount"/>
</page>
</xpath>
</data>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<form string="Sale Payment Form">
<label name="journal"/>
<field name="journal" widget="selection"/>
<label name="payment_amount"/>
<field name="payment_amount"/>
<label name="party"/>
<field name="party"/>
</form>

12
view/user_form.xml Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<data>
<xpath
expr="/form/notebook/page[@id=&quot;preferences&quot;]/field[@name=&quot;shop&quot;]"
position="after">
<label name="sale_device"/>
<field name="sale_device" widget="selection"/>
</xpath>
</data>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<data>
<xpath
expr="/form/notebook/page[@id=&quot;preferences&quot;]/field[@name=&quot;shop&quot;]"
position="after">
<label name="sale_device"/>
<field name="sale_device" widget="selection"/>
</xpath>
</data>