Order price, cost and rebate set to 0 after set external_id or other order fields
Aperta
- Lingua principale
- PHP
- Stelle
- 4.5k
- Fork
- 129
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello,
I created a command to sync some order data from an external system.
Below the snippet of code I used
```
$context = app('aimeos.context')->get(type: 'command');
$orderManager = MShop::create($context, 'order');
$aimeosOrder = $orderManager->get($aimeosOrderId)->off();
$aimeosOrder->set('external_id',$order['no']);
$orderManager->save($aimeosOrder);
```
After save I found the order price, cost and rebate equal to 0.
I have the same behaviour if I use setInvoiceNumber, setDateDelivery, setStatusDelivery.
I use the Aimeos 2024.10.3 and Laravel 11
Thanks
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.