*removal of the sens field

bzr revid: qdp-92ca4b599bdf87e690e442ed5317499d0b1f11bd
This commit is contained in:
qdp
2008-04-25 05:11:48 +00:00
parent 18362f983d
commit 3b72ca0f66
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -1291,12 +1291,10 @@ class account_budget_post(osv.osv):
_columns = {
'code': fields.char('Code', size=64, required=True),
'name': fields.char('Name', size=256, required=True),
'sens': fields.selection( [('charge','Charge'), ('produit','Product')], 'Direction', required=True),
'dotation_ids': fields.one2many('account.budget.post.dotation', 'post_id', 'Expenses'),
'account_ids': fields.many2many('account.account', 'account_budget_rel', 'budget_id', 'account_id', 'Accounts'),
}
_defaults = {
'sens': lambda *a: 'produit',
}
def spread(self, cr, uid, ids, fiscalyear_id=False, quantity=0.0, amount=0.0):
-1
View File
@@ -1078,7 +1078,6 @@
<page string="Definition">
<field name="code" select="1"/>
<field name="name" select="1"/>
<field name="sens"/>
</page><page string="Dotations">
<button string="Spread" name="%(wizard_budget_spread)d" type="action"/>
<field name="dotation_ids" colspan="4" nolabel="1"/>