mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-19 17:52:05 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2017-20 ForgeFlow S.L. (https://www.forgeflow.com)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
|
||||
<odoo>
|
||||
<record id="stock_buffer_view_form" model="ir.ui.view">
|
||||
<field name="name">stock.buffer.form</field>
|
||||
<field name="model">stock.buffer</field>
|
||||
<field name="inherit_id" ref="ddmrp.stock_buffer_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<field name="count_ddmrp_adjustment_demand" invisible="1" />
|
||||
<button
|
||||
string="DAF Demand Allocation"
|
||||
name="action_view_demand_to_components"
|
||||
class="oe_stat_button"
|
||||
icon="fa-caret-square-o-down"
|
||||
type="object"
|
||||
attrs="{'invisible': [('count_ddmrp_adjustment_demand', '=', 0)]}"
|
||||
/>
|
||||
</xpath>
|
||||
<button name="action_view_future_adu_indirect_demand" position="after">
|
||||
<field name="daf_applied" invisible="1" />
|
||||
<field name="parent_daf_applied" invisible="1" />
|
||||
<button
|
||||
title="View DAFs Affecting Actual ADU"
|
||||
name="action_view_affecting_adu"
|
||||
type="object"
|
||||
attrs="{'invisible': [('daf_applied', '=', -1)]}"
|
||||
>
|
||||
<field name="daf_text" readonly="1" />
|
||||
</button>
|
||||
<button
|
||||
title="View Demand from parent DAFs Affecting Actual ADU"
|
||||
name="action_view_parent_affecting_adu"
|
||||
type="object"
|
||||
attrs="{'invisible': [('parent_daf_applied', '=', -1)]}"
|
||||
>
|
||||
<field name="parent_daf_text" readonly="1" />
|
||||
</button>
|
||||
</button>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue