修改bug7264和7265
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user