2018-03-16 16:04:33 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
|
|
|
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
<odoo>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<!-- Forms -->
|
|
|
|
<record model="ir.ui.view"
|
|
|
|
id="golem_reservation_invoice_wizard_form">
|
|
|
|
<field name="name"> GOLEM Reservation Invoice Wizard Form</field>
|
|
|
|
<field name="model">golem.reservation.invoice.wizard</field>
|
|
|
|
<field name="arch" type="xml">
|
2018-03-26 17:09:23 +02:00
|
|
|
<form string="Reservations to invoice">
|
2018-03-26 16:22:57 +02:00
|
|
|
<p>
|
|
|
|
<strong>
|
2018-03-26 17:09:23 +02:00
|
|
|
Only one invoice will be created in draft with corresponding reservations.
|
|
|
|
Then, you will be redirected to the new invoice and can review it before validation.
|
2018-03-26 16:22:57 +02:00
|
|
|
</strong>
|
|
|
|
</p>
|
2018-03-16 16:04:33 +01:00
|
|
|
<footer>
|
2018-03-26 17:09:23 +02:00
|
|
|
<button name="create_invoice" string="Create Invoice" type="object"
|
2018-03-16 16:04:33 +01:00
|
|
|
class="oe_highlight" />
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
</data>
|
|
|
|
</odoo>
|