修改bug7264和7265

This commit is contained in:
chenye
2025-07-11 17:49:05 +08:00
parent 2b6e2fe31b
commit 60be14dda2
2 changed files with 4 additions and 4 deletions

View File

@@ -212,7 +212,7 @@ class SfDemandPlan(models.Model):
def name_get(self):
result = []
for plan in self:
result.append((plan.id, plan.product_id.name))
result.append((plan.id, plan.demand_plan_number))
return result
def button_production_release_plan(self):

View File

@@ -32,9 +32,9 @@
<field name="product_uom_qty"/>
<field name="plan_uom_qty" attrs="{'readonly': [('status', '!=', '30')]}"/>
<field name="deadline_of_delivery"/>
<field name="inventory_quantity_auto_apply"/>
<field name="qty_delivered"/>
<field name="qty_to_deliver"/>
<field name="inventory_quantity_auto_apply" optional="hide"/>
<field name="qty_delivered" optional="hide"/>
<field name="qty_to_deliver" optional="hide"/>
<field name="model_long"/>
<field name="blank_type" optional="hide"/>
<field name="blank_precision"/>