In my company a period closure is made every month, and it is sought that once this has been done, it is no longer possible to modify documents of the period that has just closed. For example, you cannot edit or modify a document that is dated August / 2020
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ờ
Is your question about Accounting Documents or Sales Order Documents?
Edits to Sales Orders never affect Accounting, it is just the corresponding Invoice that does.
Sales Order Documents:
LOCK the Sales Order and create (via attrs) an invisible condition on the UNLOCK button?
See https://www.odoo.com/documentation/user/13.0/purchase/purchases/rfq/lock_orders.html for details (even though this link is for Purchase Orders, the same feature is available for Sales Orders)
You can see that the domain for "Today's Activities" we use context_today() to get the current date.
[('activity_ids.date_deadline', '=', context_today().strftime('%Y-%m-%d'))]
Accounting Documents:
This is the function of Lock Dates - see https://www.odoo.com/documentation/user/13.0/accounting/fiscality/fiscal_year/close_fiscal_year.html for a discussion
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 | |
---|---|---|---|---|
|
0
thg 3 25
|
862 | ||
|
2
thg 10 20
|
7348 | ||
Working with Odoo offline
Đã xử lý
|
|
3
thg 12 24
|
22916 | |
|
2
thg 3 22
|
5310 | ||
|
1
thg 8 21
|
5601 |