コンテンツへスキップ
Odoo メニュー
  • サインイン
  • 無料で15日試す
  • アプリ
    財務
    • 会計
    • 請求
    • 経費
    • スプレッドシート(BI)
    • ドキュメント管理
    • 署名
    販売
    • CRM
    • 販売
    • POS店舗
    • POSレストラン
    • サブスクリプション
    • レンタル
    ウェブサイト
    • ウェブサイトビルダー
    • eコマース
    • ブログ
    • フォーラム
    • ライブチャット
    • eラーニング
    サプライチェーン
    • 在庫
    • 製造
    • 製品ライフサイクル管理 (PLM)
    • 購買
    • 整備
    • 品質
    人事業務
    • 従業員管理
    • 採用
    • 休暇管理
    • 人事評価
    • リファラル
    • フリート
    マーケティング
    • ソーシャルマーケティング
    • メールマーケティング
    • SMSマーケティング
    • イベント
    • マーケティングオートメーション
    • アンケート調査
    サービス
    • プロジェクト管理
    • タイムシート
    • フィールドサービス
    • ヘルプデスク
    • 計画
    • アポイントメント
    生産性向上ツール
    • ディスカッション
    • 承認
    • IoT
    • VoIP
    • ナレッジ
    • WhatsApp
    サードパーティアプリ Odooスタジオ Odooクラウドプラットホーム
  • インダストリー(業種別ソリューション)
    小売
    • 書店
    • アパレルショップ
    • 家具専門店
    • 食料品店
    • 金物店
    • 玩具店
    飲食・ホスピタリティ業界
    • バー・パブ
    • レストラン
    • ファストフード
    • ゲストハウス
    • 飲料販売代理店
    • ホテル
    不動産
    • 不動産会社
    • 建築事務所
    • 建設
    • 不動産管理
    • 造園
    • 住宅所有者組合
    コンサルティング
    • 会計事務所
    • Odooパートナー
    • マーケティングエージェンシー
    • 法律事務所
    • 人材派遣
    • 監査・認証
    製造
    • テキスタイル
    • 金属
    • 家具
    • 飲食
    • 醸造所
    • コーポレートギフト
    ヘルス & フィットネス
    • スポーツクラブ
    • 眼鏡店
    • フィットネスセンター
    • ウェルネス専門家
    • 薬局
    • ヘアサロン
    業種
    • 便利屋
    • IT ハードウェア・サポート
    • 太陽エネルギーシステム
    • 靴メーカー
    • クリーニングサービス
    • 空調設備サービス
    その他
    • 非営利団体
    • 環境機関
    • ビルボードレンタル
    • 写真
    • 自転車リース
    • ソフトウェアリセラー
    すべての業種を見る
  • コミュニティ
    学ぶ
    • チュートリアル
    • ドキュメンテーション
    • 認定
    • トレーニング
    • ブログ
    • ポッドキャスト
    教育サポート
    • 教育プログラム
    • Scale Up! ビジネスゲーム
    • Odooオフィス訪問
    ソフトを入手
    • ダウンロード
    • エディションを比較
    • リリース
    コラボレーション
    • Github
    • フォーラム
    • イベント
    • 翻訳
    • パートナーになる
    • パートナー様向けサービス
    • 会計事務所を登録
    サービス利用
    • パートナー一覧
    • 会計事務所一覧
    • 今すぐ相談する
    • 導入支援サービス
    • お客様一覧
    • サポート
    • アップグレード
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    製品デモを利用する
  • 料金
  • ヘルプ

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • 会計
  • 在庫
  • PoS
  • プロジェクト
  • MRP
All apps
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
ヘルプ

Hide "validate" button on invoice

購読

この投稿に活動があった際に通知を受け取ります

この質問にフラグが付けられました
invoicevalidateopen
3 返信
6637 ビュー
アバター
Mickael Charbonnier

Hello,

 I'm working with openERP 7.0 and I try to hide the "validate" button on invoice for a group of user. It is possible with the rights access ?

Could you please help me ?

Thanks,

Mickael

