Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

the table sale.ordre

By
kaoutar
on 5/22/14, 5:20 PM 524 views

hi! I can not find the table sale.order in the folder addons / CRM .

0
Ben Olsen
On 5/22/14, 6:40 PM

While sale.order might be referrenced from somewhere in the CRM module, it's stored in the sale module. I think you're looking for the sale.order model itself? You can find the definition here (in version 7.0, though I imagine v8.0 is similar):

addons/sale/sale.py

class sale_order(osv.osv)

Notice that the _name variable is "sale.order" which is probably what you want. If you want the actual DB table in postgres, it's simply called "sale_order".

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/22/14, 5:20 PM
Seen: 524 times
Last updated: 3/16/15, 8:10 AM