I have data from excel as follows, in the "Used date" column in excel I have the value "01/01/1995" but when importing to Odoo, Odoo reads it as 1995-01-01 so when I click "Test" I get the error "time data '1995-01-01' does not match format '%d/%m/%Y')"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Projekti
- MRP
Tämä kysymys on merkitty
Hi,
This error happens because Odoo is trying to parse the date using the format you specified (%d/%m/%Y), but the actual date in the file is already in the format YYYY-MM-DD (1995-01-01), which doesn't match.
solution:
1. Adjust the date format in Excel to match odoo import format
Select the date column in Excel. Format -> Number -> Custom date and time
set custom date as (%d/%m/%Y)
2. Adjust the date format in Odoo to match in Excel
Setting -> Translations->Language
Select your language and change the date format.
Hope it helps
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
|
1
toukok. 25
|
19352 | ||
|
|
0
toukok. 24
|
1690 | ||
|
|
1
tammik. 24
|
1936 | ||
|
|
2
elok. 22
|
7157 | ||
|
|
2
marrask. 16
|
6538 |