0
アバター
破棄
アバター
Ludo - 21South
最善の回答

Yes. Create a custom module and overwrite the view for the invoice. Replace the button like this:

<button name="invoice_open" states="draft,proforma2" string="Validate" class="oe_highlight" groups="account.group_account_invoice"/>

 

with

<button name="invoice_open" states="draft,proforma2" string="Validate" class="oe_highlight" groups="account.group_account_invoice, mymodule_my_custom_group"/>

 

1
アバター
破棄
アバター
klacus
最善の回答

Just not forget to update the security.xml with your group, and rights.

 

Yes possible.

You just create a new view, and you can replace with this methode. This guide is helpfull.

https://doc.odoo.com/6.0/developer/2_6_views_events/views/specify_view_to_use/

1
アバター
破棄
アバター
Mickael Charbonnier
著作者 最善の回答

Hello Ludo and Klacus,

Thanks for your answer.

Is it possible to : duplicate the invoice view, replace the button and apply my new view to my group ?

If not, could you please describe me how to create a custom module ?

 

Thanks,

 

Mickael

0
アバター
破棄
klacus

Hi Mickael. I refresh the answer. Cheers :-)

OdooBot
Hi Klacus,

Thanks for your answer.

Do you know how to display customer informations when we print an invoice ?

Best regards,

Mickael


Subject: Re: False
From: kozmalg-gmail-com@mail.odoo.com
To: mickael.charbonnier@live.fr
Date: Tue, 22 Jul 2014 15:54:13 +0000

Hi Mickael. I refresh the answer. Cheers :-)
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
OdooBot
Hi Mickael.

Yes. The print invoice is a report.
As I know this is in the rml file.
You can check it at the Settings / Low Level objects / Actions / Reports
just looking for the account.invoice model.

So if you find it, you can see the reml path inside your addons folder.

In the rml you can find something like this:

in my case: /opt/openerp/server/openerp/addons/account/report$ geany account_print_invoice.rml

you can open with this file a simple text editor.
please see line 156:

I marked as blue the relevant info's.

    <blockTable colWidths="297.0,233.0" style="Table_Partner_Address">
      <tr>
        <td>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
        </td>
        <td>
          <para style="terp_default_8">[[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]]</para>
          <para style="terp_default_8">[[ display_address(o.address_invoice_id) ]]</para>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
          <para style="terp_default_8">Tel. : [[ (o.address_invoice_id and o.address_invoice_id.phone) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">Fax : [[ (o.address_invoice_id and o.address_invoice_id.fax) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">VAT : [[ (o.partner_id and o.partner_id.vat) or removeParentNode('para') ]]</para>
        </td>
      </tr>
    </blockTable>


The o. is mean object. (You should define it in a report py. you can see at there also with same name just.py)

About the rml programing you can find a lot of manul in the net.

I learn it from here: funny name:-) http://www.reportlab.com/docs/rml-for-idiots.pdf

and here: http://www.reportlab.com/docs/rml2pdf-userguide.pdf

about the reports more deep:https://doc.odoo.com/6.0/book/8/8_20_Config/8_20_Config_reports/

Cheers.
Laci






2014-07-23 11:52 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W24B49F194E06BD99A4FB0FF7FE0@phx.gbl" type="cite">
Hi Klacus,

Thanks for your answer.

Do you know how to display customer informations when we print an invoice ?

Best regards,

Mickael


Subject: Re: False
From: kozmalg-gmail-com@mail.odoo.com
To: mickael.charbonnier@live.fr
Date: Tue, 22 Jul 2014 15:54:13 +0000

Hi Mickael. I refresh the answer. Cheers :-)
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
OdooBot
Thanks Laci,

It works fine !

Best regards,

Mickael


Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 10:03:00 +0000

Hi Mickael.

Yes. The print invoice is a report.
As I know this is in the rml file.
You can check it at the Settings / Low Level objects / Actions / Reports
just looking for the account.invoice model.

So if you find it, you can see the reml path inside your addons folder.

In the rml you can find something like this:

in my case: /opt/openerp/server/openerp/addons/account/report$ geany account_print_invoice.rml

