ใน xml
<button name="price_change" string="Refresh" type="object"/>
ใน .py
โค้ด: เลือกทั้งหมด
def price_change(self, cr, uid, ids, context=None):
price = self.browse(cr, uid, ids, context=context).sqm_price + self.browse(cr, uid, ids, context=context).process_เข้าสู่ระบบเพื่ออ่านโพสต์