first commit

This commit is contained in:
root
2026-03-14 09:42:12 +00:00
commit 0adbd20c2c
10991 changed files with 1646955 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?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="sale_sequence"/>
<field name="sale_sequence"/>
<newline />
<label name="sale_invoice_method" />
<field name="sale_invoice_method" />
<label name="sale_shipment_method" />
<field name="sale_shipment_method" />
<newline/>
<label name="sale_quotation_validity"/>
<field name="sale_quotation_validity"/>
<label name="sale_process_after"/>
<field name="sale_process_after"/>
</form>

View File

@@ -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>
<image name="tryton-question" xexpand="0" xfill="0"/>
<label string="Choose cancelled invoices to ignore or recreate:" id="choose" yalign="0.5" xalign="0.0" xexpand="1" colspan="3"/>
<field name="ignore_invoices" colspan="2"/>
<field name="recreate_invoices" colspan="2"/>
</form>

View 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>
<image name="tryton-question" xexpand="0" xfill="0"/>
<label string="Choose cancelled stock moves to ignore or recreate:" id="choose" yalign="0.5" xalign="0.0" xexpand="1" colspan="3"/>
<field name="ignore_moves" colspan="2" view_ids="stock.move_view_tree_simple"/>
<field name="recreate_moves" colspan="2" view_ids="stock.move_view_tree_simple"/>
</form>

View 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="//field[@name='lines']" position="replace_attributes">
<field name="lines" invisible="1"/>
</xpath>
</data>

View 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="product" expand="1"/>
<field name="from_location" expand="1"/>
<field name="to_location" expand="1"/>
<field name="quantity" symbol="unit"/>
<field name="state"/>
<field name="sale_exception_state"/>
<button name="cancel" multiple="1"/>
<button name="draft" multiple="1"/>
</tree>

View File

@@ -0,0 +1,21 @@
<?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="//group[@id='links']" position="inside">
<link icon="tryton-sale" name="sale.act_sale_relate" empty="hide"/>
<link icon="tryton-sale" name="sale.act_sale_line_relate" empty="hide"/>
</xpath>
<xpath expr="/form/notebook" position="inside">
<page id="sale" string="Sale">
<label name="sale_invoice_method"/>
<field name="sale_invoice_method"/>
<label name="sale_shipment_method"/>
<field name="sale_shipment_method"/>
<label name="customer_currency"/>
<field name="customer_currency"/>
<newline/>
</page>
</xpath>
</data>

View 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" position="inside">
<label name="default_lead_time"/>
<field name="default_lead_time"/>
</xpath>
</data>

View File

@@ -0,0 +1,12 @@
<?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="code" optional="0"/>
<field name="name" expand="1"/>
<field name="sale_price_uom"/>
<field name="list_price_uom" optional="1"/>
<field name="cost_price_uom" optional="1"/>
<field name="quantity" symbol="default_uom" optional="0"/>
<field name="forecast_quantity" symbol="default_uom" optional="1"/>
</tree>

View File

@@ -0,0 +1,19 @@
<?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>
<group colspan="2" col="4" id="fields">
<label name="company"/>
<field name="company"/>
<label name="currency"/>
<field name="currency"/>
<label name="sale_date"/>
<field name="sale_date"/>
<label name="quantity"/>
<field name="quantity"/>
<label name="customer"/>
<field name="customer"/>
</group>
<field name="locations" colspan="2" yexpand="0"/>
<field name="stock_date_end" invisible="1" colspan="4"/>
</form>

View 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. -->
<form col="2">
<image name="tryton-warning" xexpand="0" xfill="0"/>
<label
string="Are you sure to return these/this sale(s)?" id="return"
yalign="0.5" xalign="0.0" xexpand="1"/>
</form>

View File

