I know similar questions have been asked before but I am currently in the process of adding our historical orders into our Odoo test instance and am struggling to link my historical sales orders with my generated invoices. 
I have tried writing my invoice id to the sale.order 'invoice_ids' list and setting my order's invoice_status to 'invoiced' upon creation. Upon investigating the orders after posting them, both of these do not seem to apply but the requests do not return any errors; this has lead me to believe there is something like a record rule blocking my attempted bad practice. 
Does anyone know what could be blocking this is (my instance is basically default Odoo 16)? or could anyone recommend me a better workflow? I have considered posting the invoices first and then using their ids in the initial sale.order creation as a work around but I am doubtful this will work either. 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
            
                2161
                
                    Görünümler
                
            
        
    Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|  | 1 Ağu 21  | 4078 | ||
|  | 1 Eki 22  | 4726 | ||
|  | 0 Ağu 21  | 2943 | ||
|  | 1 Tem 21  | 8209 | ||
|  | 2 Haz 21  | 4826 | 
