Odoo Help


create_date from model product.product

on 5/22/13, 1:44 PM 1,280 views


I want to access the template fields create_date product.product via xmlrpc (php). My code retrieves all other fields (name, id, list_price ...) except this field (create_date). It is the same with all the date fields : nothing is returned !

$fields = array(
    'id' => 'int',                      
    'create_date' => 'string',             
    'name' => 'string',                 
    'list_price' => 'string',           
    'default_code' => 'string');
$dataProduct = parent::read($this->model_product, $idProduct, $fields);

Do you have an idea how to recover it ? Thank's

Ps : Sorry for my very bad english :)

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 5/22/13, 1:44 PM
Seen: 1280 times
Last updated: 3/16/15, 8:10 AM