[IMP] *: coherent hotkey uses
This commit makes hotkey uses more coherent throughout the entire codebase by setting alt+q as main shortcurt for confirm and default actions and alt+x for cancel actions. task-3370463 closes odoo/odoo#127469 Related: odoo/enterprise#43694 Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
This commit is contained in:
@@ -572,11 +572,11 @@
|
||||
<header>
|
||||
<!-- Post -->
|
||||
<button name="action_post" string="Post" class="oe_highlight"
|
||||
type="object" groups="account.group_account_invoice" data-hotkey="v"
|
||||
type="object" groups="account.group_account_invoice" data-hotkey="q"
|
||||
context="{'validate_analytic': True}"
|
||||
attrs="{'invisible': ['|', ('hide_post_button', '=', True), ('move_type', '!=', 'entry')]}"/>
|
||||
<button name="action_post" string="Confirm" class="oe_highlight"
|
||||
type="object" groups="account.group_account_invoice" data-hotkey="v"
|
||||
type="object" groups="account.group_account_invoice" data-hotkey="q"
|
||||
context="{'validate_analytic': True}"
|
||||
attrs="{'invisible': ['|', '|', ('hide_post_button', '=', True), ('move_type', '=', 'entry'), ('display_inactive_currency_warning','=',True)]}"/>
|
||||
<!-- Send (only invoices) -->
|
||||
@@ -610,12 +610,12 @@
|
||||
type='object' groups="account.group_account_invoice"
|
||||
attrs="{'invisible': ['|', ('move_type', 'not in', ('out_invoice', 'in_invoice')), ('state', '!=', 'posted')]}"/>
|
||||
<!-- Cancel -->
|
||||
<button name="button_cancel" string="Cancel Entry" type="object" groups="account.group_account_invoice" data-hotkey="w"
|
||||
<button name="button_cancel" string="Cancel Entry" type="object" groups="account.group_account_invoice" data-hotkey="x"
|
||||
attrs="{'invisible' : ['|', '|', ('id', '=', False), ('state', '!=', 'draft'),('move_type', '!=', 'entry')]}"/>
|
||||
<button name="button_cancel" string="Cancel" type="object" groups="account.group_account_invoice" data-hotkey="w"
|
||||
<button name="button_cancel" string="Cancel" type="object" groups="account.group_account_invoice" data-hotkey="x"
|
||||
attrs="{'invisible' : ['|', '|', ('id', '=', False), ('state', '!=', 'draft'),('move_type', '==', 'entry')]}"/>
|
||||
<button name="button_draft" string="Reset to Draft" type="object" groups="account.group_account_invoice"
|
||||
attrs="{'invisible' : [('show_reset_to_draft_button', '=', False)]}" data-hotkey="q" />
|
||||
attrs="{'invisible' : [('show_reset_to_draft_button', '=', False)]}" data-hotkey="r" />
|
||||
<!-- Set as Checked -->
|
||||
<button name="button_set_checked" string="Set as Checked" type="object" groups="account.group_account_invoice"
|
||||
attrs="{'invisible' : [('to_check', '=', False)]}" data-hotkey="k" />
|
||||
|
||||
@@ -152,13 +152,13 @@
|
||||
<form string="Register Payment">
|
||||
<header>
|
||||
<button name="action_post" string="Confirm" type="object" class="oe_highlight"
|
||||
attrs="{'invisible': [('state', '!=', 'draft')]}" data-hotkey="v"/>
|
||||
attrs="{'invisible': [('state', '!=', 'draft')]}" data-hotkey="q"/>
|
||||
<button name="action_draft" string="Reset To Draft" type="object" class="btn btn-secondary"
|
||||
attrs="{'invisible': [('state', 'not in', ('posted', 'cancel'))]}"
|
||||
groups="account.group_account_invoice" data-hotkey="w"/>
|
||||
<button name="action_cancel" string="Cancel" type="object"
|
||||
attrs="{'invisible': ['|', ('id', '=', False), ('state', '!=', 'draft')]}" data-hotkey="z"/>
|
||||
<button name="mark_as_sent" string="Mark as Sent" type="object" data-hotkey="q"
|
||||
attrs="{'invisible': ['|', ('id', '=', False), ('state', '!=', 'draft')]}" data-hotkey="x"/>
|
||||
<button name="mark_as_sent" string="Mark as Sent" type="object" data-hotkey="v"
|
||||
attrs="{'invisible': ['|', '|', ('state', '!=', 'posted'), ('is_move_sent', '=', True), ('payment_method_code', '!=', 'manual')]}"/>
|
||||
<button name="unmark_as_sent" string="Unmark as Sent" type="object" data-hotkey="k"
|
||||
attrs="{'invisible': ['|', '|', ('state', '!=', 'posted'), ('is_move_sent', '=', False), ('payment_method_code', '!=', 'manual')]}"/>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<field name="account_sale_tax_id" />
|
||||
<footer>
|
||||
<button string="Apply" class="btn btn-primary" type="object" name="action_save_onboarding_sale_tax" data-hotkey="q" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<field name="preview_move_data" widget="grouped_view_widget" class="d-block"/>
|
||||
<footer>
|
||||
<button string="Create Journal Entries" name="do_action" type="object" class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<footer>
|
||||
<button string='Reverse' name="refund_moves" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Reverse and Create Invoice" name="modify_moves" type="object" class="btn-secondary"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
class="print btn-primary o_mail_send">
|
||||
</button>
|
||||
<button string="Cancel"
|
||||
data-hotkey="z"
|
||||
data-hotkey="x"
|
||||
name="action_cancel"
|
||||
type="object"
|
||||
class="btn-secondary"/>
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
<footer>
|
||||
<button string="Create Payments" name="action_create_payments" type="object" class="oe_highlight" data-hotkey="q" attrs="{'invisible': [('total_payments_amount', '=', 1)]}"/>
|
||||
<button string="Create Payment" name="action_create_payments" type="object" class="oe_highlight" data-hotkey="q" attrs="{'invisible': [('total_payments_amount', '!=', 1)]}"/>
|
||||
<button string="Discard" class="btn btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" class="btn btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Confirm" name="resequence" type="object" default_focus="1" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</sheet>
|
||||
<footer>
|
||||
<button string="Continue" type="object" name="apply" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
@@ -34,7 +34,7 @@
|
||||
</sheet>
|
||||
<footer>
|
||||
<button string="Continue" type="object" name="apply" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<form class="o_form_label">If you unreconcile transactions, you must also verify all the actions that are linked to those transactions because they will not be disabled</form>
|
||||
<footer>
|
||||
<button string="Unreconcile" name="trans_unrec" type="object" default_focus="1" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<span class="o_form_label">All selected journal entries will be validated and posted. You won't be able to modify them afterwards.</span>
|
||||
<footer>
|
||||
<button string="Post Journal Entries" name="validate_move" type="object" default_focus="1" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<footer>
|
||||
<button name="action_save_onboarding_fiscal_year" string="Apply"
|
||||
class="oe_highlight" type="object" data-hotkey="q" />
|
||||
<button special="cancel" data-hotkey="z" string="Cancel" />
|
||||
<button special="cancel" data-hotkey="x" string="Cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
@@ -60,7 +60,7 @@
|
||||
</sheet>
|
||||
<footer>
|
||||
<button string="Create" class="oe_highlight" type="object" name="validate" data-hotkey="q"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="print_checks" string="Print" type="object" class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string='Create Debit Note' name="create_debit" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
<footer>
|
||||
<button type="object" name="enable" class="btn btn-primary"
|
||||
string="Activate" data-hotkey="q"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
</group>
|
||||
<footer>
|
||||
<div states="init">
|
||||
<button name="import_module" string="Import App" type="object" class="btn-primary"/>
|
||||
<button special="cancel" data-hotkey="z" string="Cancel" class="btn-secondary"/>
|
||||
<button name="import_module" string="Import App" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button special="cancel" data-hotkey="x" string="Cancel" class="btn-secondary"/>
|
||||
</div>
|
||||
<div states="done">
|
||||
<button name="action_module_open" string="Open Modules" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button special="cancel" data-hotkey="z" string="Close" class="btn-secondary"/>
|
||||
<button special="cancel" data-hotkey="x" string="Close" class="btn-secondary"/>
|
||||
</div>
|
||||
</footer>
|
||||
</form>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Request Activation" class="btn-primary" type="object" name="action_send_request" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
@@ -40,7 +40,7 @@
|
||||
<field name="modules_description"/>
|
||||
<footer>
|
||||
<button string="Install App" class="btn-primary" type="object" name="action_install_module" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<field name="delete" widget="radio"/>
|
||||
<footer>
|
||||
<button name="close" string="Submit" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
type="action" attrs="{'invisible': ['|', ('type', '=', 'lead'), '&',('active', '=', False),('probability', '<', 100)]}"/>
|
||||
<button name="%(crm.action_crm_lead2opportunity_partner)d" string="Convert to Opportunity" type="action" help="Convert to Opportunity"
|
||||
class="oe_highlight" attrs="{'invisible': ['|', ('type', '=', 'opportunity'), ('active', '=', False)]}" data-hotkey="v"/>
|
||||
<button name="toggle_active" string="Restore" type="object" data-hotkey="z"
|
||||
<button name="toggle_active" string="Restore" type="object" data-hotkey="x"
|
||||
attrs="{'invisible': ['|', ('probability', '>', 0), ('active', '=', True)]}"/>
|
||||
<button name="%(crm.crm_lead_lost_action)d" string="Lost" type="action" data-hotkey="l" title="Mark as lost"
|
||||
attrs="{'invisible': ['|', ('type', '=', 'opportunity'), '&', ('probability', '=', 0), ('active', '=', False)]}"/>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_lost_reason_apply" string="Mark as Lost" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<footer>
|
||||
<button name="action_update_crm_lead_probabilities" type="object"
|
||||
string="Update" class="btn-primary" data-hotkey="q"/>
|
||||
<button special="cancel" data-hotkey="z" string="Cancel"/>
|
||||
<button special="cancel" data-hotkey="x" string="Cancel"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Convert to Opportunities" name="action_mass_convert" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_apply" string="Create Opportunity" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_merge" type="object" string="Merge" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Generate Leads" name="action_submit" type="object" default_focus="1" class="btn-primary" invisible="not context.get('is_modal')" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" invisible="not context.get('is_modal')"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" invisible="not context.get('is_modal')"/>
|
||||
</footer>
|
||||
</sheet>
|
||||
</form>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<footer>
|
||||
<button name="button_confirm" invisible="not context.get('carrier_recompute')" type="object" string="Update" class="btn-primary" data-hotkey="q"/>
|
||||
<button name="button_confirm" invisible="context.get('carrier_recompute')" type="object" string="Add" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z" class="btn-secondary"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="x" class="btn-secondary"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
<field name="product_id" invisible="1"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Ok" class="btn-primary o_event_sale_js_event_configurator_ok" special="save" data-hotkey="v"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Ok" class="btn-primary o_event_sale_js_event_configurator_ok" special="save" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</sheet>
|
||||
<footer>
|
||||
<button string="Create/Update registrations" name="action_make_registration" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Skip" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Skip" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Grant Badge" type="object" name="action_grant_badge" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="z" class="btn-secondary"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="x" class="btn-secondary"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Update" type="object" name="action_update_current" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="z" class="btn-secondary"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="x" class="btn-secondary"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<footer>
|
||||
<button name="reset_account" string="Confirm" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</sheet>
|
||||
<footer>
|
||||
<button name="action_register_departure" string="Apply" type="object" class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<footer>
|
||||
<button name="action_launch" string="Launch Plan" type="object" class="oe_highlight" attrs="{'invisible': [('warning', '!=', False)]}" groups="hr.group_hr_user" data-hotkey="q"/>
|
||||
<button name="action_launch" string="Launch Plan" type="object" class="oe_highlight disabled" attrs="{'invisible': [('warning', '=', False)]}" groups="hr.group_hr_user" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -678,7 +678,7 @@
|
||||
<button name="action_approve_expense_sheets"
|
||||
string="Approve"
|
||||
type="object"
|
||||
data-hotkey="v"
|
||||
data-hotkey="q"
|
||||
context="{'validate_analytic': True}"
|
||||
attrs="{'invisible': ['|', ('can_approve', '=', False), ('state', '!=', 'submit')]}"
|
||||
class="oe_highlight o_expense_sheet_approve"/>
|
||||
@@ -711,7 +711,7 @@
|
||||
string="Reset to Draft"
|
||||
type="object"
|
||||
attrs="{'invisible': ['|', ('can_reset', '=', False), ('state', 'not in', ('submit', 'cancel', 'approve'))]}"
|
||||
data-hotkey="q"/>
|
||||
data-hotkey="k"/>
|
||||
<button name="action_reset_expense_sheets"
|
||||
string="Reset to Draft"
|
||||
type="object"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<footer>
|
||||
<button string="Refuse" class="btn-primary" name="action_refuse" type="object" attrs="{'invisible': [('sheet_ids', '=', [])]}" data-hotkey="q" />
|
||||
<button string="Approve" class="btn-secondary" name="action_approve" type="object" attrs="{'invisible': [('sheet_ids', '=', [])]}" data-hotkey="w" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<field name="reason" class="w-100"/>
|
||||
<footer>
|
||||
<button string='Refuse' name="action_refuse" type="object" class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Cancel" class="oe_link" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="oe_link" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<footer>
|
||||
<button name="action_split_expense" attrs="{'invisible': [ ('split_possible', '=', True)]}" string="Split Expense" type="object" class="oe_highlight disabled" data-hotkey="q"/>
|
||||
<button name="action_split_expense" string="Split Expense" attrs="{'invisible': [('split_possible', '=', False)]}" type="object" class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" />
|
||||
<footer>
|
||||
<button string="Reward Employee" type="object" name="action_grant_badge" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="z" class="btn-secondary"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="x" class="btn-secondary"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<t t-name="hr_holidays.FormViewDialog.buttons" t-inherit="web.FormViewDialog.ToOne.buttons" owl="1">
|
||||
<xpath expr="//button[contains(@class, 'o_form_button_save')]" position="replace">
|
||||
<button class="btn btn-primary o_form_button_save" t-on-click="saveButtonClicked" data-hotkey="c">Save</button>
|
||||
<button class="btn btn-primary o_form_button_save" t-on-click="saveButtonClicked" data-hotkey="q">Save</button>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//button[contains(@class, 'o_form_button_cancel')]" position="after">
|
||||
@@ -14,7 +14,7 @@
|
||||
<button class="btn btn-secondary" t-if="canRefuse" t-on-click="() => this.onClick('action_refuse')" data-hotkey="z">Refuse</button>
|
||||
<button class="btn btn-secondary" t-if="canApprove" t-on-click="() => this.onClick('action_approve')" data-hotkey="g">Approve</button>
|
||||
<button class="btn btn-secondary" t-if="canValidate" t-on-click="() => this.onClick('action_validate')" data-hotkey="v">Validate</button>
|
||||
<div/>
|
||||
</div>
|
||||
</xpath>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="print_report" string="Print" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -63,10 +63,10 @@
|
||||
<field name="meeting_ids" invisible="1"/>
|
||||
<field name="refuse_reason_id" invisible="1"/>
|
||||
<header>
|
||||
<button string="Create Employee" name="create_employee_from_applicant" type="object" data-hotkey="v" groups="hr_recruitment.group_hr_recruitment_user"
|
||||
<button string="Create Employee" name="create_employee_from_applicant" type="object" data-hotkey="q" groups="hr_recruitment.group_hr_recruitment_user"
|
||||
class="o_create_employee" attrs="{'invisible': ['|', '|', ('emp_id', '!=', False), ('active', '=', False), ('date_closed', '=', False)]}"/>
|
||||
<button string="Refuse" name="archive_applicant" type="object" attrs="{'invisible': [('active', '=', False)]}" data-hotkey="d"/>
|
||||
<button string="Restore" name="toggle_active" type="object" attrs="{'invisible': [('active', '=', True)]}" data-hotkey="z"/>
|
||||
<button string="Restore" name="toggle_active" type="object" attrs="{'invisible': [('active', '=', True)]}" data-hotkey="x"/>
|
||||
<field name="stage_id" widget="statusbar" options="{'clickable': '1', 'fold_field': 'fold'}" attrs="{'invisible': [('active', '=', False),('emp_id', '=', False)]}"/>
|
||||
</header>
|
||||
<sheet>
|
||||
|
||||
@@ -157,7 +157,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Create" type="object" name="close_dialog" class="btn-primary o_create_job" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<footer>
|
||||
<button name="action_refuse_reason_apply" string="Refuse" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
options="{'style-inline': true}" force_save="1"/>
|
||||
<footer>
|
||||
<button name="action_send" string="Send" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_validate" string="Print" type="object" class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z" class="btn-secondary"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="x" class="btn-secondary"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
<button string="Archive Employees" type="object" name="action_archive" class="btn btn-primary"
|
||||
attrs="{'invisible': [('has_active_employee', '=', False)]}" data-hotkey="q"/>
|
||||
<button string="See Timesheets" type="object" name="action_open_timesheets" class="btn btn-primary" groups="hr_timesheet.group_hr_timesheet_approver"
|
||||
attrs="{'invisible': [('has_active_employee', '=', True)]}" data-hotkey="x"/>
|
||||
attrs="{'invisible': [('has_active_employee', '=', True)]}" data-hotkey="w"/>
|
||||
<button string="See Timesheets" type="object" name="action_open_timesheets" class="btn btn-secondary" groups="hr_timesheet.group_hr_timesheet_approver"
|
||||
attrs="{'invisible': [('has_active_employee', '=', False)]}" data-hotkey="x"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z"/>
|
||||
attrs="{'invisible': [('has_active_employee', '=', False)]}" data-hotkey="w"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
<footer attrs="{'invisible': [('has_timesheet', '=', True)]}">
|
||||
<button string="Ok" type="object" name="action_confirm_delete" class="btn btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
string="Regenerate Work Entries"
|
||||
class="btn btn-primary disabled"
|
||||
attrs="{'invisible': [('search_criteria_completed', '=', True), ('valid', '=', True)]}"/>
|
||||
<button name="cancel_button" string="Cancel" class="btn-secondary" special="cancel"/>
|
||||
<button name="cancel_button" string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -114,8 +114,8 @@
|
||||
</notebook>
|
||||
<footer>
|
||||
<button string="Generate" name="generate_fec" type="object"
|
||||
class="oe_highlight"/>
|
||||
<button string="Cancel" class="btn btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<button string="Cancel"
|
||||
class="btn btn-secondary"
|
||||
special="cancel"
|
||||
data-hotkey="z"/>
|
||||
data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Generate" type="object" name="action_generate" class="btn btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="z" class="btn btn-secondary"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="x" class="btn btn-secondary"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Request" type="object" name="validate" class="btn btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="z" class="btn btn-secondary"/>
|
||||
<button string="Cancel" special="cancel" data-hotkey="x" class="btn btn-secondary"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
</span>
|
||||
<field name="program_type" nolabel="1"/>
|
||||
</button>
|
||||
<button special="cancel" data-hotkey="z" string="Cancel"/>
|
||||
<button special="cancel" data-hotkey="x" string="Cancel"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -274,9 +274,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
<button string="Save" special="save" data-hotkey="v" class="oe_highlight" invisible="not context.get('active_id', False)"/>
|
||||
<button string="Save" special="save" data-hotkey="q" class="oe_highlight" invisible="not context.get('active_id', False)"/>
|
||||
<button string="Add To Cart" name="add_to_cart" type="object" class="oe_highlight" invisible="context.get('active_id', False)" attrs="{'invisible': [('order_deadline_passed', '=', True)]}" data-hotkey="w"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -142,12 +142,12 @@
|
||||
type="object" class="btn-secondary" data-hotkey="w"
|
||||
context="{'mail_activity_quick_update': True}"/>
|
||||
<button attrs="{'invisible': [('chaining_type', '=', 'trigger')]}" string="Done & Schedule Next" name="action_done_schedule_next"
|
||||
type="object" class="btn-secondary" data-hotkey="x"
|
||||
type="object" class="btn-secondary" data-hotkey="q"
|
||||
context="{'mail_activity_quick_update': True}"/>
|
||||
<button attrs="{'invisible': [('chaining_type', '=', 'suggest')]}" string="Done & Launch Next" name="action_done_schedule_next"
|
||||
type="object" class="btn-secondary" data-hotkey="x"
|
||||
type="object" class="btn-secondary" data-hotkey="q"
|
||||
context="{'mail_activity_quick_update': True}"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</sheet>
|
||||
</form>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_unblacklist_apply" string="Confirm" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
<button string="Log" name="action_send_mail"
|
||||
type="object" class="btn-primary" data-hotkey="q"
|
||||
attrs="{'invisible': [('subtype_is_log', '=', False)]}"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
<button icon="fa-lg fa-save" type="object"
|
||||
name="action_save_as_template" string="Save as new template"
|
||||
attrs="{'invisible': [('can_edit_body', '=', False)]}"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
attrs="{'invisible': [('can_resend', '=', True)]}" data-hotkey="w"/>
|
||||
<button string="Ignore all" name="cancel_mail_action" type="object" class="btn-secondary"
|
||||
attrs="{'invisible': [('can_resend', '=', False)]}" data-hotkey="w"/>
|
||||
<button string="Close" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Close" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
</group>
|
||||
</sheet>
|
||||
<footer>
|
||||
<button string="Close" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Close" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<footer>
|
||||
<button string="Reset Template" class="btn btn-primary" type="object" name="reset_template" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<footer>
|
||||
<button string="Add Followers"
|
||||
name="add_followers" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -60,16 +60,16 @@
|
||||
<form string="Mailing" class="o_mass_mailing_mailing_form">
|
||||
<header class="pt-3">
|
||||
<button name="action_launch" type="object" class="oe_highlight" string="Send"
|
||||
attrs="{'invisible': [('state', 'in', ('in_queue', 'sending', 'done'))]}" data-hotkey="v"
|
||||
attrs="{'invisible': [('state', 'in', ('in_queue', 'sending', 'done'))]}" data-hotkey="q"
|
||||
confirm="This will send the email to all recipients. Are you sure you want to proceed?"
|
||||
confirm-title="Send Confirmation" confirm-label="Send to all"
|
||||
/>
|
||||
<button name="action_schedule" type="object" class="btn-secondary" string="Schedule"
|
||||
attrs="{'invisible': [('state', 'in', ('in_queue', 'sending', 'done'))]}" data-hotkey="x"/>
|
||||
attrs="{'invisible': [('state', 'in', ('in_queue', 'sending', 'done'))]}" data-hotkey="v"/>
|
||||
<button name="action_duplicate" type="object" class="btn-secondary" string="Duplicate"
|
||||
data-hotkey="d" attrs="{'invisible': [('state', '!=', 'done')]}"/>
|
||||
<button name="action_test" type="object" class="btn-secondary" string="Test" data-hotkey="k"/>
|
||||
<button name="action_cancel" type="object" attrs="{'invisible': [('state', '!=', 'in_queue')]}" class="btn-secondary" string="Cancel" data-hotkey="z"/>
|
||||
<button name="action_cancel" type="object" attrs="{'invisible': [('state', '!=', 'in_queue')]}" class="btn-secondary" string="Cancel" data-hotkey="x"/>
|
||||
<button name="action_retry_failed" type="object" attrs="{'invisible': ['|', ('state', '!=', 'done'), ('failed', '=', 0)]}" class="oe_highlight" string="Retry" data-hotkey="y"/>
|
||||
|
||||
<div class="alert alert-info mb-2 text-center" role="alert"
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
</p>
|
||||
<footer>
|
||||
<button string="Import" type="object" name="action_import"
|
||||
class="btn-primary" data-hotkey="i"/>
|
||||
class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary"
|
||||
special="cancel" data-hotkey="z"/>
|
||||
special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<footer>
|
||||
<button string="Add" name="action_add_contacts" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Add and Send Mailing" name="action_add_contacts_and_send_mailing" type="object" class="btn-primary" data-hotkey="w"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</field>
|
||||
<footer>
|
||||
<button name="action_mailing_lists_merge" type="object" string="Merge" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Schedule" name="action_schedule_date" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard " class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard " class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Send test" name="send_mail_test" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Send" name="action_send_sms" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Invoice Membership" name="membership_invoice" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<footer>
|
||||
<button name="reset_account" string="Confirm" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -119,10 +119,10 @@
|
||||
('move_raw_ids', '!=', []),
|
||||
('show_produce_all', '=', False)]}" string="Produce All" type="object" class="oe_highlight" data-hotkey="g"
|
||||
confirm="There are no components to consume. Are you still sure you want to continue?"/>
|
||||
<button name="action_confirm" attrs="{'invisible': [('state', '!=', 'draft')]}" string="Confirm" type="object" class="oe_highlight" data-hotkey="v"/>
|
||||
<button name="button_plan" attrs="{'invisible': ['|', '|', ('state', 'not in', ('confirmed', 'progress', 'to_close')), ('workorder_ids', '=', []), ('is_planned', '=', True)]}" type="object" string="Plan" class="oe_highlight" data-hotkey="x"/>
|
||||
<button name="button_unplan" type="object" string="Unplan" attrs="{'invisible': ['|', ('is_planned', '=', False), ('state', '=', 'cancel')]}" data-hotkey="x"/>
|
||||
<button name="action_assign" attrs="{'invisible': ['|', ('state', 'in', ('draft', 'done', 'cancel')), ('reserve_visible', '=', False)]}" string="Check availability" type="object" data-hotkey="q"/>
|
||||
<button name="action_confirm" attrs="{'invisible': [('state', '!=', 'draft')]}" string="Confirm" type="object" class="oe_highlight" data-hotkey="q"/>
|
||||
<button name="button_plan" attrs="{'invisible': ['|', '|', ('state', 'not in', ('confirmed', 'progress', 'to_close')), ('workorder_ids', '=', []), ('is_planned', '=', True)]}" type="object" string="Plan" class="oe_highlight" data-hotkey="z"/>
|
||||
<button name="button_unplan" type="object" string="Unplan" attrs="{'invisible': ['|', ('is_planned', '=', False), ('state', '=', 'cancel')]}" data-hotkey="z"/>
|
||||
<button name="action_assign" attrs="{'invisible': ['|', ('state', 'in', ('draft', 'done', 'cancel')), ('reserve_visible', '=', False)]}" string="Check availability" type="object" data-hotkey="c"/>
|
||||
<button name="do_unreserve" type="object" string="Unreserve" attrs="{'invisible': [('unreserve_visible', '=', False)]}" data-hotkey="w"/>
|
||||
<button name="button_scrap" type="object" string="Scrap" attrs="{'invisible': [('state', 'in', ('cancel', 'draft'))]}" data-hotkey="y"/>
|
||||
<field name="state" widget="statusbar" statusbar_visible="draft,confirmed,done"/>
|
||||
@@ -130,9 +130,9 @@
|
||||
<button name="action_toggle_is_locked" attrs="{'invisible': ['|', ('show_lock', '=', False), ('is_locked', '=', True)]}" string="Lock" groups="mrp.group_mrp_manager" type="object" help="Lock the manufacturing order to prevent changes to what has been consumed or produced." data-hotkey="l"/>
|
||||
<field name="show_serial_mass_produce" invisible="1"/>
|
||||
<button name="action_serial_mass_produce_wizard" attrs="{'invisible': [('show_serial_mass_produce', '=', False)]}" string="Mass Produce" type="object"/>
|
||||
<button name="action_cancel" type="object" string="Cancel" data-hotkey="z"
|
||||
<button name="action_cancel" type="object" string="Cancel" data-hotkey="x"
|
||||
attrs="{'invisible': ['|', '|', ('id', '=', False), ('state', 'in', ('done', 'cancel')), ('confirm_cancel', '=', True)]}"/>
|
||||
<button name="action_cancel" type="object" string="Cancel" data-hotkey="z"
|
||||
<button name="action_cancel" type="object" string="Cancel" data-hotkey="x"
|
||||
attrs="{'invisible': ['|', '|', ('id', '=', False), ('state', 'in', ('done', 'cancel')), ('confirm_cancel', '=', False)]}"
|
||||
confirm="Some product moves have already been confirmed, this manufacturing order can't be completely cancelled. Are you still sure you want to process?"/>
|
||||
<button name="button_unbuild" type="object" string="Unbuild" attrs="{'invisible': [('state', '!=', 'done')]}" data-hotkey="shift+v"/>
|
||||
|
||||
@@ -166,7 +166,7 @@
|
||||
</sheet>
|
||||
<footer class="oe_edit_only">
|
||||
<button name="action_validate" string="Unbuild" type="object" states="draft" class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<footer>
|
||||
<button name="change_prod_qty" string="Set Quantity" data-hotkey="q"
|
||||
colspan="1" type="object" class="btn-primary"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<button name="action_confirm" string="Confirm" attrs="{'invisible': [('consumption', '=', 'strict')]}" data-hotkey="q"
|
||||
colspan="1" type="object" class="btn-primary"/>
|
||||
<button name="action_set_qty" string="Set Quantities & Validate" colspan="1" type="object" class="btn-secondary"/>
|
||||
<button name="action_cancel" string="Discard" data-hotkey="w"
|
||||
<button name="action_cancel" string="Discard" data-hotkey="x"
|
||||
colspan="1" type="object" class="btn-secondary"/>
|
||||
</footer>
|
||||
</form>
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
colspan="1" type="object" class="btn-primary" attrs="{'invisible': [('show_backorder_lines', '!=', False)]}"/>
|
||||
<button name="action_backorder" string="Validate" data-hotkey="q"
|
||||
colspan="1" type="object" class="btn-primary" attrs="{'invisible': [('show_backorder_lines', '=', False)]}"/>
|
||||
<button name="action_close_mo" type="object" string="No Backorder" attrs="{'invisible': [('show_backorder_lines', '!=', False)]}" data-hotkey="x"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button name="action_close_mo" type="object" string="No Backorder" attrs="{'invisible': [('show_backorder_lines', '!=', False)]}" data-hotkey="w"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
</tree>
|
||||
</field>
|
||||
<footer>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
@@ -63,8 +63,8 @@
|
||||
<field name="valid_details" invisible="1"/>
|
||||
<footer>
|
||||
<button string="Split" class="btn-primary" type="object" name="action_split" data-hotkey="q" attrs="{'invisible': [('valid_details', '=', False)]}"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z" attrs="{'invisible': [('production_split_multi_id', '!=', False)]}"/>
|
||||
<button string="Discard" class="btn-secondary" type="object" name="action_return_to_list" data-hotkey="z" attrs="{'invisible': [('production_split_multi_id', '=', False)]}"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" attrs="{'invisible': [('production_split_multi_id', '!=', False)]}"/>
|
||||
<button string="Discard" class="btn-secondary" type="object" name="action_return_to_list" data-hotkey="x" attrs="{'invisible': [('production_split_multi_id', '=', False)]}"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="button_block" string="Block" type="object" class="btn-danger text-uppercase" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='process']" position="after">
|
||||
<!-- From Produce Product wizard -->
|
||||
<button name="confirm_produce"
|
||||
<button name="confirm_produce" data-hotkey="q"
|
||||
string="Confirm"
|
||||
type="object"
|
||||
attrs="{'invisible': [('production_ids', '=', [])]}"
|
||||
class="btn-primary"/>
|
||||
<button special="cancel" data-hotkey="z"
|
||||
<button special="cancel" data-hotkey="x"
|
||||
string="Discard"
|
||||
attrs="{'invisible': [('production_ids', '=', [])]}"
|
||||
class="btn-secondary"/>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<footer>
|
||||
<button name="subcontracting_record_component" attrs="{'invisible': ['|', ('state', '=', 'to_close'), ('qty_producing', '<', 0.001)]}" string="Continue" type="object" class="oe_highlight" data-hotkey="q"/>
|
||||
<button name="subcontracting_record_component" attrs="{'invisible': [('state', '!=', 'to_close')]}" string="Record Production" type="object" class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('oe_chatter')]" position="replace"/>
|
||||
@@ -109,4 +109,3 @@
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
|
||||
@@ -40,11 +40,12 @@
|
||||
string="Generate and Copy Payment Link"
|
||||
readonly="1"
|
||||
disabled="[('warning_message', '!=', '')]"
|
||||
widget="CopyClipboardButton"/>
|
||||
widget="CopyClipboardButton"
|
||||
data-hotkey="q"/>
|
||||
<button string="Close"
|
||||
class="btn btn-secondary rounded-2"
|
||||
special="cancel"
|
||||
data-hotkey="z"/>
|
||||
data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<footer>
|
||||
<button name="add_payment_methods" string="Apply" class="oe_highlight"
|
||||
type="object" data-hotkey="q" />
|
||||
<button special="cancel" data-hotkey="z" string="Cancel" />
|
||||
<button special="cancel" data-hotkey="x" string="Cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_unblacklist_apply" string="Confirm" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="close_session" string="Close Session" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button special="cancel" data-hotkey="z" string="Cancel" class="btn-secondary" />
|
||||
<button special="cancel" data-hotkey="x" string="Cancel" class="btn-secondary" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="generate_report" string="Print" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="check" string="Make Payment" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button special="cancel" data-hotkey="z" string="Cancel" class="btn-secondary"/>
|
||||
<button special="cancel" data-hotkey="x" string="Cancel" class="btn-secondary"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Send" name="action_send_mail" attrs="{'invisible': [('access_warning', '!=', '')]}" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-default" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-default" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
class="btn-secondary"/>
|
||||
<button string="Discard"
|
||||
class="btn-secondary"
|
||||
special="cancel" data-hotkey="z"/>
|
||||
special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_open_window" string="Open Margins" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -338,7 +338,7 @@
|
||||
<xpath expr="//div[@name='alias_def']" position="after">
|
||||
<footer>
|
||||
<button string="Create project" name="action_view_tasks" type="object" class="btn-primary o_open_tasks" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<footer>
|
||||
<button string="Archive Stages" type="object" name="action_archive" class="btn btn-primary" attrs="{'invisible': ['|', ('stages_active', '=', False), ('projects_count', '=', 0)]}" data-hotkey="q"/>
|
||||
<button string="Delete" type="object" name="action_unlink" class="btn btn-primary" attrs="{'invisible': [('projects_count', '>', 0)]}" data-hotkey="w"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z" t-att-class="stages_active or projects_count ? '' : 'btn btn-primary'" />
|
||||
<button string="Discard" special="cancel" data-hotkey="x" t-att-class="stages_active or projects_count ? '' : 'btn btn-primary'" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<field name="note" placeholder="Add a note" nolabel="1"/>
|
||||
<footer>
|
||||
<button string="Send" name="action_send_mail" attrs="{'invisible': [('access_warning', '!=', '')]}" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<footer>
|
||||
<button string="Archive Stages" type="object" name="action_archive" class="btn btn-primary" attrs="{'invisible': ['|', ('stages_active', '=', False), ('tasks_count', '=', 0)]}" data-hotkey="q"/>
|
||||
<button string="Delete" type="object" name="action_unlink" class="btn btn-primary" attrs="{'invisible': [('tasks_count', '>', 0)]}" data-hotkey="w"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
<footer>
|
||||
<button string="Confirm" type="object" name="action_confirm" class="btn btn-primary" data-hotkey="q"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z" />
|
||||
<button string="Discard" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -135,12 +135,12 @@
|
||||
<header>
|
||||
<button name="action_rfq_send" states="draft" string="Send by Email" type="object" context="{'send_rfq':True}" class="oe_highlight" data-hotkey="g"/>
|
||||
<button name="print_quotation" string="Print RFQ" type="object" states="draft" class="oe_highlight" groups="base.group_user" data-hotkey="k"/>
|
||||
<button name="button_confirm" type="object" states="sent" string="Confirm Order" context="{'validate_analytic': True}" class="oe_highlight" id="bid_confirm" data-hotkey="v"/>
|
||||
<button name="button_confirm" type="object" states="sent" string="Confirm Order" context="{'validate_analytic': True}" class="oe_highlight" id="bid_confirm" data-hotkey="q"/>
|
||||
<button name="button_approve" type="object" states='to approve' string="Approve Order" class="oe_highlight" groups="purchase.group_purchase_manager" data-hotkey="z"/>
|
||||
<button name="action_create_invoice" string="Create Bill" type="object" class="oe_highlight" context="{'create_bill':True}" attrs="{'invisible': ['|', ('state', 'not in', ('purchase', 'done')), ('invoice_status', 'in', ('no', 'invoiced'))]}" data-hotkey="w"/>
|
||||
<button name="action_rfq_send" states="sent" string="Re-Send by Email" type="object" context="{'send_rfq':True}" data-hotkey="g"/>
|
||||
<button name="print_quotation" string="Print RFQ" type="object" states="sent" groups="base.group_user" data-hotkey="k"/>
|
||||
<button name="button_confirm" type="object" states="draft" context="{'validate_analytic': True}" string="Confirm Order" id="draft_confirm"/>
|
||||
<button name="button_confirm" type="object" states="draft" context="{'validate_analytic': True}" string="Confirm Order" id="draft_confirm" data-hotkey="q"/>
|
||||
<button name="action_rfq_send" states="purchase" string="Send PO by Email" type="object" context="{'send_rfq':False}" data-hotkey="g"/>
|
||||
<button name="confirm_reminder_mail" string="Confirm Receipt Date" type="object" attrs="{'invisible': ['|','|', ('state', 'not in', ('purchase', 'done')), ('mail_reminder_confirmed', '=', True), ('date_planned', '=', False)]}" groups="base.group_no_one" data-hotkey="o"/>
|
||||
<button name="action_create_invoice" string="Create Bill" type="object" context="{'create_bill':True}" attrs="{'invisible': ['|', '|', ('state', 'not in', ('purchase', 'done')), ('invoice_status', 'not in', ('no', 'invoiced')), ('order_line', '=', [])]}" data-hotkey="w"/>
|
||||
|
||||
@@ -39,11 +39,11 @@
|
||||
<button name="action_validate" states="draft" type="object" string="Confirm Repair" class="oe_highlight" data-hotkey="v"/>
|
||||
<button name="action_repair_start" attrs="{'invisible': ['&', ('state','!=','confirmed'), '!', '&', ('state','=','ready'), ('invoice_method','=','b4repair')]}"
|
||||
type="object" string="Start Repair" class="oe_highlight" data-hotkey="q"/>
|
||||
<button name="action_repair_end" states="under_repair" type="object" string="End Repair" class="oe_highlight" data-hotkey="x"/>
|
||||
<button name="action_repair_end" states="under_repair" type="object" string="End Repair" class="oe_highlight" data-hotkey="w"/>
|
||||
<button name="action_repair_invoice_create" type="object" string="Create Invoice" class="oe_highlight" groups="account.group_account_invoice" attrs="{'invisible': ['|', ('state', '!=', '2binvoiced'), ('invoice_id', '!=', False)]}" data-hotkey="w"/>
|
||||
<button name="action_send_mail" states="draft" string="Send Quotation" type="object" data-hotkey="g"/>
|
||||
<button name="print_repair_order" states="draft" string="Print Quotation" type="object" data-hotkey="y"/>
|
||||
<button name="action_repair_cancel_draft" states="cancel" string="Set to Draft" type="object" data-hotkey="z"/>
|
||||
<button name="action_repair_cancel_draft" states="cancel" string="Set to Draft" type="object" data-hotkey="x"/>
|
||||
<button name="action_repair_cancel" string="Cancel Repair" type="object" confirm="Draft invoices for this order will be cancelled. Do you confirm the action?" attrs="{'invisible':['|', ('state', 'in', ('cancel', 'done')), ('invoice_state', '!=', 'draft')]}" data-hotkey="l"/>
|
||||
<button name="action_repair_cancel" string="Cancel Repair" type="object" attrs="{'invisible': ['|', ('state','in', ('cancel','done')), ('invoice_state', '=', 'draft')]}" data-hotkey="l"/>
|
||||
<field name="state" widget="statusbar" statusbar_visible="draft,confirmed,done"/>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="make_invoices" string="Create Invoice" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -236,19 +236,19 @@
|
||||
confirm="Are you sure you want to void the authorized transaction? This action can't be undone."
|
||||
attrs="{'invisible': [('authorized_transaction_ids', '=', [])]}"/>
|
||||
<button id="create_invoice" name="%(sale.action_view_sale_advance_payment_inv)d" string="Create Invoice"
|
||||
type="action" class="btn-primary" data-hotkey="q"
|
||||
type="action" class="btn-primary" data-hotkey="c"
|
||||
attrs="{'invisible': [('invoice_status', '!=', 'to invoice')]}"/>
|
||||
<button id="create_invoice_percentage" name="%(sale.action_view_sale_advance_payment_inv)d" string="Create Invoice"
|
||||
type="action" context="{'default_advance_payment_method': 'percentage'}" data-hotkey="q"
|
||||
type="action" context="{'default_advance_payment_method': 'percentage'}" data-hotkey="c"
|
||||
attrs="{'invisible': ['|',('invoice_status', '!=', 'no'), ('state', '!=', 'sale')]}"/>
|
||||
<button name="action_quotation_send" string="Send by Email" type="object" states="draft" class="btn-primary" data-hotkey="g" context="{'validate_analytic': True}"/>
|
||||
<button name="action_quotation_send" type="object" string="Send PRO-FORMA Invoice"
|
||||
groups="sale.group_proforma_sales" class="btn-primary"
|
||||
attrs="{'invisible': ['|', ('state', '!=', 'draft'), ('invoice_count','>=',1)]}" context="{'proforma': True, 'validate_analytic': True}"/>
|
||||
<button name="action_confirm" id="action_confirm" data-hotkey="v"
|
||||
<button name="action_confirm" id="action_confirm" data-hotkey="q"
|
||||
string="Confirm" class="btn-primary" type="object" context="{'validate_analytic': True}"
|
||||
attrs="{'invisible': [('state', 'not in', ['sent'])]}"/>
|
||||
<button name="action_confirm" data-hotkey="v"
|
||||
<button name="action_confirm" data-hotkey="q"
|
||||
string="Confirm" type="object" context="{'validate_analytic': True}"
|
||||
attrs="{'invisible': [('state', 'not in', ['draft'])]}"/>
|
||||
<button name="action_quotation_send" type="object" string="Send PRO-FORMA Invoice" groups="sale.group_proforma_sales" attrs="{'invisible': ['|', ('state', '=', 'draft'), ('invoice_count','>=',1)]}" context="{'proforma': True, 'validate_analytic': True}"/>
|
||||
@@ -258,7 +258,7 @@
|
||||
<button name="action_unlock" type="object" string="Unlock"
|
||||
attrs="{'invisible': [('locked', '=', False)]}" groups="sales_team.group_sale_manager"/>
|
||||
<button name="action_preview_sale_order" string="Preview" type="object" class="btn-secondary"/>
|
||||
<button name="action_cancel" type="object" string="Cancel" attrs="{'invisible': ['|', ('state', 'not in', ['draft', 'sent','sale']), ('id', '=', False)]}" data-hotkey="z"/>
|
||||
<button name="action_cancel" type="object" string="Cancel" attrs="{'invisible': ['|', ('state', 'not in', ['draft', 'sent','sale']), ('id', '=', False)]}" data-hotkey="x"/>
|
||||
<button name="action_draft" states="cancel" type="object" string="Set to Quotation" data-hotkey="w"/>
|
||||
<t groups="sale.group_auto_done_setting">
|
||||
<button name="action_lock" type="object" string="Lock"
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
id="create_invoice_open"
|
||||
string="Create Draft Invoice"
|
||||
class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_apply" string="Confirm" type="object" class="btn-primary" data-hotkey="q"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</sheet>
|
||||
<footer>
|
||||
<button type="object" name="action_apply" string="Apply" class="btn btn-primary" data-hotkey="q"/>
|
||||
<button special="cancel" string="Discard" class="btn btn-secondary" data-hotkey="z"/>
|
||||
<button special="cancel" string="Discard" class="btn btn-secondary" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -29,10 +29,10 @@
|
||||
<button type="object" name="action_apply" string="Apply" class="btn btn-primary"
|
||||
attrs="{'invisible': [('reward_ids', '=', [])]}" data-hotkey="q"/>
|
||||
<button special="cancel" string="Discard" class="btn btn-secondary"
|
||||
attrs="{'invisible': [('reward_ids', '=', [])]}" data-hotkey="z"/>
|
||||
attrs="{'invisible': [('reward_ids', '=', [])]}" data-hotkey="x"/>
|
||||
<!-- No rewards -->
|
||||
<button special="cancel" string="Discard" class="btn btn-primary"
|
||||
attrs="{'invisible': [('reward_ids', '!=', [])]}" data-hotkey="z"/>
|
||||
attrs="{'invisible': [('reward_ids', '!=', [])]}" data-hotkey="x"/>
|
||||
<button type="action" name="%(loyalty.loyalty_program_discount_loyalty_action)d" string="Coupons & Loyalty" class="btn btn-secondary float-end"
|
||||
attrs="{'invisible': [('reward_ids', '!=', [])]}" groups="sales_team.group_sale_manager" data-hotkey="q"/>
|
||||
</footer>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Create Invoice" type="object" name="action_create_invoice" class="oe_highlight" data-hotkey="q"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="z" type="object" class="btn btn-secondary oe_inline"/>
|
||||
<button string="Discard" special="cancel" data-hotkey="x" type="object" class="btn btn-secondary oe_inline"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user