The problem
In Odoo, when you carry out stock & inventory operations such as validating a stock transfer, doing inventory adjustment, creating scrap,
Odoo applies the current date and time for the move automatically which is sometimes not what you want. For example,
when you were inputting data for the past operations or when you start a new Odoo implementation that requires data from the past.
The solution
This module gives you a chance to input your desired date in the past. The following operations are currently supported with backdate
Stock Transfer
During validation of stock transfers, when you click on Validate button, a new window will be popped out with a datetime field for your input.
The default value for the field is the current datetime.
Inventory Adjustment
When validating an inventory adjustment, a new window will be popped out with a datetime field for your input.
The default value for the field is the current datetime, in case you don't want backdate operation.
Stock Scrapping
During validating a scrap from either a stock transfer or a standalone scrap order, a new window will be popped out with a datetime field for your input.
The default value for the field is the current datetime.
The backdate you input will also be used for accounting entry's date if the product is configured with automated stock valuation.
It supports all available costing methods in Odoo (i.e. Standard Costing, Average Costing, FIFO Costing)
Backdate Operations Control
By default, only users in the "Inventory / Manager" group can carry out backdate operations in Inventory application.
Other users must be granted to the access group Backdate Operations before she or he can do it.
Known issues
- Since the acounting journal entry's Date field does not contain time, the backdate in accounting may not respect user's timezone,
and may causes visual discrepancy between stock move's date and accounting date. This is also an issue by Odoo thatcan be reproduced as below
- assume that your timezone is UTC+7
- validate a stock transfer at your local time between 00:00 and 07:00
- go to the corresponding accounting journal entry to find its date could be 1 day earlier than the stock transfer's date
Editions Supported
- Community Edition
- Enterprise Edition
Installation
- Navigate to Apps
- Find with keyword 'to_stock_backdate'
- Install it as usual then you are done
Backdate Operations Control
By default, only users in the "Inventory / Manager" group can carry out backdate operations in Inventory application.
Other users must be granted to the access group Backdate Operations before she or he can do it.
Phần mềm này và các tệp liên kết ("Phần mềm")
được sử dụng (chạy, tuỳ biến, chạy sau khi được tuỳ biến)
chỉ khi bạn mua được giấy phép có hiệu lực từ tác giả,
điển hình như qua các Ứng dụng Odoo, hoặc trong trường hợp
bạn nhận được thoả thuận bằng văn bản từ tác giả của Phần mềm (chi tiết tại tệp COPYRIGHT).
Bạn có thể phát triển các phân hệ Odoo có sử dụng Phần mềm như một Thư viện (thường là phụ thuộc vào, nhập vào và sử dụng nguồn của nó)
nhưng không sao chéo bất kỳ mã nguồn hay tài liệu nào thuộc Phần mềm. Bạn có thể phân phối những phân hệ này theo giấy phép
mà bạn lựa chọn, miễn sao nội dung giấy phép đó tương tích với điều khoản của Giấy phép Phần mềm Độc quyền Odoo
(ví dụ: LGPL, MIT hay bất kỳ loại giấy phép phần mềm độc quyền nào tương tự vậy).
Nghiêm cấm phát hành, phân phối, cấp phép lại hoặc bán bản sao của Phần mềm hoặc
bản sao
Phần mềm đã được sửa đổi.
Thông báo bản quyền và chấp thuận nêu trên buộc phải được bao gồm trong tất cả các bản sao hoặc các phần quan trọng của Phần mềm.
PHẦN MỀM ĐƯỢC CUNG CẤP "NGUYÊN TRẠNG", KHÔNG BẢO ĐẢM DƯỚI BẤT KỲ HÌNH THỨC NÀO, ĐƯỢC THỂ HIỆN RÕ RÀNG HOẶC NGỤ Ý, KHÔNG GIỚI HẠN
ĐẢM BẢO VỀ CÁC BẢO ĐẢM NGỤ Ý VỀ KHẢ NĂNG THƯƠNG MẠI, PHÙ HỢP VỚI MỤC ĐÍCH CỤ THỂ VÀ KHÔNG VI PHẠM.
TRONG MỌI TRƯỜNG HỢP SẼ KHÔNG CÓ TÁC GIẢ HOẶC CHỦ SỞ HỮU BẢN QUYỀN NÀO CHỊU TRÁCH NHIỆM VỀ BẤT KỲ KHIẾU NẠI,
THIỆT HẠI HOẶC TRÁCH NHIỆM PHÁP LÝ KHÁC NÀO TRONG PHẠM VI HỢP ĐỒNG, CÁC THIỆT HẠI HOẶC CÁCH KHÁC, PHÁT SINH TỪ, NGOÀI HOẶC
CÓ LIÊN KẾT VỚI PHẦN MỀM HOẶC VIỆC SỬ DỤNG HOẶC KINH DOANH KHÁC TẠI PHẦN MỀM.