flectra/addons/account_cash_flow/models/account_move_line.py

10 lines
263 B
Python
Raw Normal View History

2018-04-12 09:06:47 +02:00
# Part of Flectra See LICENSE file for full copyright and licensing details.
from flectra import fields, models
class AccountMoveLine(models.Model):
_inherit = 'account.move.line'
activity_type = fields.Selection(related='user_type_id.activity_type')