mirror of
https://github.com/bringout/oca-mrp.git
synced 2026-04-25 01:51:59 +02:00
Initial commit: OCA Mrp packages (117 packages)
This commit is contained in:
commit
277e84fd7a
4403 changed files with 395154 additions and 0 deletions
|
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2024 - Today: GRAP (http://www.grap.coop)
|
||||
@author: Quentin DUPONT (quentin.dupont@grap.coop)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- MRP Bill of Materials - Form -->
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<record id="view_mrp_bom_form" model="ir.ui.view">
|
||||
<field name="model">mrp.bom</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_bom_form_view" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//widget[@name='web_ribbon']" position="after">
|
||||
<field
|
||||
name="image_1024"
|
||||
widget="image"
|
||||
class="oe_avatar"
|
||||
options="{'preview_image': 'image_128'}"
|
||||
/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- MRP Bill of Materials - Kanban -->
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<record id="view_mrp_bom_kanban" model="ir.ui.view">
|
||||
<field name="model">mrp.bom</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_bom_kanban_view" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[hasclass('o_kanban_record_top')]" position="before">
|
||||
<div class="o_kanban_image">
|
||||
<img
|
||||
class="o_image_64_contain"
|
||||
t-att-src="kanban_image('mrp.bom', 'image_128', record.product_tmpl_id.raw_value)"
|
||||
alt="Bill of Material Image"
|
||||
/>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_kanban_record_top')]" position="attributes">
|
||||
<attribute name="class">oe_kanban_details</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue