I need help in code, How do I create Purchase Order copy(Sub Purchase Order) after clicking Receive Products Button on Purchase App. I'm new in Odoo so my coding skill is not that good
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
2014
Vistas
Hi,
You can use self.copy in the button action of the Receive Products.
Try this example
def action_view_picking(self):
purchase_copy = self.copy()
return self._get_action_view_picking(self.picking_ids)
Regards
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
jul 21
|
3452 | ||
|
1
oct 22
|
4502 | ||
|
0
may 22
|
2591 | ||
|
0
jul 24
|
1956 | ||
|
1
nov 20
|
4166 |
What is your actual scenario? Maybe there will be a workaround in Odoo.