I'm an Odoo noob and I just imported some products from Drupal Commerce into Odoo. Drupal Commerce likes working with cents instead of euros. So I want to programmatically drop 2 zeros from all prices. How can I do that? Ideally some python code from the interface itself or some other form of scripting which is not directly working on SQL.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
Is fixing the file and importing again an option for you? If not:
- Either export the products from the database (using the "help with import" option), change the file and re-import that file.
or
- Find the product_product table in postgres and write some script to alter the prices.
In order to prevent your database from clogging or becoming messy, I would opt for the re-importing of the products.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Ağu 25
|
627 | ||
|
3
Eki 24
|
3890 | ||
|
3
Mar 24
|
5256 | ||
|
2
Mar 24
|
3298 | ||
|
0
Eyl 21
|
2835 |