you can open with this file a simple text editor.
please see line 156:

I marked as blue the relevant info's.

    <blockTable colWidths="297.0,233.0" style="Table_Partner_Address">
      <tr>
        <td>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
        </td>
        <td>
          <para style="terp_default_8">[[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]]</para>
          <para style="terp_default_8">[[ display_address(o.address_invoice_id) ]]</para>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
          <para style="terp_default_8">Tel. : [[ (o.address_invoice_id and o.address_invoice_id.phone) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">Fax : [[ (o.address_invoice_id and o.address_invoice_id.fax) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">VAT : [[ (o.partner_id and o.partner_id.vat) or removeParentNode('para') ]]</para>
        </td>
      </tr>
    </blockTable>


The o. is mean object. (You should define it in a report py. you can see at there also with same name just.py)

About the rml programing you can find a lot of manul in the net.

I learn it from here: funny name:-) http://www.reportlab.com/docs/rml-for-idiots.pdf

and here: http://www.reportlab.com/docs/rml2pdf-userguide.pdf

about the reports more deep:https://doc.odoo.com/6.0/book/8/8_20_Config/8_20_Config_reports/

Cheers.
Laci






2014-07-23 11:52 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W24B49F194E06BD99A4FB0FF7FE0@phx.gbl" type="cite">
Hi Klacus,

Thanks for your answer.

Do you know how to display customer informations when we print an invoice ?

Best regards,

Mickael


Subject: Re: False
From: kozmalg-gmail-com@mail.odoo.com
To: mickael.charbonnier@live.fr
Date: Tue, 22 Jul 2014 15:54:13 +0000

Hi Mickael. I refresh the answer. Cheers :-)
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
OdooBot
Hi Mickael,

Your Welcome!
B.R.

Laci
p.m.: if you have any question just write a mail, if I can I will help..

2014-07-23 17:10 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W244215D884DCE1B639BED5F7FE0@phx.gbl" type="cite">
Thanks Laci,

It works fine !

Best regards,

Mickael


Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 10:03:00 +0000

Hi Mickael.

Yes. The print invoice is a report.
As I know this is in the rml file.
You can check it at the Settings / Low Level objects / Actions / Reports
just looking for the account.invoice model.

So if you find it, you can see the reml path inside your addons folder.

In the rml you can find something like this:

in my case: /opt/openerp/server/openerp/addons/account/report$ geany account_print_invoice.rml

you can open with this file a simple text editor.
please see line 156:

I marked as blue the relevant info's.

    <blockTable colWidths="297.0,233.0" style="Table_Partner_Address">
      <tr>
        <td>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
        </td>
        <td>
          <para style="terp_default_8">[[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]]</para>
          <para style="terp_default_8">[[ display_address(o.address_invoice_id) ]]</para>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
          <para style="terp_default_8">Tel. : [[ (o.address_invoice_id and o.address_invoice_id.phone) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">Fax : [[ (o.address_invoice_id and o.address_invoice_id.fax) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">VAT : [[ (o.partner_id and o.partner_id.vat) or removeParentNode('para') ]]</para>
        </td>
      </tr>
    </blockTable>


The o. is mean object. (You should define it in a report py. you can see at there also with same name just.py)

About the rml programing you can find a lot of manul in the net.

I learn it from here: funny name:-) http://www.reportlab.com/docs/rml-for-idiots.pdf

and here: http://www.reportlab.com/docs/rml2pdf-userguide.pdf

about the reports more deep:https://doc.odoo.com/6.0/book/8/8_20_Config/8_20_Config_reports/

Cheers.
Laci






2014-07-23 11:52 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W24B49F194E06BD99A4FB0FF7FE0@phx.gbl" type="cite">
Hi Klacus,

Thanks for your answer.

Do you know how to display customer informations when we print an invoice ?

Best regards,

Mickael


Subject: Re: False
From: kozmalg-gmail-com@mail.odoo.com
To: mickael.charbonnier@live.fr
Date: Tue, 22 Jul 2014 15:54:13 +0000

Hi Mickael. I refresh the answer. Cheers :-)
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
OdooBot
Hello Laci,

