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
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
1
Ответить
2038
Представления
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
1
июл. 21
|
3490 | ||
|
1
окт. 22
|
4549 | ||
|
0
мая 22
|
2635 | ||
|
0
июл. 24
|
1975 | ||
|
1
нояб. 20
|
4254 |
What is your actual scenario? Maybe there will be a workaround in Odoo.