# - determine lead time value for product
product_lead_time = supplierinfo.delay if supplierinfo else 0
res['value'].update({'product_lead_time': product_lead_time})
+ price = price_unit
if state not in ('sent','bid'):
# - determine price_unit and taxes_id
if pricelist_id:
<button name="tender_reset" states="cancel" string="Reset to Draft" type="object" />
<button name="open_product_line" states="open" string="Choose product lines" type="object" class="oe_highlight" groups="purchase.group_advance_bidding"/>
<button name="generate_po" states="open" string="Make Purchase" type="object" class="oe_highlight"/>
- <button name="cancel_requisition" states="draft,in_progress" string="Cancel Requisition" type="object" />
+ <button name="cancel_requisition" states="draft,in_progress" string="Cancel Requisition"/>
<field name="state" widget="statusbar" statusbar_visible="draft,in_progress,open,done" statusbar_colors='{"in_progress":"blue"}'/>
</header>
<sheet>