Files
public/rsbu_fns_reporting/views/rsbu_enp_notification_views.xml

83 lines
3.9 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>
<record id="view_rsbu_enp_notification_list" model="ir.ui.view">
<field name="name">rsbu.enp.notification.list</field>
<field name="model">rsbu.enp.notification</field>
<field name="arch" type="xml">
<list string="Уведомления ЕНП">
<field name="name"/>
<field name="year"/>
<field name="month"/>
<field name="date_doc"/>
<field name="state" widget="badge"/>
<field name="company_id" groups="base.group_multi_company"/>
</list>
</field>
</record>
<record id="view_rsbu_enp_notification_form" model="ir.ui.view">
<field name="name">rsbu.enp.notification.form</field>
<field name="model">rsbu.enp.notification</field>
<field name="arch" type="xml">
<form string="Уведомление об исчисленных суммах">
<header>
<button name="action_compute" type="object"
string="Рассчитать" class="btn-primary"/>
<button name="action_export_xml" type="object"
string="Выгрузить XML"
invisible="state != 'computed'"/>
<field name="state" widget="statusbar"/>
</header>
<sheet>
<div class="oe_title">
<h1><field name="name" readonly="1"/></h1>
</div>
<div class="alert alert-info" role="alert"
invisible="state != 'computed'">
Строки заполнены автоматически из учёта за отчётный
месяц: страховые взносы, удержанный НДФЛ и аванс УСН
(в месяцы уплаты). При необходимости скорректируйте
суммы вручную перед выгрузкой.
</div>
<group>
<group>
<field name="year"/>
<field name="month"/>
</group>
<group>
<field name="date_doc"/>
<field name="currency_id" invisible="1"/>
<field name="company_id"
groups="base.group_multi_company"/>
</group>
</group>
<field name="line_ids">
<list editable="bottom">
<field name="kind"/>
<field name="kbk"/>
<field name="oktmo"/>
<field name="period_code"/>
<field name="month_in_quarter"/>
<field name="report_year"/>
<field name="amount"/>
<field name="currency_id" column_invisible="1"/>
</list>
</field>
</sheet>
</form>
</field>
</record>
<record id="action_rsbu_enp_notification" model="ir.actions.act_window">
<field name="name">Уведомления об исчисленных суммах (ЕНП)</field>
<field name="res_model">rsbu.enp.notification</field>
<field name="view_mode">list,form</field>
</record>
<menuitem id="menu_rsbu_enp_notification"
name="Уведомления ЕНП"
parent="rsbu_chart_of_accounts.menu_rsbu_reports"
action="action_rsbu_enp_notification"
sequence="40"/>
</odoo>