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

Not long ago, I have begun to set up OpenERP 7. Have already managed to program an own extension containing user defined fields for standard customer module. These fields are shown in a new tab inside the notebook of the partner form I inherited.

My problems begin when inserting this code inside my view:

Either this:

<data>
 <field name="ref" position="replace"/>
 <field name="cust-category" position="before">
    <field name="ref"/>
</field>
</data>

or this:

<data>
  <xpath expr="//page[@name='Custom Fields']/form/field[@name='cust-category']" position="before">
    <field name="ref"/>
  </xpath>
  <xpath expr="//field[@name='Custom Fields']/tree/field[@name='cust-category']" position="before">
    <field name="ref"/>
  </xpath>

</data>

Sorry for not being able to enter my code sequences here that they are shown as I entered them, but I do not have any idea to to this. Anyway, you can see what I want to do: I want to show customer reference on my self-defined tab inside the notebook as very first field.

I do not get any syntax error when trying to install, but it is loading, loading and does not stop loading. If I abort it, I get a HTTP request error and have to restart the openerp server. No problem so far, but my module is only half-installed (settings menu for installing offers me "abort installation".

I thought, this occurs because of erronous code, but it does not seem so. Trying to install OpenOffice Report Designer the same happens. This is a public module and therefore should be clean. Can you tell me what I can do to be able to fully install any modules?

아바타
취소

Did you checked that you didn't left any breakpoint on your coding application like eclipse or pycharm?

작성자

No, impossibe, because up to now, I have not used any IDE for OpenERP development. Such small things I am still coding in nano editor. Any other ideas how I can transfer customer ID to my new notebook tab inside partner form?

관련 게시물 답글 화면 활동
4
9월 20
3762
7
10월 18
10609
1
5월 16
6113
2
11월 15
3659
1
10월 15
6356