@@ -0,0 +1,111 @@
<?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" colspan="3"/>
<label name="shipment_party"/>
<field name="shipment_party"/>
<label name="shipment_address"/>
<field name="shipment_address" colspan="3"/>
<label name="description"/>
<field name="description" colspan="3"/>
<label name="reference"/>
<field name="reference"/>
<notebook colspan="6">
<page string="Sale" id="sale" col="6">
<label name="sale_date"/>
<field name="sale_date"/>
<label name="payment_term"/>
<field name="payment_term"/>
<label name="currency"/>
<field name="currency"/>
<label name="quotation_date"/>
<field name="quotation_date"/>
<label name="quotation_validity"/>
<field name="quotation_validity"/>
<label name="quotation_expire"/>
<field name="quotation_expire"/>
<label name="warehouse"/>
<field name="warehouse"/>
<label name="shipping_date"/>
<field name="shipping_date"/>
<field name="lines" colspan="6" view_ids="sale.sale_line_view_tree_sequence"/>
<group col="2" colspan="3" id="states" yfill="1">
<label name="invoice_state"/>
<field name="invoice_state"/>
<label name="shipment_state"/>
<field name="shipment_state"/>
<label name="state"/>
<field name="state"/>
</group>
<group col="10" colspan="3" id="amount" yfill="1">
<label name="untaxed_amount" xalign="1.0" xexpand="1" xfill="0"/>
<field name="untaxed_amount" xalign="1.0" xexpand="0"/>
<newline/>
<label name="tax_amount" xalign="1.0" xexpand="1" xfill="0"/>
<field name="tax_amount" xalign="1.0" xexpand="0"/>
<newline/>
<label name="total_amount" xalign="1.0" xexpand="1" xfill="0"/>
<field name="total_amount" xalign="1.0" xexpand="0"/>
</group>
</page>
<page string="Other Info" id="other">
<label name="company"/>
<field name="company"/>
<label name="origin"/>
<field name="origin"/>
<label name="invoice_method"/>
<field name="invoice_method"/>
<label name="shipment_method"/>
<field name="shipment_method"/>
<label name="quoted_by"/>
<field name="quoted_by"/>
<label name="confirmed_by"/>
<field name="confirmed_by"/>
<separator name="comment" colspan="4"/>
<field name="comment" colspan="4"/>
</page>
<page name="invoices_ignored" col="1">
<field name="invoices_ignored"/>
</page>
</notebook>
<group id="links" col="-1" colspan="3">
<link icon="tryton-shipment-out" name="sale.act_shipment_form"/>
<link icon="tryton-account" name="sale.act_invoice_form"/>
<link icon="tryton-shipment-in" name="sale.act_return_form"/>
</group>
<group col="-1" colspan="3" id="buttons">
<button name="cancel" icon="tryton-cancel"/>
<button name="modify_header" icon="tryton-launch"/>
<button name="draft"/>
<button name="quote" icon="tryton-forward"/>
<button name="handle_invoice_exception" icon="tryton-forward"/>
<button name="handle_shipment_exception" icon="tryton-forward"/>
<button name="confirm" icon="tryton-forward"/>
<button name="process"/>
<button name="manual_invoice" icon="tryton-forward"/>
<button name="manual_shipment" icon="tryton-forward"/>
</group>
<field name="party_lang" invisible="1" colspan="6"/>
</form>

View File

@@ -0,0 +1,45 @@
<?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="product">
<label name="sale"/>
<field name="sale" colspan="3"/>
<label name="type"/>
<field name="type"/>
<label name="sequence"/>
<field name="sequence"/>
<notebook colspan="4">
<page string="General" id="general">
<label name="product"/>
<field name="product"
view_ids="sale.product_view_list_sale_line"/>
<newline/>
<label name="quantity"/>
<field name="quantity"/>
<label name="unit"/>
<field name="unit"/>
<label name="unit_price"/>
<field name="unit_price"/>
<label name="amount"/>
<field name="amount"/>
<label name="shipping_date"/>
<field name="shipping_date"/>
<separator name="description" colspan="4"/>
<field name="description" colspan="4"/>
</page>
<page string="Taxes" id="taxes">
<field name="taxes" colspan="4"/>
</page>
<page name="moves" col="1">
<field name="moves"/>
<field name="moves_ignored"/>
</page>
<page name="invoice_lines" col="1">
<field name="invoice_lines"/>
</page>
<page string="Notes" id="notes">
<separator name="note" colspan="4"/>
<field name="note" colspan="4"/>
</page>
</notebook>
</form>

View File

@@ -0,0 +1,18 @@
<?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="sale" expand="1"/>
<field name="customer" expand="1" optional="0"/>
<field name="sale_date" optional="1"/>
<field name="type" optional="1"/>
<field name="product" expand="1" optional="0"/>
<field name="summary" expand="1" optional="1"/>
<field name="actual_quantity" symbol="unit" optional="0"/>
<field name="quantity" symbol="unit" optional="0"/>
<field name="unit_price"/>
<field name="amount"/>
<field name="moves_progress" string="Shipping" widget="progressbar" optional="1"/>
<field name="invoice_progress" string="Invoicing" widget="progressbar" optional="1"/>
<field name="sale_state"/>
</tree>

