[IMP] event, account_check_writing, point_of_sale: paperformat_id field records are set directly in the report declaration

This commit is contained in:
Damien Bouvy
2015-02-02 17:32:34 +01:00
parent 91b2ec771f
commit 7025a05a64
3 changed files with 4 additions and 11 deletions
@@ -8,10 +8,7 @@
report_type="qweb-pdf"
name="account_check_writing.report_check"
file="account_check_writing.report_check"
paperformat="account_check_writing.paperformat_frenchcheck"
/>
<record id="action_report_check" model="ir.actions.report.xml">
<field name="paperformat_id" ref="account_check_writing.paperformat_frenchcheck"/>
</record>
</data>
</openerp>
+2 -4
View File
@@ -21,10 +21,8 @@
<report id="action_report_registration_badge" model="event.registration"
string="Badge" report_type="qweb-html"
name="event.report_registration_badge"
file="event.report_registration_badge"/>
<record model="ir.actions.report.xml" id="event.action_report_registration_badge">
<field name="paperformat_id" ref="event.paperformat_euro_lowmargin"/>
</record>
file="event.report_registration_badge"
paperformat="event.paperformat_euro_lowmargin"/>
</data>
</openerp>
@@ -25,10 +25,8 @@
report_type="qweb-pdf"
name="point_of_sale.report_receipt"
file="point_of_sale.report_receipt"
paperformat="point_of_sale.paperformat_posreceipt"
/>
<record id="action_report_pos_receipt" model="ir.actions.report.xml">
<field name="paperformat_id" ref="point_of_sale.paperformat_posreceipt"/>
</record>
<report
id="pos_lines_report"