Compare commits
2 Commits
82ce1fa21d
...
e15799fb6e
| Author | SHA1 | Date | |
|---|---|---|---|
| e15799fb6e | |||
| 5cd3a56b3e |
@@ -4,11 +4,20 @@ Changelog
|
||||
|
||||
(unreleased)
|
||||
------------
|
||||
- Feat: disable adding company name at beginning of customer name, refs
|
||||
NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
|
||||
0.1.4 (2025-05-24)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Broken source code indentation, refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.3 (2025-05-24)
|
||||
------------------
|
||||
|
||||
@@ -355,8 +355,6 @@ class Partner(models.Model):
|
||||
if self.company_name or self.parent_id:
|
||||
if not name and self.type in displayed_types:
|
||||
name = type_description[self.type]
|
||||
if not self.is_company:
|
||||
name = f"{self.commercial_company_name or self.sudo().parent_id.name}, {name}"
|
||||
return name.strip()
|
||||
|
||||
@api.depends('is_company', 'name', 'parent_id.name', 'type', 'company_name', 'commercial_company_name')
|
||||
|
||||
Reference in New Issue
Block a user