View 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 sequence="sequence">
<field name="sale" expand="1"/>
<field name="type" optional="1"/>
<field name="product" expand="1" optional="0"/>
<field name="summary" expand="1" optional="1"/>
<field name="quantity" symbol="unit"/>
<field name="unit_price"/>
<field name="taxes" optional="0"/>
<field name="amount"/>
</tree>

View File

@@ -0,0 +1,17 @@
<?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="from_date"/>
<group id="dates" col="-1">
<field name="from_date"/>
<label name="to_date"/>
<field name="to_date"/>
</group>
<label name="period"/>
<field name="period"/>
<label name="company"/>
<field name="company"/>
<label name="warehouse"/>
<field name="warehouse"/>
</form>

View 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. -->
<tree keyword_open="1">
<field name="region" expand="1"/>
<field name="number"/>
<field name="revenue"/>
<field name="revenue_trend" expand="1"/>
</tree>

View 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. -->
<data>
<xpath expr="//field[@name='number']" position="before">
<field name="category" expand="1"/>
</xpath>
<xpath expr="//field[@name='number']" position="replace">
<field name="number"/>
</xpath>
<xpath expr="//field[@name='revenue']" position="replace">
<field name="revenue"/>
</xpath>
</data>

View File

@@ -0,0 +1,7 @@
<?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 keyword_open="1">
<field name="name" expand="1"/>
<field name="revenue"/>
</tree>

View 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="//x/field[@name='id']" position="replace">
<field name="customer"/>
</xpath>
</data>

View 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="//x/field[@name='id']" position="replace">
<field name="customer"/>
</xpath>
</data>

View 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="//field[@name='number']" position="before">
<field name="customer" expand="1"/>
</xpath>
</data>

View File

@@ -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. -->
<graph>
<x>
<field name="id"/>
</x>
<y>
<field name="number"/>
</y>
</graph>

View File

@@ -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. -->
<graph>
<x>
<field name="id"/>
</x>
<y>
<field name="revenue"/>
</y>
</graph>

View 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 keyword_open="1">
<field name="number" sum="1"/>
<field name="revenue" sum="1"/>
<field name="revenue_trend" expand="1"/>
</tree>

View File

@@ -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. -->
<graph>
<x>
<field name="date"/>
</x>
<y>
<field name="number"/>
</y>
</graph>

View File

@@ -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. -->
<graph>
<x>
<field name="date"/>
</x>
<y>
<field name="revenue"/>
</y>
</graph>

View 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="date"/>
<field name="number" sum="1"/>
<field name="revenue" sum="1"/>
</tree>

View 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. -->
<data>
<xpath expr="//field[@name='number']" position="before">
<field name="category" expand="1"/>
</xpath>
<xpath expr="//field[@name='number']" position="replace">
<field name="number"/>
</xpath>
<xpath expr="//field[@name='revenue']" position="replace">
<field name="revenue"/>
</xpath>
</data>

View File

@@ -0,0 +1,7 @@
<?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 keyword_open="1">
<field name="name" expand="1"/>
<field name="revenue"/>
</tree>

View 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="//x/field[@name='id']" position="replace">
<field name="product"/>
</xpath>
</data>

View 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="//x/field[@name='id']" position="replace">
<field name="product"/>
</xpath>
</data>

View 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="//field[@name='number']" position="before">
<field name="product" expand="1"/>
</xpath>
</data>

View File

@@ -0,0 +1,7 @@
<?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 keyword_open="1">
<field name="name" expand="1"/>
<field name="revenue"/>
</tree>

View File

@@ -0,0 +1,17 @@
<?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="quotation_expire" optional="1"/>
<field name="sale_date" optional="0"/>
<field name="party" expand="2"/>
<field name="warehouse" optional="1"/>
<field name="untaxed_amount" optional="0"/>
<field name="description" expand="1" optional="1"/>
<field name="state"/>
<field name="invoice_state"/>
<field name="shipment_state"/>
</tree>

View File

@@ -0,0 +1,25 @@
<?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/page[@id='general']/group[@id='checkboxes']"
position="inside">
<label name="salable"/>
<field name="salable" xexpand="0" width="25"/>
</xpath>
<xpath expr="/form/notebook/page[@id='general']" position="after">
<page string="Customers" id="customers">
<label name="salable"/>
<field name="salable"/>
<label name="sale_uom"/>
<field name="sale_uom"/>
<label name="lead_time"/>
<field name="lead_time"/>
<group id="customers_links" col="-1" colspan="4">
<link icon="tryton-sale" name="sale.act_sale_line_relate" empty="hide"/>
</group>
</page>
</xpath>
</data>

View 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="/tree/field[@name='type']" position="after">
<field name="salable" optional="1"/>
</xpath>
</data>