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. 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
rugp. 21
3407
1
spal. 22
4197
0
rugp. 21
2489
1
liep. 21
7637
2
birž. 21
4422