2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-02 05:26:45 +00:00
Oliver 324d5929b5
Primary address fix (#5592)
* 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
2023-09-23 10:14:59 +10:00
..
2023-05-02 20:03:52 +10:00
2023-09-23 10:14:59 +10:00
2022-05-20 13:35:07 +02:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2022-11-05 01:05:54 +11:00
2022-05-20 13:35:07 +02:00
2023-06-20 12:39:18 +10:00
2022-05-20 13:35:07 +02:00
2023-06-20 07:45:35 +10:00
2023-05-02 20:03:52 +10:00
2022-05-20 13:35:07 +02:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2023-05-02 20:03:52 +10:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2021-11-15 23:06:15 +11:00
2023-03-20 07:21:27 +11:00
2022-05-20 13:35:07 +02:00
2022-01-21 02:11:34 +01:00
2022-01-21 02:11:34 +01:00
2022-01-21 02:11:34 +01:00
2022-05-20 13:35:07 +02:00
2023-06-20 07:45:35 +10:00
2023-05-02 20:03:52 +10:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00