first commit
This commit is contained in:
9
modules/sale_subscription/view/configuration_form.xml
Normal file
9
modules/sale_subscription/view/configuration_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/field[@name='sale_sequence']" position="after">
|
||||
<label name="subscription_sequence"/>
|
||||
<field name="subscription_sequence"/>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/sale_subscription/view/create_invoice_start_form.xml
Normal file
10
modules/sale_subscription/view/create_invoice_start_form.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="2">
|
||||
<image name="tryton-question" xexpand="0" xfill="0"/>
|
||||
<group col="2" xexpand="1" id="create_date">
|
||||
<label string="Create Subscription Invoices for date" id="create"/>
|
||||
<field name="date"/>
|
||||
</group>
|
||||
</form>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="2">
|
||||
<image name="tryton-question" xexpand="0" xfill="0"/>
|
||||
<group col="2" xexpand="1" id="create_date">
|
||||
<label string="Create Subscription Line Consumptions for date"
|
||||
id="create"/>
|
||||
<field name="date"/>
|
||||
</group>
|
||||
</form>
|
||||
8
modules/sale_subscription/view/party_form.xml
Normal file
8
modules/sale_subscription/view/party_form.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//link[@name='sale.act_sale_line_relate']" position="after">
|
||||
<link icon="tryton-sale-subscription" name="sale_subscription.act_subscription_party_relate" empty="hide"/>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/sale_subscription/view/product_form.xml
Normal file
10
modules/sale_subscription/view/product_form.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook" position="inside">
|
||||
<page name="subscription_services">
|
||||
<field name="subscription_services" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
29
modules/sale_subscription/view/recurrence_rule_form.xml
Normal file
29
modules/sale_subscription/view/recurrence_rule_form.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="set_"/>
|
||||
<field name="set_"/>
|
||||
<newline/>
|
||||
<label name="exclusive"/>
|
||||
<field name="exclusive"/>
|
||||
<newline/>
|
||||
<label name="freq"/>
|
||||
<field name="freq"/>
|
||||
<label name="interval"/>
|
||||
<field name="interval"/>
|
||||
<label name="byweekday"/>
|
||||
<field name="byweekday" colspan="3"/>
|
||||
<label name="bymonthday"/>
|
||||
<field name="bymonthday" colspan="3"/>
|
||||
<label name="byyearday"/>
|
||||
<field name="byyearday" colspan="3"/>
|
||||
<label name="byweekno"/>
|
||||
<field name="byweekno" colspan="3"/>
|
||||
<label name="bymonth"/>
|
||||
<field name="bymonth" colspan="3"/>
|
||||
<label name="bysetpos"/>
|
||||
<field name="bysetpos" colspan="3"/>
|
||||
<label name="week_start_day"/>
|
||||
<field name="week_start_day" colspan="3" widget="selection"/>
|
||||
</form>
|
||||
16
modules/sale_subscription/view/recurrence_rule_list.xml
Normal file
16
modules/sale_subscription/view/recurrence_rule_list.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="set_"/>
|
||||
<field name="exclusive"/>
|
||||
<field name="freq"/>
|
||||
<field name="interval"/>
|
||||
<field name="byweekday"/>
|
||||
<field name="bymonthday"/>
|
||||
<field name="byyearday"/>
|
||||
<field name="byweekno"/>
|
||||
<field name="bymonth"/>
|
||||
<field name="bysetpos"/>
|
||||
<field name="week_start_day" widget="selection"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<field name="rules" colspan="4" mode="form,tree"/>
|
||||
</form>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="name" expand="1"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form cursor="recurrence">
|
||||
<label name="recurrence"/>
|
||||
<field name="recurrence" colspan="3"/>
|
||||
<label name="start_date"/>
|
||||
<field name="start_date"/>
|
||||
<label name="count"/>
|
||||
<field name="count"/>
|
||||
|
||||
<field name="result" mode="tree" colspan="4"/>
|
||||
</form>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="date" expand="1"/>
|
||||
</tree>
|
||||
13
modules/sale_subscription/view/service_form.xml
Normal file
13
modules/sale_subscription/view/service_form.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
<label name="consumption_recurrence"/>
|
||||
<field name="consumption_recurrence"/>
|
||||
<label name="consumption_delay"/>
|
||||
<field name="consumption_delay"/>
|
||||
</form>
|
||||
8
modules/sale_subscription/view/service_list.xml
Normal file
8
modules/sale_subscription/view/service_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="consumption_recurrence" expand="1"/>
|
||||
<field name="consumption_delay" expand="1"/>
|
||||
</tree>
|
||||
62
modules/sale_subscription/view/subscription_form.xml
Normal file
62
modules/sale_subscription/view/subscription_form.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="6">
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<label name="contact"/>
|
||||
<field name="contact"/>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
|
||||
<label name="invoice_party"/>
|
||||
<field name="invoice_party"/>
|
||||
<label name="invoice_address"/>
|
||||
<field name="invoice_address"/>
|
||||
<newline/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
<label name="reference"/>
|
||||
<field name="reference"/>
|
||||
|
||||
<notebook colspan="6">
|
||||
<page string="Subscription" id="subscription">
|
||||
<label name="start_date"/>
|
||||
<field name="start_date"/>
|
||||
<label name="end_date"/>
|
||||
<field name="end_date"/>
|
||||
<label name="invoice_start_date"/>
|
||||
<group col="-1" id="invoice_dates">
|
||||
<field name="invoice_start_date"/>
|
||||
<label name="next_invoice_date"/>
|
||||
<field name="next_invoice_date"/>
|
||||
</group>
|
||||
<label name="invoice_recurrence"/>
|
||||
<field name="invoice_recurrence"/>
|
||||
<label name="payment_term"/>
|
||||
<field name="payment_term"/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
<field name="lines" colspan="4"
|
||||
view_ids="sale_subscription.subscription_line_view_list_sequence"/>
|
||||
</page>
|
||||
<page string="Other Info" id="other">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<newline/>
|
||||
<label name="quoted_by"/>
|
||||
<field name="quoted_by"/>
|
||||
<label name="run_by"/>
|
||||
<field name="run_by"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<label name="state"/>
|
||||
<field name="state" colspan="2"/>
|
||||
<group col="-1" colspan="3" id="buttons" yfill="1">
|
||||
<button name="cancel"/>
|
||||
<button name="draft"/>
|
||||
<button name="quote"/>
|
||||
<button name="run"/>
|
||||
</group>
|
||||
</form>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="line"/>
|
||||
<field name="line"/>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="invoice_line"/>
|
||||
<field name="invoice_line"/>
|
||||
</form>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="line" expand="1"/>
|
||||
<field name="date"/>
|
||||
<field name="quantity"/>
|
||||
<field name="invoice_line" expand="1"/>
|
||||
</tree>
|
||||
39
modules/sale_subscription/view/subscription_line_form.xml
Normal file
39
modules/sale_subscription/view/subscription_line_form.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="subscription"/>
|
||||
<field name="subscription"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
|
||||
<notebook colspan="4">
|
||||
<page string="General" id="general">
|
||||
<label name="service"/>
|
||||
<field name="service"/>
|
||||
<label name="unit_price"/>
|
||||
<field name="unit_price"/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3" yexpand="0"/>
|
||||
|
||||
<label name="consumption_recurrence"/>
|
||||
<field name="consumption_recurrence"/>
|
||||
<label name="consumption_delay"/>
|
||||
<field name="consumption_delay"/>
|
||||
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
|
||||
<label name="start_date"/>
|
||||
<field name="start_date"/>
|
||||
<label name="end_date"/>
|
||||
<field name="end_date"/>
|
||||
|
||||
<label name="consumed_until"/>
|
||||
<field name="consumed_until"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
14
modules/sale_subscription/view/subscription_line_list.xml
Normal file
14
modules/sale_subscription/view/subscription_line_list.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="subscription" expand="1"/>
|
||||
<field name="service" expand="1"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="consumption_recurrence"/>
|
||||
<field name="consumption_delay"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="start_date"/>
|
||||
<field name="end_date"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="subscription" expand="1"/>
|
||||
<field name="service" expand="1"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="consumption_recurrence"/>
|
||||
<field name="consumption_delay"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="start_date"/>
|
||||
<field name="end_date"/>
|
||||
</tree>
|
||||
13
modules/sale_subscription/view/subscription_list.xml
Normal file
13
modules/sale_subscription/view/subscription_list.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="reference" expand="1" optional="1"/>
|
||||
<field name="start_date" optional="0"/>
|
||||
<field name="end_date" optional="0"/>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="description" expand="1" optional="1"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
Reference in New Issue
Block a user