Files
public/ruodoo_rsbu_mil/data/docx_templates.xml

57 lines
3.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="0">
<!-- Форма 6 — отчёт о численности в запасе. -->
<record id="docx_template_mil_form6" model="docx.template">
<field name="name">Воинский учёт — Форма 6 (DOCX)</field>
<field name="report_type">docx-docx</field>
<field name="model">ruodoo.rsbu.mil.report</field>
<field name="docx_output_type">docx</field>
<field name="global_template" eval="True"/>
<field name="filename_pattern">'Форма 6 ' + (object.report_date and object.report_date.strftime('%d.%m.%Y') or '')</field>
<field name="report_docx_template" type="base64"
file="ruodoo_rsbu_mil/static/src/docx/mil_form6.docx"/>
<field name="report_docx_template_filename">mil_form6.docx</field>
</record>
<!-- Форма 18 — карточка учёта организации. -->
<record id="docx_template_mil_form18" model="docx.template">
<field name="name">Воинский учёт — Форма 18 (DOCX)</field>
<field name="report_type">docx-docx</field>
<field name="model">ruodoo.rsbu.mil.report</field>
<field name="docx_output_type">docx</field>
<field name="global_template" eval="True"/>
<field name="filename_pattern">'Форма 18 ' + (object.report_date and object.report_date.strftime('%d.%m.%Y') or '')</field>
<field name="report_docx_template" type="base64"
file="ruodoo_rsbu_mil/static/src/docx/mil_form18.docx"/>
<field name="report_docx_template_filename">mil_form18.docx</field>
</record>
<!-- Форма 19 — обеспеченность трудовыми ресурсами. -->
<record id="docx_template_mil_form19" model="docx.template">
<field name="name">Воинский учёт — Форма 19 (DOCX)</field>
<field name="report_type">docx-docx</field>
<field name="model">ruodoo.rsbu.mil.report</field>
<field name="docx_output_type">docx</field>
<field name="global_template" eval="True"/>
<field name="filename_pattern">'Форма 19 ' + (object.report_date and object.report_date.strftime('%d.%m.%Y') or '')</field>
<field name="report_docx_template" type="base64"
file="ruodoo_rsbu_mil/static/src/docx/mil_form19.docx"/>
<field name="report_docx_template_filename">mil_form19.docx</field>
</record>
<!-- Приказ по воинскому учёту. -->
<record id="docx_template_mil_order" model="docx.template">
<field name="name">Воинский учёт — Приказ (DOCX)</field>
<field name="report_type">docx-docx</field>
<field name="model">ruodoo.rsbu.mil.order</field>
<field name="docx_output_type">docx</field>
<field name="global_template" eval="True"/>
<field name="filename_pattern">'Приказ ВУ ' + (object.name or '')</field>
<field name="report_docx_template" type="base64"
file="ruodoo_rsbu_mil/static/src/docx/mil_order.docx"/>
<field name="report_docx_template_filename">mil_order.docx</field>
</record>
</data>
</odoo>