How are you ?

I have antoher question on OPENERP7....

I would like to change the name and the folder when I print an invoice. Is it possible?

And you know how to print directly (no pdt but send directly to the printer)

Thanks for your help,

Best regards,

Mickael

Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 15:12:11 +0000

Hi Mickael,

Your Welcome!
B.R.

Laci
p.m.: if you have any question just write a mail, if I can I will help..

2014-07-23 17:10 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W244215D884DCE1B639BED5F7FE0@phx.gbl" type="cite">
Thanks Laci,

It works fine !

Best regards,

Mickael


Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 10:03:00 +0000

Hi Mickael.

Yes. The print invoice is a report.
As I know this is in the rml file.
You can check it at the Settings / Low Level objects / Actions / Reports
just looking for the account.invoice model.

So if you find it, you can see the reml path inside your addons folder.

In the rml you can find something like this:

in my case: /opt/openerp/server/openerp/addons/account/report$ geany account_print_invoice.rml

you can open with this file a simple text editor.
please see line 156:

I marked as blue the relevant info's.

    <blockTable colWidths="297.0,233.0" style="Table_Partner_Address">
      <tr>
        <td>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
        </td>
        <td>
          <para style="terp_default_8">[[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]]</para>
          <para style="terp_default_8">[[ display_address(o.address_invoice_id) ]]</para>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
          <para style="terp_default_8">Tel. : [[ (o.address_invoice_id and o.address_invoice_id.phone) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">Fax : [[ (o.address_invoice_id and o.address_invoice_id.fax) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">VAT : [[ (o.partner_id and o.partner_id.vat) or removeParentNode('para') ]]</para>
        </td>
      </tr>
    </blockTable>


The o. is mean object. (You should define it in a report py. you can see at there also with same name just.py)

About the rml programing you can find a lot of manul in the net.

I learn it from here: funny name:-) http://www.reportlab.com/docs/rml-for-idiots.pdf

and here: http://www.reportlab.com/docs/rml2pdf-userguide.pdf

about the reports more deep:https://doc.odoo.com/6.0/book/8/8_20_Config/8_20_Config_reports/

Cheers.
Laci






2014-07-23 11:52 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W24B49F194E06BD99A4FB0FF7FE0@phx.gbl" type="cite">
Hi Klacus,

Thanks for your answer.

Do you know how to display customer informations when we print an invoice ?

Best regards,

Mickael


Subject: Re: False
From: kozmalg-gmail-com@mail.odoo.com
To: mickael.charbonnier@live.fr
Date: Tue, 22 Jul 2014 15:54:13 +0000

Hi Mickael. I refresh the answer. Cheers :-)
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
OdooBot
Hi Michael!

Now I am very busy, but at the weekend I can deal with your problem.

Regards
Laci

2014-07-31 11:49 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W29E2A7BF0C0E9E95C36F37F7E60@phx.gbl" type="cite">
Hello Laci,

How are you ?

I have antoher question on OPENERP7....

I would like to change the name and the folder when I print an invoice. Is it possible?

And you know how to print directly (no pdt but send directly to the printer)

Thanks for your help,

Best regards,

Mickael

Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 15:12:11 +0000

Hi Mickael,

Your Welcome!
B.R.

Laci
p.m.: if you have any question just write a mail, if I can I will help..

2014-07-23 17:10 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W244215D884DCE1B639BED5F7FE0@phx.gbl" type="cite">
Thanks Laci,

It works fine !

Best regards,

Mickael


Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 10:03:00 +0000

Hi Mickael.

Yes. The print invoice is a report.
As I know this is in the rml file.
You can check it at the Settings / Low Level objects / Actions / Reports
just looking for the account.invoice model.

So if you find it, you can see the reml path inside your addons folder.

In the rml you can find something like this:

in my case: /opt/openerp/server/openerp/addons/account/report$ geany account_print_invoice.rml

you can open with this file a simple text editor.
please see line 156:

