openerp-7

    1熱度

    1回答

    我有這個問題與簡單更新查詢有關。我無法弄清楚出了什麼問題,請幫助我解決這個問題。 類和字段需要得到更新 class allowance_attendances(osv.osv): _name = "allowance.attendances" _description = "Allowance Attendances" _columns = { 'w

    2熱度

    1回答

    我需要關於odoo中的錯誤的幫助。 我已經爲odoo中的圖像創建了模型和xml。 這是我的模型 class Test(osv.osv): _name = "digital.test" _description = "Test" _columns = { 'Servicename': fields.char('Service Name'), 'prodescription

    0熱度

    1回答

    我正在嘗試訪問嵌套字典中的值並最終結束; raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf))) ValueError: Invalid field 'att_date_date' in leaf "<osv.ExtendedLeaf: ('att_date_date', '<=', '2017-08-01') on

    0熱度

    2回答

    我試圖將新列(來自合作伙伴模型的字段)添加到報價樹視圖。這是在調試模式下原來的樹視圖 <tree string="Quotation" fonts="bold:message_unread==True" colors="grey:state=='cancel';blue:state in ('waiting_date','manual');red:state in ('invoice_except

    0熱度

    1回答

    我在獲取函數字段以計算折扣,稅收和總計在一個列表中遇到問題。 我與OpenERP的7這裏工作是我的代碼: def _total(self,cr,uid,ids,field_names,args,context=None): res = {} for record in self.browse(cr,uid,ids,context=context): res[reco

    1熱度

    1回答

    我與擱淺「調查」,並在OpenERP的7「鑑定」模塊中有沒有「編輯」工作中道按鈕做調查。它總是打開一份調查的新副本,即使你在半途中關閉了調查。 如何添加「編輯」或「編輯」 /「更新」 /「保存而不提交」在旁的OpenERP 7嚮導「完成」按鈕或「回答調查」按鈕按鈕?有沒有可能在.py文件中做?

    -2熱度

    1回答

    我一直在試圖重寫(DEF get_worked_day_lines)總人次擺脫time_sheet_sheet.sheet總人次爲每一位員工這樣我就可以使基於total_attendance爲他工資單。 class hr_payslip(osv.osv): _inherit = 'hr.payslip' _columns = { } def get_worked_day_line

    1熱度

    2回答

    我試圖創建一個序列,該序列在點擊保存按鈕時位於formdownload模型的form_serial_no字段中。這個form_serial_no字段將在相同的models.py文件中選擇companyname model的company_short_code字段,並用七(7)位數字填充它,例如CHN0000001,其中CHN是company_short_code字段的值,0000001是記錄的第一

    1熱度

    1回答

    如何添加我的自定義插件到配置?這裏是我的OpenERP-server.conf文件 [options] ; This is the password that allows database operations: ; admin_passwd = admin db_host = False db_port = False db_user = dev1 db_password = Fa

    0熱度

    2回答

    我已經創建了一個包含標籤的many2many字段。它會在下拉菜單中顯示搜索更多..選項,當我單擊搜索更多按鈕時,彈出窗口顯示記錄。我希望這些記錄按字母順序排序。我怎樣才能做到這一點 ?