物料需求计划

This commit is contained in:
guanhuan
2025-06-24 11:17:41 +08:00
parent 2f26aee90a
commit 02b4f76326
8 changed files with 75 additions and 2 deletions

View File

@@ -69,6 +69,8 @@
<field name="print_count"/>
<button name="release_production_order" type="object" string="下达生产" class="btn-primary"
attrs="{'invisible': ['|',('status', '!=', '50'), ('supply_method', 'not in', ['automation', 'manual'])]}"/>
<button name="edit_button" type="object" string="编辑" class="btn-primary"/>
</tree>
</field>
</record>

View File

@@ -0,0 +1,40 @@
<odoo>
<record id="view_sf_demand_plan_list" model="ir.ui.view">
<field name="name">sf.demand.plan.list</field>
<field name="model">sf.demand.plan</field>
<field name="arch" type="xml">
<form>
<header>
<field name="state" widget="statusbar"/>
</header>
<sheet>
<group>
<group>
<field name="product_id"/>
<field name="part_name"/>
<field name="part_number"/>
<field name="materials_id"/>
<field name="blank_type"/>
<field name="embryo_long"/>
<field name="is_incoming_material"/>
<!-- <field name="待计划"/>-->
<field name="model_id"/>
</group>
<group>
<field name="customer_name"/>
<field name="product_uom_qty"/>
<field name="deadline_of_delivery"/>
<field name="contract_date"/>
<field name="contract_code"/>
<field name="model_process_parameters_ids" widget="many2many_tags"/>
<field name="model_machining_precision"/>
<field name="inventory_quantity_auto_apply"/>
<field name="priority"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
</odoo>