I marked as blue the relevant info's.

    <blockTable colWidths="297.0,233.0" style="Table_Partner_Address">
      <tr>
        <td>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
        </td>
        <td>
          <para style="terp_default_8">[[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]]</para>
          <para style="terp_default_8">[[ display_address(o.address_invoice_id) ]]</para>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
          <para style="terp_default_8">Tel. : [[ (o.address_invoice_id and o.address_invoice_id.phone) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">Fax : [[ (o.address_invoice_id and o.address_invoice_id.fax) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">VAT : [[ (o.partner_id and o.partner_id.vat) or removeParentNode('para') ]]</para>
        </td>
      </tr>
    </blockTable>


The o. is mean object. (You should define it in a report py. you can see at there also with same name just.py)

About the rml programing you can find a lot of manul in the net.

I learn it from here: funny name:-) http://www.reportlab.com/docs/rml-for-idiots.pdf

and here: http://www.reportlab.com/docs/rml2pdf-userguide.pdf

about the reports more deep:https://doc.odoo.com/6.0/book/8/8_20_Config/8_20_Config_reports/

Cheers.
Laci






2014-07-23 11:52 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W24B49F194E06BD99A4FB0FF7FE0@phx.gbl" type="cite">
Hi Klacus,

Thanks for your answer.

Do you know how to display customer informations when we print an invoice ?

Best regards,

Mickael


Subject: Re: False
From: kozmalg-gmail-com@mail.odoo.com
To: mickael.charbonnier@live.fr
Date: Tue, 22 Jul 2014 15:54:13 +0000

Hi Mickael. I refresh the answer. Cheers :-)
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
OdooBot
Hi Mickael.

As far I remember the openerp has some several solution for the printing.

Like this:
https://www.odoo.com/apps/trunk/print_manager/

https://www.odoo.com/forum/help-1/question/how-to-send-reports-directly-to-printer-in-v7-0-1341
http://forum.openerp.com/forum/topic27513.html

some solution is 6.0 or 6.1 but you can install it under 7.0 with a small modify. (just debug the module when you try to install, and repairt it one-by-one, and step by step)

You can find a lot of solution if you looking fro the printjob, or direct printing in google with openerp key.

About the folder and name, can you tell me a bit more what are you want? If you want to change the pdf name you need to modify your /report/print_invoice.py.

This output is give the name. Or you can manipulate the file after the printing method is success. Like any I/o with python.
Very useful if you check the python os modul.

http://www.tutorialspoint.com/python/os_rename.htm


I will need to make a module for Zebra printer at end of august, if you want i will share with you my moduls..

Bye
Laci



2014-07-31 11:49 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W29E2A7BF0C0E9E95C36F37F7E60@phx.gbl" type="cite">
Hello Laci,

How are you ?

I have antoher question on OPENERP7....

I would like to change the name and the folder when I print an invoice. Is it possible?

And you know how to print directly (no pdt but send directly to the printer)

Thanks for your help,

Best regards,

Mickael

Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 15:12:11 +0000

Hi Mickael,

Your Welcome!
B.R.

Laci
p.m.: if you have any question just write a mail, if I can I will help..

2014-07-23 17:10 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W244215D884DCE1B639BED5F7FE0@phx.gbl" type="cite">
Thanks Laci,

It works fine !

Best regards,

Mickael


Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 10:03:00 +0000

Hi Mickael.

Yes. The print invoice is a report.
As I know this is in the rml file.
You can check it at the Settings / Low Level objects / Actions / Reports
just looking for the account.invoice model.

So if you find it, you can see the reml path inside your addons folder.

In the rml you can find something like this:

in my case: /opt/openerp/server/openerp/addons/account/report$ geany account_print_invoice.rml

you can open with this file a simple text editor.
please see line 156:

