Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC

This commit is contained in:
CI Publish Bot
2026-11-01 22:54:30 +00:00
commit 26250aa580
2492 changed files with 664277 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="portal_invoice_closing_document"
name="Загрузка закрывающих документов"
inherit_id="account.portal_invoice_page">
<xpath expr="//div[hasclass('o_download_pdf')]" position="after">
<form action="/my/closing_document" method="post" enctype="multipart/form-data">
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
<li class="list-group-item flex-grow-1">
<div class="form-group">
<label class="col-form-label" for="closing_name">Номер</label>
<input type="hidden" name="invoice_id" t-att-value="invoice.id"/>
<input type="hidden" name="url" t-att-value="invoice.get_portal_url()"/>
<input type="text" id="closing_name" name="name"/>
</div>
<div class="form-group">
<label class="col-form-label" for="closing_file">Выбрать документы</label>
<input type="file" id="closing_file" name="image_1920"
data-show-upload="true" accept="image/*"/>
</div>
<div class="clearfix">
<button type="submit" class="btn btn-primary">
Загрузить закрывающие документы
<span class="fa fa-long-arrow-right"/>
</button>
</div>
</li>
</form>
</xpath>
</template>
</odoo>