Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3964 มุมมอง

I have encountered some problems when I set up product packages such that I could sell "Product A" in both units and boxes. However, when I selected the packages to box it only show me warning that the quantities must be set to x quantities, but did not change the quantities in the quotation window. Is there a method to automate this, I know it could be achieved manually by just overriding the quantities field, but I would appreciate if it could be set automatically. (Even there are enough stock quantities)


Thanks in advance

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You need to customization code

Method name is

@api.onchange('product_packaging_id')
def _onchange_product_packaging_id(self):

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 22
2515
delivery packages แก้ไขแล้ว
2
ธ.ค. 21
2824
Packaging type not visible on Package แก้ไขแล้ว
2
พ.ค. 20
3988
3
พ.ค. 17
2968
2
พ.ค. 25
896