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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
8176
查看
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.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
8月 25
|
669 | ||
|
3
10月 24
|
3960 | ||
|
3
3月 24
|
5280 | ||
|
2
3月 24
|
3361 | ||
|
0
9月 21
|
2853 |