2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-06 07:18:48 +00:00
github-actions[bot] 85b8157611
Primary address fix (#5592) (#5598)
* Improve management of primary address for a company

- Simplify approach (remove "confirm_primary" field)
- Remove @receiver hook
- Move all logic into Address.save() method

* Make address primary if it is the only one defined for a company

* Update frontend table

* Fix saving logic

* Actually fix it this time

* Fix for unit test

* Another test fix

(cherry picked from commit 324d5929b56b3f17a36ff85a792c5b22fef517df)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-09-23 10:25:12 +10:00
..
2023-06-09 10:27:26 +10:00
2023-06-26 09:44:10 +10:00
2023-02-10 10:39:57 +11:00
2023-06-19 16:56:26 +10:00
2023-06-20 16:26:02 +10:00