How can I create purchase orders of backdate
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- प्रोजेक्ट
- MRP
This question has been flagged
3
Replies
1313
Views
How can I create purchase orders of backdate
Hi,
By default odoo is not supporting back dates for inventory operations.
Thanks
Actually I am using odoo online but I have created a new field named x_old_date_order but it doesn't show in po form.
first add the field name any name you want 
add automation action
state =sales order 
3 add this code in python
if record.x_studio_old_order_date_1:
record.write({
'date_order':record.x_studio_old_order_date_1
})
for inventory same step
for inventory same add field 
for invensible condition
state == "draft"
for require 
for read only 
after than add automation action 
and add this code for python
if record.scheduled_date:
record.write({
'date_done':record.scheduled_date
})
💥
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
2
मई 25
|
2813 | ||
|
|
3
दिस॰ 24
|
8375 | ||
|
|
1
जुल॰ 24
|
4209 | ||
|
|
1
जून 24
|
2672 | ||
|
|
2
जून 24
|
3874 |
Okay thanks, but then how do I keep a track of my past purchases