I think you mean 'from python code', in the Odoo environment.
You can imitate how any document is created by code. For example, in the purchase order module if you have a purchase requisition, you can create a purchase order.
Search in the odoo/openerp code for '.create' and you'll get many examples
I hope this will guide you.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/1/15, 4:44 AM|
|Seen: 358 times|
|Last updated: 8/3/15, 8:34 AM|