Files
Odoo-Modules/fusion_poynt/views/payment_provider_views.xml
gsinghpal 0e1aebe60b feat: add Pending status for delivery/technician tasks
- New 'pending' status allows tasks to be created without a schedule,
  acting as a queue for unscheduled work that gets assigned later
- Pending group appears in the Delivery Map sidebar with amber color
- Other modules can create tasks in pending state for scheduling
- scheduled_date no longer required (null for pending tasks)
- New Pending Tasks menu item under Field Service
- Pending filter added to search view

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-24 04:21:05 -05:00

51 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="payment_provider_form" model="ir.ui.view">
<field name="name">Poynt Provider Form</field>
<field name="model">payment.provider</field>
<field name="inherit_id" ref="payment.payment_provider_form"/>
<field name="arch" type="xml">
<group name="provider_credentials" position="inside">
<group invisible="code != 'poynt'" name="poynt_credentials">
<field name="poynt_application_id"
required="code == 'poynt' and state != 'disabled'"
placeholder="urn:aid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>
<field name="poynt_private_key"
required="code == 'poynt' and state != 'disabled'"
widget="text"
placeholder="-----BEGIN RSA PRIVATE KEY-----&#10;...&#10;-----END RSA PRIVATE KEY-----"/>
<field name="poynt_business_id"
required="code == 'poynt' and state != 'disabled'"
placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>
<field name="poynt_store_id"
placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>
<label for="poynt_webhook_secret"/>
<div class="o_row" col="2">
<field name="poynt_webhook_secret" password="True"/>
</div>
</group>
</group>
<group name="provider_credentials" position="after">
<group string="Poynt Actions"
invisible="code != 'poynt'" name="poynt_actions"
col="4">
<button string="Test Connection"
type="object"
name="action_poynt_test_connection"
class="btn-primary"
invisible="not poynt_application_id or not poynt_private_key or not poynt_business_id"
colspan="2"/>
<button string="Fetch Terminals"
type="object"
name="action_poynt_fetch_terminals"
class="btn-secondary"
invisible="not poynt_business_id"
colspan="2"/>
</group>
</group>
</field>
</record>
</odoo>