mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-21 14:22:09 +02:00
Move 124 sale modules to oca-sale, create oca-project with 56 project modules from oca-workflow-process
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9eb7ae5807
commit
6094c218b2
2332 changed files with 125826 additions and 0 deletions
|
|
@ -0,0 +1,75 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record model="ir.actions.act_window" id="action_project_task_moves">
|
||||
<field name="name">Inventory Moves</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">stock.move.line</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field
|
||||
name="domain"
|
||||
>['|', ('move_id.raw_material_task_id', '=', active_id), ('move_id.task_id', '=', active_id)]</field>
|
||||
</record>
|
||||
<record id="view_stock_move_raw_tree" model="ir.ui.view">
|
||||
<field name="name">stock.move.raw.tree</field>
|
||||
<field name="model">stock.move</field>
|
||||
<field name="priority">1000</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree
|
||||
editable="bottom"
|
||||
default_order="sequence"
|
||||
decoration-muted="state in ('done', 'cancel')"
|
||||
decoration-warning="quantity_done - product_uom_qty > 0.0001"
|
||||
decoration-success="state not in ('done', 'cancel') and quantity_done - product_uom_qty < 0.0001"
|
||||
decoration-danger="state not in ('done', 'cancel') and reserved_availability < product_uom_qty and product_uom_qty - reserved_availability > 0.0001"
|
||||
>
|
||||
<field name="company_id" invisible="1" />
|
||||
<field
|
||||
name="product_id"
|
||||
required="1"
|
||||
attrs="{'readonly': [('state', '!=', 'draft')]}"
|
||||
/>
|
||||
<field name="sequence" invisible="1" />
|
||||
<field name="location_id" optional="hide" readonly="1" force_save="1" />
|
||||
<field
|
||||
name="location_dest_id"
|
||||
optional="hide"
|
||||
readonly="1"
|
||||
force_save="1"
|
||||
/>
|
||||
<field
|
||||
name="picking_type_id"
|
||||
optional="hide"
|
||||
readonly="1"
|
||||
force_save="1"
|
||||
/>
|
||||
<field name="name" invisible="1" />
|
||||
<field name="state" invisible="1" />
|
||||
<field
|
||||
name="product_uom"
|
||||
groups="uom.group_uom"
|
||||
attrs="{'readonly': [('state', '!=', 'draft')]}"
|
||||
/>
|
||||
<field
|
||||
name="product_uom_qty"
|
||||
string="To Consume"
|
||||
attrs="{'readonly': [('state', '!=', 'draft')]}"
|
||||
/>
|
||||
<button
|
||||
name="action_task_product_forecast_report"
|
||||
type="object"
|
||||
icon="fa-area-chart"
|
||||
title="Forecasted Report"
|
||||
attrs="{'invisible': ['|', ('product_id', '=', False),('state', 'in', ['done', 'cancel'])]}"
|
||||
/>
|
||||
<field name="product_uom_category_id" invisible="1" />
|
||||
<field
|
||||
name="reserved_availability"
|
||||
attrs="{'invisible': [('state', 'in', ('done', 'cancel'))]}"
|
||||
string="Reserved"
|
||||
/>
|
||||
<field name="quantity_done" string="Consumed" readonly="1" />
|
||||
<field name="group_id" invisible="1" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue