콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

So I'm trying to add fields to res.partner

from odoo import fields, models


class Partner(models.Model):
_inherit = 'res.partner'

s_num_client = fields.Char()


It's working fine on the dev branch but on staging I'm getting an error :

"column res_partner.s_num_client does not exist"

From other questions on the forum I've seen that I could resolve this problem by rstarting the server and then update the module base. Problem is I don't know how to restart the server on odoo.sh as I don't have sudo access.

Is there a way to restart it without sudo ? Could my problem come from something else ?

아바타
취소
작성자 베스트 답변

I solved my problem by updating my module from the shell :

odoo-bin -u mymodule



아바타
취소
관련 게시물 답글 화면 활동
1
6월 22
7768
1
4월 25
1949
0
2월 21
2727
1
12월 20
5129
1
3월 24
5526