mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Add the trays in printing.report.xml.action view
So they can be configured per user and per report
This commit is contained in:
committed by
Graeme Gellatly
parent
053e8ed0a0
commit
e13513e667
@@ -30,6 +30,7 @@
|
|||||||
'users_view.xml',
|
'users_view.xml',
|
||||||
'ir_report_view.xml',
|
'ir_report_view.xml',
|
||||||
'printer_view.xml',
|
'printer_view.xml',
|
||||||
|
'report_xml_action_view.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
],
|
],
|
||||||
'test': [],
|
'test': [],
|
||||||
|
|||||||
25
printer_tray/report_xml_action_view.xml
Normal file
25
printer_tray/report_xml_action_view.xml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<openerp>
|
||||||
|
<data noupdate="0">
|
||||||
|
<record id="view_printing_report_xml_action_form" model="ir.ui.view">
|
||||||
|
<field name="name">printing.report.xml.action.form</field>
|
||||||
|
<field name="model">printing.report.xml.action</field>
|
||||||
|
<field name="inherit_id" ref="base_report_to_printer.printing_report_xml_action_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//field[@name='printer_id']" position="after">
|
||||||
|
<field name="printer_tray_id"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="view_printing_report_xml_action_tree" model="ir.ui.view">
|
||||||
|
<field name="name">printing.report.xml.action.form</field>
|
||||||
|
<field name="model">printing.report.xml.action</field>
|
||||||
|
<field name="inherit_id" ref="base_report_to_printer.printing_report_xml_action_tree"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//field[@name='printer_id']" position="after">
|
||||||
|
<field name="printer_tray_id"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</openerp>
|
||||||
Reference in New Issue
Block a user