account_usability: remove field default_move_line_name which we don't use any more

This commit is contained in:
Alexis de Lattre
2021-10-20 23:29:04 +02:00
parent 05374c4b4a
commit f3910ab528

View File

@@ -11,8 +11,6 @@ from odoo.osv import expression
class AccountMove(models.Model):
_inherit = 'account.move'
default_move_line_name = fields.Char(
string='Default Label', states={'posted': [('readonly', True)]})
# By default, we can still modify "ref" when account move is posted
# which seems a bit lazy for me...
ref = fields.Char(states={'posted': [('readonly', True)]})