Files
odoo_source/addons
aliya 35d8048044 [FIX] account_peppol: fix saving of the migration key
`account_peppol_migration_key` is a related field, stored on the `account_edi_proxy_client.user`.
We want to allow users to provide a migration key when they want to register as a new peppol participant,
migrating their existing peppol registration from another smp.
However, before they save and validate their registration,
there is no `account_edi_proxy_client.user` associated with the company and
hence the `migration_key` is never saved and never sent to the IAP server.
The solution in master will be to move this field to `res.company`
but in stable the workaround is to store it in `ir.config_parameter` and make it a computed field,
where the config parameter is updated in the inverse method on `account_peppol_migration_key`.

closes odoo/odoo#129691

X-original-commit: d5edca101e6a1dd751a3c95d713831e99fc18462
Signed-off-by: Laurent Smet (las) <las@odoo.com>
Signed-off-by: Aliya Tastemirova (alta) <alta@odoo.com>
2023-07-26 10:48:54 +02:00
..
2023-07-19 13:13:16 +02:00
2023-07-25 17:35:37 +02:00
2023-06-12 22:39:26 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-19 18:24:15 +02:00
2023-07-25 08:18:58 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 18:24:15 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-25 08:18:58 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 13:13:16 +02:00
2023-06-28 17:41:19 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00