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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
2006
Tampilan
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Jul 21
|
3431 | ||
|
1
Okt 22
|
4495 | ||
|
0
Mei 22
|
2558 | ||
|
0
Jul 24
|
1950 | ||
|
1
Nov 20
|
4148 |
What is your actual scenario? Maybe there will be a workaround in Odoo.