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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
3
Réponses
1268
Vues
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
})
💥
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
2
mai 25
|
2706 | ||
|
|
3
déc. 24
|
8048 | ||
|
|
1
juil. 24
|
4059 | ||
|
|
1
juin 24
|
2636 | ||
|
|
2
juin 24
|
3754 |
Okay thanks, but then how do I keep a track of my past purchases