[FIX] stock_account: purchase and sale_refund are two different journal type
When creating an incoming shipment to be invoiced with as source location "Transit" and as destination location "Stock" Clicking on create invoice leaded to a crash. opw-639536
This commit is contained in:
parent
9fe2e04c0d
commit
fff4215933
|
@ -28,7 +28,7 @@ JOURNAL_TYPE_MAP = {
|
|||
('outgoing', 'transit'): ['sale', 'purchase_refund'],
|
||||
('incoming', 'supplier'): ['purchase'],
|
||||
('incoming', 'customer'): ['sale_refund'],
|
||||
('incoming', 'transit'): ['purchase, sale_refund'],
|
||||
('incoming', 'transit'): ['purchase', 'sale_refund'],
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue