~unifield-team/unifield-wm/us-671-homere

« back to all changes in this revision

Viewing changes to analytic_distribution/analytic_line.py

[MERGE] commitment lp:~unifield-team/unifield-wm/UF_675_commitments

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    _inherit = "account.analytic.line"
29
29
 
30
30
    _columns = {
31
 
        "distribution_id": fields.many2one('analytic.distribution', 'Analytic Distribution'),
32
 
        "cost_center_id": fields.many2one('account.analytic.account', 'Cost Center'),
 
31
        'distribution_id': fields.many2one('analytic.distribution', string='Analytic Distribution'),
 
32
        'cost_center_id': fields.many2one('account.analytic.account', string='Cost Center'),
 
33
        'commitment_line_id': fields.many2one('account.commitment.line', string='Commitment Voucher Line')
33
34
    }
34
35
 
35
36
    def _check_date(self, cr, uid, vals, context={}):