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

def _get_date_end(self, pricelist_id):
        pool = pooler.get_pool(self.cr.dbname)
        pricelist = pool.get('product.pricelist.version').read(self.cr, self.uid, [pricelist_id], ['date_end'], context=self.localcontext)[0]
        return pricelist['date_end']  

 

<para style="8_left">[[ formatLang (get_date_end(data['form']['price_list']), date=True) ]]</para>

That works at simple price lists, but not if the price list based on another price list.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
POS with different pricelists แก้ไขแล้ว
6
ก.ย. 15
15240
0
มิ.ย. 15
4028
1
มี.ค. 15
7104
1
มี.ค. 15
4482
1
ส.ค. 25
4585