Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
By using PgAdmin III, I was able to find list_price in product_template table, but there is no standard_price in any of the tables.
By activating the developer mode in odoo, standard_price is shown to be under product.template object,
and going to the database structure, under "product_template", there is a "standard_price" field.
The question is, where in PgAdmin, under table product_template, there is no column with the name standard_price? Is the value of this field stored somewhere else？
standard_price is not a normal field, but it's a property field, so it's values are stored in ir_property table. run this in your PgAdmin:
- here res_id column shows to which "Model, ID" combination the value belongs to.
SELECT id, value_float, name, res_id
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 platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/8/15, 3:03 AM|
|Seen: 2106 times|
|Last updated: 12/19/15, 11:08 PM|