title: How to customize the name of purchase order in Odoo 8?
body: <p>I wanna customize the name of purchase order like yyyymmdd_n. yymmdd is the date of the purchase order created, and n is the sequence number from 1 the order created on that day. However, the default value of n depends on the total count. I searched for the purchase order's creation in purchase.py and made some logging in some possible functions such as create_po, create_procurement_purchase_order. But when a new purchase order was created, none of them were called based on the logging details. </p>
  
  <p>Is there someone who can give me a hand?</p>
  
  <p>The method create in <strong>class</strong> <strong>purchase_order</strong> defines: </p>
  
  <pre><code>order = super(purchase_order, self).create(cr, uid, vals,context=context) 
  </code></pre>
  
  <p>I am looking for the code for `super(...).create(...)</p>
  
  <p>Update on 2016/5/11:
  I found a simple way from <a href="https://www.odoo.com/forum/help-1/question/resetting-sequencer-padding-every-day-54738" rel="nofollow">this</a></p>