mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
FIX view
This commit is contained in:
committed by
Carlos Roca
parent
b0cc27186c
commit
bb0b8c0edb
@@ -6,11 +6,11 @@
|
||||
<field name="model">printing.job</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Job">
|
||||
<header>
|
||||
<button name="action_cancel" type="object" string="Cancel" attrs="{'invisible': [('job_state', 'in', ('canceled', 'aborted', 'completed'))]}"/>
|
||||
<field name="job_state" widget="statusbar"/>
|
||||
</header>
|
||||
<sheet>
|
||||
<header>
|
||||
<button name="action_cancel" type="object" string="Cancel" attrs="{'invisible': [('job_state', 'in', ('canceled', 'aborted', 'completed'))]}"/>
|
||||
<field name="job_state" widget="statusbar"/>
|
||||
</header>
|
||||
<group>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
<field name="model">printing.printer</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Printers">
|
||||
<header>
|
||||
<button name="enable" type="object" string="Enable" attrs="{'invisible': [('status', 'in', ('available', 'printing'))]}"/>
|
||||
<button name="disable" type="object" string="Disable" attrs="{'invisible': [('status', '=', 'unavailable')]}"/>
|
||||
<button name="action_cancel_all_jobs" type="object" string="Cancel all running jobs" confirm="Are you sure to want to cancel all jobs of this printer?"/>
|
||||
</header>
|
||||
<sheet>
|
||||
<header>
|
||||
<button name="enable" type="object" string="Enable" attrs="{'invisible': [('status', 'in', ('available', 'printing'))]}"/>
|
||||
<button name="disable" type="object" string="Disable" attrs="{'invisible': [('status', '=', 'unavailable')]}"/>
|
||||
<button name="action_cancel_all_jobs" type="object" string="Cancel all running jobs" confirm="Are you sure to want to cancel all jobs of this printer?"/>
|
||||
</header>
|
||||
<div class="oe_title">
|
||||
<h1>
|
||||
<field name="name"/>
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
<field name="model">printing.server</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Servers">
|
||||
<header>
|
||||
<button name="action_update_printers" type="object" string="Update Printers"/>
|
||||
<button name="action_update_jobs" type="object" string="Update Jobs"/>
|
||||
</header>
|
||||
<sheet>
|
||||
<header>
|
||||
<button name="action_update_printers" type="object" string="Update Printers"/>
|
||||
<button name="action_update_jobs" type="object" string="Update Jobs"/>
|
||||
</header>
|
||||
<div class="oe_title">
|
||||
<h1>
|
||||
<field name="name"/>
|
||||
|
||||
Reference in New Issue
Block a user