[FIX] account move line :Partner included in Bank Statement can be deleted
lp bug: https://launchpad.net/bugs/685974 fixed bzr revid: mra@mra-laptop-20101209072935-cizg6tnfvmyegtvp
This commit is contained in:
parent
a73569bb80
commit
488a43b717
|
@ -429,7 +429,7 @@ class account_move_line(osv.osv):
|
|||
'period_id': fields.many2one('account.period', 'Period', required=True, select=2),
|
||||
'journal_id': fields.many2one('account.journal', 'Journal', required=True, select=1),
|
||||
'blocked': fields.boolean('Litigation', help="You can check this box to mark this journal item as a litigation with the associated partner"),
|
||||
'partner_id': fields.many2one('res.partner', 'Partner', select=1),
|
||||
'partner_id': fields.many2one('res.partner', 'Partner', select=1, ondelete='restrict'),
|
||||
'date_maturity': fields.date('Due date', help="This field is used for payable and receivable journal entries. You can put the limit date for the payment of this line."),
|
||||
'date': fields.related('move_id','date', string='Effective date', type='date', required=True,
|
||||
store = {
|
||||
|
|
Loading…
Reference in New Issue