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,22 @@
<?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"/>
<label name="currency"/>
<field name="currency"/>
<label name="environment"/>
<field name="environment" colspan="3"/>
<label name="merchant_id"/>
<field name="merchant_id" colspan="3"/>
<label name="public_key"/>
<field name="public_key" colspan="3"/>
<label name="private_key"/>
<field name="private_key" colspan="3"/>
<label name="webhook_endpoint"/>
<field name="webhook_endpoint" colspan="2"/>
<button name="new_identifier"/>
<label name="sandbox_settle_transaction"/>
<field name="sandbox_settle_transaction"/>
</form>

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>
<field name="name" expand="1"/>
<field name="currency" optional="1"/>
</tree>

View File

@@ -0,0 +1,27 @@
<?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="party"/>
<field name="party"/>
<label name="active"/>
<field name="active"/>
<label name="braintree_account"/>
<field name="braintree_account"/>
<newline/>
<label name="braintree_customer_id"/>
<field name="braintree_customer_id"/>
<group id="buttons" col="-1" colspan="4">
<button name="braintree_checkout"/>
<button name="braintree_update"/>
<button name="delete_payment_method"/>
</group>
<label name="braintree_error_message"/>
<field name="braintree_error_message" colspan="3" yexpand="0" height="80"/>
<field name="identical_customers" colspan="4"/>
</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. -->
<tree>
<field name="party" expand="2"/>
<field name="braintree_account" expand="1"/>
<field name="braintree_customer_id"/>
<button name="braintree_checkout"/>
<button name="braintree_update" multiple="1"/>
</tree>

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">
<label name="customer"/>
<field name="customer"/>
<label name="payment_method"/>
<field name="payment_method"/>
</form>

View File

@@ -0,0 +1,15 @@
<?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='currency']" position="after">
<label name="braintree_customer" string="Customer:"/>
<field name="braintree_customer" colspan="3"/>
<label name="braintree_customer_method_selection" string="Payment Method:"/>
<field name="braintree_customer_method_selection" colspan="3"/>
<field name="braintree_customer_method" colspan="4" invisible="1"/>
</xpath>
</data>

View File

@@ -0,0 +1,46 @@
<?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='buttons']" position="inside">
<button name="braintree_checkout"/>
<button name="braintree_do_settle_payment"/>
<button name="braintree_do_pull"/>
</xpath>
<xpath expr="//page[@id='payment']" position="after">
<page id="braintree" string="Braintree">
<label name="braintree_transaction_id" string="Transaction ID:"/>
<field name="braintree_transaction_id" colspan="3"/>
<label name="braintree_customer" string="Customer:"/>
<field name="braintree_customer" colspan="3"/>
<field name="braintree_customer_method" colspan="4" invisible="1"/>
<label name="braintree_customer_method_selection" string="Payment Method:"/>
<field name="braintree_customer_method_selection" colspan="3"/>
<label name="braintree_client_token" string="Client Token:"/>
<field name="braintree_client_token" colspan="3"/>
<label name="braintree_nonce" string="Nonce:"/>
<field name="braintree_nonce"/>
<label name="braintree_device_data" string="Device Data:"/>
<field name="braintree_device_data"/>
<label name="braintree_settle_payment" string="Settle:"/>
<field name="braintree_settle_payment"/>
<label name="braintree_payment_settled" string="Settled:"/>
<field name="braintree_payment_settled"/>
<label name="braintree_error_message"/>
<field name="braintree_error_message" colspan="3" yexpand="0" height="80"/>
<label name="braintree_dispute_reason"/>
<field name="braintree_dispute_reason"/>
<label name="braintree_dispute_status"/>
<field name="braintree_dispute_status"/>
<field name="braintree_refunds" colspan="4"/>
</page>
</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. -->
<data>
<xpath expr="/form/field[@name='process_method']" position="after">
<separator name="braintree_account" string="Braintree" colspan="4"/>
<label name="braintree_account"/>
<field name="braintree_account"/>
<newline/>
</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="/tree/button[@name='approve']" position="after">
<button name="braintree_checkout"/>
<button name="braintree_do_settle_payment" multiple="1"/>
</xpath>
</data>

View File

@@ -0,0 +1,28 @@
<?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="payment"/>
<field name="payment"/>
<label name="amount"/>
<field name="amount"/>
<label name="braintree_transaction_id"/>
<field name="braintree_transaction_id" colspan="3"/>
<label name="braintree_error_message"/>
<field name="braintree_error_message" colspan="3" yexpand="0" height="80"/>
<label name="submitted_by"/>
<field name="submitted_by"/>
<label name="approved_by"/>
<field name="approved_by"/>
<label name="state"/>
<field name="state"/>
<group col="-1" colspan="2" id="buttons">
<button name="draft"/>
<button name="submit"/>
<button name="approve"/>
</group>
</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. -->
<tree>
<field name="payment" expand="1"/>
<field name="amount" expand="2"/>
<field name="state"/>
<button name="submit" multiple="1"/>
<button name="approve" multiple="1"/>
</tree>