~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to stock_batch_recall/stock.py

  • Committer: Quentin THEURET
  • Date: 2015-05-26 14:25:23 UTC
  • mto: This revision was merged to the branch mainline in revision 2501.
  • Revision ID: qt@tempo-consulting.fr-20150526142523-0eo82dcmuz40ebtn
US-237 [FIX] Add _rec_name attribute on osv.osv models that have no one

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
 
87
87
class report_batch_recall(osv.osv):
88
88
    _name = 'report.batch.recall'
 
89
    _rec_name = 'product_id'
89
90
    _description = 'Batch Recall'
90
91
    _auto = False
91
92
    _columns = {