res.lang: What is the correct way of pre-config this model data

Asked by Nhomar - Vauxoo

Hello.

One of the first thing we make when install one new db for VE is the validation of the correct format of numbers and dates on this model.

To propose a MP.

What is the correct way of technically put a *_base.xml data and impact this model?

We can improve the ./openerp/addons/base/base_data.xml: file on openobject-server but I'm not sure of this.

Thanks for the help

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#1

Nhomar,

This seems work AFAIK, the load_lang() creates all the settings as per the language installed.

We have to make sure the locale is generated in our system or not.

It uses locale.nl_langinfo(FORMAT).

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Nhomar - Vauxoo for more information if necessary.

To post a message you must log in.