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:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
3
Antwoorden
1349
Weergaven
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
})
💥
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
|
2
mei 25
|
2914 | ||
|
|
3
dec. 24
|
8554 | ||
|
|
1
jul. 24
|
4327 | ||
|
|
1
jun. 24
|
2724 | ||
|
|
2
jun. 24
|
3976 |
Okay thanks, but then how do I keep a track of my past purchases