I marked as blue the relevant info's.

    <blockTable colWidths="297.0,233.0" style="Table_Partner_Address">
      <tr>
        <td>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
        </td>
        <td>
          <para style="terp_default_8">[[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]]</para>
          <para style="terp_default_8">[[ display_address(o.address_invoice_id) ]]</para>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
          <para style="terp_default_8">Tel. : [[ (o.address_invoice_id and o.address_invoice_id.phone) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">Fax : [[ (o.address_invoice_id and o.address_invoice_id.fax) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">VAT : [[ (o.partner_id and o.partner_id.vat) or removeParentNode('para') ]]</para>
        </td>
      </tr>
    </blockTable>


The o. is mean object. (You should define it in a report py. you can see at there also with same name just.py)

About the rml programing you can find a lot of manul in the net.

I learn it from here: funny name:-) http://www.reportlab.com/docs/rml-for-idiots.pdf

and here: http://www.reportlab.com/docs/rml2pdf-userguide.pdf

about the reports more deep:https://doc.odoo.com/6.0/book/8/8_20_Config/8_20_Config_reports/

Cheers.
Laci






2014-07-23 11:52 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W24B49F194E06BD99A4FB0FF7FE0@phx.gbl" type="cite">
Hi Klacus,

Thanks for your answer.

Do you know how to display customer informations when we print an invoice ?

Best regards,

Mickael


Subject: Re: False
From: kozmalg-gmail-com@mail.odoo.com
To: mickael.charbonnier@live.fr
Date: Tue, 22 Jul 2014 15:54:13 +0000

Hi Mickael. I refresh the answer. Cheers :-)
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
OdooBot
Hi Lacy,

Sorry for the delay, i was in vacation ....

For the print_manager, the module doesn't work with V7. Do you know why and how can I install it ?

About the folder and name, I want to change the name and the folder destination when I print a customer invoice. Because the name is always "invoice" and the folder destination is always downloads.
Do you know how can I do it ?

Thanks again,

Mickael


Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Sun, 3 Aug 2014 05:10:46 +0000

Hi Mickael.

As far I remember the openerp has some several solution for the printing.

Like this:
https://www.odoo.com/apps/trunk/print_manager/

https://www.odoo.com/forum/help-1/question/how-to-send-reports-directly-to-printer-in-v7-0-1341
http://forum.openerp.com/forum/topic27513.html

some solution is 6.0 or 6.1 but you can install it under 7.0 with a small modify. (just debug the module when you try to install, and repairt it one-by-one, and step by step)

You can find a lot of solution if you looking fro the printjob, or direct printing in google with openerp key.

About the folder and name, can you tell me a bit more what are you want? If you want to change the pdf name you need to modify your /report/print_invoice.py.

This output is give the name. Or you can manipulate the file after the printing method is success. Like any I/o with python.
Very useful if you check the python os modul.

http://www.tutorialspoint.com/python/os_rename.htm


I will need to make a module for Zebra printer at end of august, if you want i will share with you my moduls..

Bye
Laci



2014-07-31 11:49 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W29E2A7BF0C0E9E95C36F37F7E60@phx.gbl" type="cite">
Hello Laci,

How are you ?

I have antoher question on OPENERP7....

I would like to change the name and the folder when I print an invoice. Is it possible?

And you know how to print directly (no pdt but send directly to the printer)

Thanks for your help,

Best regards,

Mickael

Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 15:12:11 +0000

Hi Mickael,

Your Welcome!
B.R.

Laci
p.m.: if you have any question just write a mail, if I can I will help..

2014-07-23 17:10 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W244215D884DCE1B639BED5F7FE0@phx.gbl" type="cite">
Thanks Laci,

It works fine !

Best regards,

Mickael


Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 10:03:00 +0000

Hi Mickael.

Yes. The print invoice is a report.
As I know this is in the rml file.
You can check it at the Settings / Low Level objects / Actions / Reports
just looking for the account.invoice model.

So if you find it, you can see the reml path inside your addons folder.

In the rml you can find something like this:

in my case: /opt/openerp/server/openerp/addons/account/report$ geany account_print_invoice.rml

you can open with this file a simple text editor.
please see line 156:

