Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1640 มุมมอง

Context:

1. I would like to create a Rental Order but I would like to keep the Return Date indefinite because there's no set Return Date for the items.


Problem:

1. The Return Date is a required filled and Odoo is asking for it to be filled.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Solution:

1. Unfortunately, at this time we cannot set an indefinite Return Date.

2. An alternative Solution is to set a Return Date very far in the future (for example: a very far year in the future).

3. We can automate this process by creating User-defined Defaults. Enable Developer Mode and look for User-Defined Defaults, create a new record, and enter the following information (choose the date that you prefer):



Note: The field "Return (rental.wizard) exists in the Model "Configure the rental of a product"

4. Now, when you create a new Rental Order and add a Rental Product the Return Date will default to the date you put in the User-defined Defaults:


อวตาร
ละทิ้ง

maybe subscription instead of rent?

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 25
3931
1
ก.พ. 24
1730
2
ก.ค. 24
8361
1
เม.ย. 24
2363
1
ธ.ค. 23
3589