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
|Asked: 12/8/15, 3:03 AM|
|Seen: 1796 times|
|Last updated: 12/19/15, 11:08 PM|