mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Added custom options module for printers by report
corrections for travis tests fix for flake8 errors and travis tests added new sections and rapleced maintainers added USAGE section in readme + bug corection for update of printers changed copyrights updated manifest and fix for case of false ppd
This commit is contained in:
19
printer_custom_options/views/printing_printer.xml
Executable file
19
printer_custom_options/views/printing_printer.xml
Executable file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="printing_printer_view_form">
|
||||
<field name="name">printing.printer.form</field>
|
||||
<field name="model">printing.printer</field>
|
||||
<field name="inherit_id" ref="base_report_to_printer.printing_printer_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//sheet/group[3]" position="after">
|
||||
<group string="Printer Options Selected">
|
||||
<field name="printer_options" widget="many2many_tags"
|
||||
domain="[('printer_id', '=', active_id)]"/>
|
||||
<field name="printer_option_choices"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user