mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Move base_report_to_printer to root from __unported__
This commit is contained in:
committed by
Sylvain GARANCHER
parent
e49f662403
commit
0f7bb5f8d6
20
base_report_to_printer/printing_data.xml
Normal file
20
base_report_to_printer/printing_data.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<!-- printing.action -->
|
||||
<record model="printing.action" id="printing_action_1">
|
||||
<field name="name">Send to Printer</field>
|
||||
<field name="type">server</field>
|
||||
</record>
|
||||
<record model="printing.action" id="printing_action_2">
|
||||
<field name="name">Send to Client</field>
|
||||
<field name="type">client</field>
|
||||
</record>
|
||||
<!-- properties -->
|
||||
<record forcecreate="True" id="property_printing_action" model="ir.property">
|
||||
<field name="name">property_printing_action</field>
|
||||
<field name="fields_id" search="[('model','=','ir.actions.report.xml'),('name','=','property_printing_action')]"/>
|
||||
<field name="value" eval="'printing.action,'+str(printing_action_2)"/>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user