Skip to Content
Menu
This question has been flagged

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. 

Avatar
Discard
Related Posts Replies Views Activity
1
Aug 21
3304
1
Oct 22
4129
0
Aug 21
2380
1
Jul 21
7539
2
Jun 21
4374