Replace usage of docstring of Model by __string__ attribute

Closes #8402
This commit is contained in:
Udo Spallek
2024-11-19 10:09:52 +01:00
parent d99d001dfe
commit 8b252472c4
315 changed files with 122 additions and 1282 deletions
-2
View File
@@ -34,7 +34,6 @@ class Sale(metaclass=PoolMeta):
class Amendment(Workflow, ModelSQL, ModelView):
"Sale Amendment"
__name__ = 'sale.amendment'
sale = fields.Many2One(
@@ -178,7 +177,6 @@ class Amendment(Workflow, ModelSQL, ModelView):
class AmendmentLine(ModelSQL, ModelView):
"Sale Amendment Line"
__name__ = 'sale.amendment.line'
amendment = fields.Many2One(