mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[12.0][ADD] - Add new addon: contract_forecast
This commit is contained in:
30
contract_forecast/views/contract.xml
Normal file
30
contract_forecast/views/contract.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2019 ACSONE SA/NV
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
|
||||
<odoo>
|
||||
|
||||
<record model="ir.ui.view" id="account_analytic_account_form_view">
|
||||
<field name="name">account.analytic.account.form (in
|
||||
contract_forcast)
|
||||
</field>
|
||||
<field name="model">account.analytic.account</field>
|
||||
<field name="inherit_id"
|
||||
ref="contract.account_analytic_account_recurring_form_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<button class="oe_stat_button" type="object"
|
||||
icon="fa-area-chart"
|
||||
name="action_show_contract_forecast"
|
||||
help="Forecast">
|
||||
<div class="o_form_field o_stat_info">
|
||||
<span class="o_stat_text">Forecast
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user