Modifs
bzr revid: pinky-d4b32f353e7aa200706e9e434121cafa3a70a238
This commit is contained in:
parent
a6f3f80231
commit
57b9d4d22f
|
@ -46,6 +46,7 @@ class hr_analytic_timesheet(osv.osv):
|
|||
_name = "hr.analytic.timesheet"
|
||||
_table = 'hr_analytic_timesheet'
|
||||
_inherits = {'account.analytic.line': 'line_id'}
|
||||
_order = "id desc"
|
||||
_columns = {
|
||||
'line_id' : fields.many2one('account.analytic.line', 'Analytic line', ondelete='cascade'),
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<field name="uos_id" />
|
||||
<field name="uos_coeff" />
|
||||
<newline />
|
||||
<field name="seller_ids" colspan="4" select="1" nolabel="1" widget="one2many_list"/>
|
||||
<field name="seller_ids" colspan="4" nolabel="1" widget="one2many_list"/>
|
||||
</page>
|
||||
<page string="Descriptions">
|
||||
<separator string="Description" />
|
||||
|
|
|
@ -122,6 +122,7 @@ class purchase_order(osv.osv):
|
|||
}
|
||||
_name = "purchase.order"
|
||||
_description = "Purchase order"
|
||||
_order = "name desc"
|
||||
|
||||
def button_dummy(self, cr, uid, ids, context={}):
|
||||
return True
|
||||
|
|
|
@ -161,6 +161,7 @@ class sale_order(osv.osv):
|
|||
'name': lambda obj, cr, uid, context: obj.pool.get('ir.sequence').get(cr, uid, 'sale.order'),
|
||||
'invoice_quantity': lambda *a: 'order'
|
||||
}
|
||||
_order = 'name desc'
|
||||
|
||||
# Form filling
|
||||
def onchange_shop_id(self, cr, uid, ids, shop_id):
|
||||
|
|
Loading…
Reference in New Issue