details: https://code.tryton.org/tryton/commit/b8fda55730cf
branch: default
user: Cédric Krier <[email protected]>
date: Wed Nov 25 15:42:09 2026 +0100
description:
Use the model string as string for the origin selection of sale
complaints
Closes #15278
diffstat:
modules/sale_complaint/complaint.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4381ed77dc89 -r b8fda55730cf modules/sale_complaint/complaint.py
--- a/modules/sale_complaint/complaint.py Tue Dec 01 15:14:52 2026 +0100
+++ b/modules/sale_complaint/complaint.py Wed Nov 25 15:42:09 2026 +0100
@@ -245,7 +245,7 @@
def get_origin(self):
if self.type:
origin = self.type.origin
- return [('', ''), (origin.name, origin.name)]
+ return [('', ''), (origin.name, origin.string)]
else:
return []