mirror of
https://github.com/bringout/oca-workflow-process.git
synced 2026-04-21 01:32:01 +02:00
Initial commit: OCA Workflow Process packages (456 packages)
This commit is contained in:
commit
d366e42934
18799 changed files with 1284507 additions and 0 deletions
|
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
|
||||
<!-- Inherit to customize according to your own needs -->
|
||||
<record id="product_tree_view4purchase" model="ir.ui.view">
|
||||
<field name="model">product.product</field>
|
||||
<field name="priority" eval="20" />
|
||||
<field name="arch" type="xml">
|
||||
<tree create="0" editable="top">
|
||||
<field name="display_name" readonly="1" />
|
||||
<field name="qty_to_process" />
|
||||
<field name="quick_uom_category_id" invisible="1" />
|
||||
<field
|
||||
name="quick_uom_id"
|
||||
options="{'no_open': True, 'no_create': True}"
|
||||
string="UoM"
|
||||
groups="uom.group_uom"
|
||||
/>
|
||||
<field name="seller_price" readonly="1" />
|
||||
<field name="qty_available" />
|
||||
<field name="incoming_qty" />
|
||||
<button name="button_quick_open_product" string="Open" type="object" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="product_search_form_view" model="ir.ui.view">
|
||||
<field name="model">product.product</field>
|
||||
<field name="mode">primary</field>
|
||||
<field
|
||||
name="inherit_id"
|
||||
ref="base_product_mass_addition.product_search_form_view"
|
||||
/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//filter[last()]" position="after">
|
||||
<filter
|
||||
name="filter_for_current_supplier"
|
||||
string="For current supplier"
|
||||
domain="[]"
|
||||
context="{'for_current_supplier': True}"
|
||||
help="Filter products supplied by the supplier of the current parent object"
|
||||
/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_purchase_form" model="ir.ui.view">
|
||||
<field name="model">purchase.order</field>
|
||||
<field name="inherit_id" ref="purchase.purchase_order_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="order_line" position="before">
|
||||
<button
|
||||
name="add_product"
|
||||
string="Add from supplier's product list"
|
||||
type="object"
|
||||
attrs="{'invisible': [('state', 'not in', ('draft', 'sent'))]}"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue