To not lose my statistics and my different documents, I try to redo quotes, purchase orders, invoices and others in the software Odoo 12. I can not change the dates of creation. If I create a document as an order or invoice then it will be 2014, and Lara will appear on today's date. Is it possible to modify the Creation
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi Hugo,
If you are creating documents by using UI or ORM functions then the create date will be automatically updated as the current date. So try to update with the psql query. The column name is create_date
in the part of the order form, I only have the validity date field, once validated, the document is at the date of today. how to do?
As I explained above Odoo ORM methods in default set their ORM fields create_date, write_date, craete_uid in default. In order to change the default settings you have to override the original _create functions form odoo.model
Odoo Server Error - Warning
×
The properties of the fields of the database can not be modified in this way! Please, modify them via Python code, preferably via a custom module!
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
3
thg 3 25
|
6839 | ||
|
2
thg 12 15
|
5063 | ||
Invoice Tax Due date
Đã xử lý
|
|
3
thg 10 18
|
5533 | |
|
3
thg 2 25
|
3178 | ||
invoice number prefix
Đã xử lý
|
|
1
thg 11 24
|
3014 |