I marked as blue the relevant info's.

    <blockTable colWidths="297.0,233.0" style="Table_Partner_Address">
      <tr>
        <td>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
        </td>
        <td>
          <para style="terp_default_8">[[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]]</para>
          <para style="terp_default_8">[[ display_address(o.address_invoice_id) ]]</para>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
          <para style="terp_default_8">Tel. : [[ (o.address_invoice_id and o.address_invoice_id.phone) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">Fax : [[ (o.address_invoice_id and o.address_invoice_id.fax) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">VAT : [[ (o.partner_id and o.partner_id.vat) or removeParentNode('para') ]]</para>
        </td>
      </tr>
    </blockTable>


The o. is mean object. (You should define it in a report py. you can see at there also with same name just.py)

About the rml programing you can find a lot of manul in the net.

I learn it from here: funny name:-) http://www.reportlab.com/docs/rml-for-idiots.pdf

and here: http://www.reportlab.com/docs/rml2pdf-userguide.pdf

about the reports more deep:https://doc.odoo.com/6.0/book/8/8_20_Config/8_20_Config_reports/

Cheers.
Laci






2014-07-23 11:52 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W24B49F194E06BD99A4FB0FF7FE0@phx.gbl" type="cite">
Hi Klacus,

Thanks for your answer.

Do you know how to display customer informations when we print an invoice ?

Best regards,

Mickael


Subject: Re: False
From: kozmalg-gmail-com@mail.odoo.com
To: mickael.charbonnier@live.fr
Date: Tue, 22 Jul 2014 15:54:13 +0000

Hi Mickael. I refresh the answer. Cheers :-)
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
OdooBot
Hi Mickael.

I was In Adria also :-) And the 3g in Croatia is very slow :-)

You need to create a custom button: this button is create a new invoice file name as you want.

In the return section you need to give back the report format as ir.action.report.

you can see this
http://stackoverflow.com/questions/14434846/openerp-custom-report-filename
for the first steps.

Bye.
Laci.




2014-08-25 12:30 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W39C9C681FB631BECBBA8C0F7DF0@phx.gbl" type="cite">
Hi Lacy,

Sorry for the delay, i was in vacation ....

For the print_manager, the module doesn't work with V7. Do you know why and how can I install it ?

About the folder and name, I want to change the name and the folder destination when I print a customer invoice. Because the name is always "invoice" and the folder destination is always downloads.
Do you know how can I do it ?

Thanks again,

Mickael


Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Sun, 3 Aug 2014 05:10:46 +0000

Hi Mickael.

As far I remember the openerp has some several solution for the printing.

Like this:
https://www.odoo.com/apps/trunk/print_manager/

https://www.odoo.com/forum/help-1/question/how-to-send-reports-directly-to-printer-in-v7-0-1341
http://forum.openerp.com/forum/topic27513.html

some solution is 6.0 or 6.1 but you can install it under 7.0 with a small modify. (just debug the module when you try to install, and repairt it one-by-one, and step by step)

You can find a lot of solution if you looking fro the printjob, or direct printing in google with openerp key.

About the folder and name, can you tell me a bit more what are you want? If you want to change the pdf name you need to modify your /report/print_invoice.py.

This output is give the name. Or you can manipulate the file after the printing method is success. Like any I/o with python.
Very useful if you check the python os modul.

http://www.tutorialspoint.com/python/os_rename.htm


I will need to make a module for Zebra printer at end of august, if you want i will share with you my moduls..

Bye
Laci



2014-07-31 11:49 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W29E2A7BF0C0E9E95C36F37F7E60@phx.gbl" type="cite">
Hello Laci,

How are you ?

I have antoher question on OPENERP7....

I would like to change the name and the folder when I print an invoice. Is it possible?

And you know how to print directly (no pdt but send directly to the printer)

Thanks for your help,

Best regards,

Mickael

Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 15:12:11 +0000

Hi Mickael,

Your Welcome!
B.R.

Laci
p.m.: if you have any question just write a mail, if I can I will help..

2014-07-23 17:10 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W244215D884DCE1B639BED5F7FE0@phx.gbl" type="cite">
Thanks Laci,

It works fine !

Best regards,

Mickael


Subject: Re: False
From: kozmalg@gmail.com
To: mickael.charbonnier@live.fr
Date: Wed, 23 Jul 2014 10:03:00 +0000

Hi Mickael.

