mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] allow to create report.paperformat.label without creating each time report.paperformat item [FIX] Remove useless data that are specific Label: Agipa 114016 [REF] simplify UI, removing custom entry for ir.actions.server [ADD] migration script to migrate name field [IMP] Add label_background_color to allow to easily define background-color for label. (That can be usefull to debug label positions) [DOC] update screenshots to new V16 versions [IMP] Set body and html margin to 0 to to able to be predictive when designing a label sheet [IMP] replace style by class in the label template, reducing the size of the html code generated. [IMP] replace label_template by label_template_view_id on the ir.actions.server model, removing useless xml and python code. (provide migration scripts) [REF] Split wizard file into wizard and wizard line file, following OCA guidelines
43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
|
|
<record id="report_label_wizard_view_form" model="ir.ui.view">
|
|
<field name="model">report.label.wizard</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Print Labels">
|
|
<sheet>
|
|
<group>
|
|
</group>
|
|
<field name="line_ids">
|
|
<tree editable="bottom" create="false">
|
|
<field name="sequence" widget="handle" />
|
|
<field name="res_id" invisible="1" />
|
|
<field name="res_name" string="Record" />
|
|
<field name="quantity" />
|
|
</tree>
|
|
</field>
|
|
<group name="settings" string="Settings">
|
|
<group>
|
|
<field name="offset" />
|
|
<field name="model_id" invisible="1" />
|
|
<field name="label_paperformat_id" />
|
|
<field name="label_template_view_id" invisible="1" />
|
|
</group>
|
|
</group>
|
|
</sheet>
|
|
<footer>
|
|
<button
|
|
name="print_report"
|
|
string="Print"
|
|
type="object"
|
|
icon="fa-print"
|
|
class="oe_highlight"
|
|
/>
|
|
<button special="cancel" string="Cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|