[FIX] report: paper format

Make paper format mandatory on the company. If no paper format is
defined, the PDF created may have an unexpected format.

opw-770173
This commit is contained in:
Nicolas Martinelli
2017-09-11 15:46:53 +02:00
parent 2e292a21e6
commit 0327f3e467
@@ -9,7 +9,7 @@
<group name="report" position="inside">
<label for="paperformat_id"/>
<div>
<field name="paperformat_id" class="oe_inline"/>
<field name="paperformat_id" class="oe_inline" required="1"/>
<button name="%(action_report_internalpreview)d" string="Preview Internal Report" type="action"/>
<button name="%(action_report_externalpreview)d" string="Preview External Report" type="action"/>
<button name="edit_external_header" string="Edit external header" type="object" class="oe_link"/>