Yes. The print invoice is a report.
As I know this is in the rml file.
You can check it at the Settings / Low Level objects / Actions / Reports
just looking for the account.invoice model.

So if you find it, you can see the reml path inside your addons folder.

In the rml you can find something like this:

in my case: /opt/openerp/server/openerp/addons/account/report$ geany account_print_invoice.rml

you can open with this file a simple text editor.
please see line 156:

I marked as blue the relevant info's.

    <blockTable colWidths="297.0,233.0" style="Table_Partner_Address">
      <tr>
        <td>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
        </td>
        <td>
          <para style="terp_default_8">[[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]]</para>
          <para style="terp_default_8">[[ display_address(o.address_invoice_id) ]]</para>
          <para style="terp_default_8">
            <font color="white"> </font>
          </para>
          <para style="terp_default_8">Tel. : [[ (o.address_invoice_id and o.address_invoice_id.phone) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">Fax : [[ (o.address_invoice_id and o.address_invoice_id.fax) or removeParentNode('para') ]]</para>
          <para style="terp_default_8">VAT : [[ (o.partner_id and o.partner_id.vat) or removeParentNode('para') ]]</para>
        </td>
      </tr>
    </blockTable>


The o. is mean object. (You should define it in a report py. you can see at there also with same name just.py)

About the rml programing you can find a lot of manul in the net.

I learn it from here: funny name:-) http://www.reportlab.com/docs/rml-for-idiots.pdf

and here: http://www.reportlab.com/docs/rml2pdf-userguide.pdf

about the reports more deep:https://doc.odoo.com/6.0/book/8/8_20_Config/8_20_Config_reports/

Cheers.
Laci






2014-07-23 11:52 keltezéssel, mickael Charbonnier írta:
<blockquote cite="mid:DUB124-W24B49F194E06BD99A4FB0FF7FE0@phx.gbl" type="cite">
Hi Klacus,

Thanks for your answer.

Do you know how to display customer informations when we print an invoice ?

Best regards,

Mickael


Subject: Re: False
From: kozmalg-gmail-com@mail.odoo.com
To: mickael.charbonnier@live.fr
Date: Tue, 22 Jul 2014 15:54:13 +0000

Hi Mickael. I refresh the answer. Cheers :-)
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
klacus Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
--
Mickael Charbonnier Sent by OpenERP S.A. using Odoo. about Forum Post False
ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

今すぐアカウントを作成して、限定機能を利用したり、素晴らしいコミュニティと交流しましょう!

登録
関連投稿 返信 ビュー 活動
"Validate" button missing on invoices for users with Only Own Documents rights
invoice validate
アバター
アバター
アバター
4
4月 25
2057
Cannot create moves for different companies when validating invoice 解決済
invoice validate Odoo11
アバター
アバター
アバター
2
1月 23
5536
Invoice Numbers not be created?
invoice validate sequence
アバター
アバター
アバター
アバター
アバター
12
1月 17
15197
Global taxes defined, but they are not in invoice lines ?
invoice validate openerp7
アバター
アバター
2
4月 16
4894
Why in the Calendar View if you move the invoice can change the date of the invoice validated ? Is it a bug? 解決済
invoice calendar validate
アバター
アバター
1
3月 15
4271
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • Github
  • Runbot
  • 翻訳
サービス
  • Odoo.shホスティング
  • サポート
  • アップグレード
  • カスタム開発
  • 教育プログラム
  • 会計事務所一覧
  • パートナー一覧
  • パートナーになる
企業情報
  • 会社概要
  • ブランドアセット
  • お問い合わせ
  • 採用情報
  • イベント
  • ポッドキャスト
  • ブログ
  • お客様一覧
  • リーガル情報 • プライバシーポリシー
  • セキュリティ
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo(オドゥー)は、CRM、eコマース、会計、在庫管理、POS、プロジェクト管理など、企業のさまざまな業務を一つのシステムで管理できる、ベルギー発のオープンソースのERPソフトウェアです。

高機能で使いやすく、完全に統合されたERPとして、ユニークな価値を提供しています。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now