Skip to Content
Odoo เมนู
  • ลงชื่อเข้าใช้
  • ทดลองใช้ฟรี
  • แอป
    การเงิน
    • ระบบบัญชี
    • ระบบการออกใบแจ้งหนี้
    • ระบบบัญชีรายจ่าย
    • ระบบการจัดการข้อมูลผ่านสเปรดชีต (BI)
    • เอกสาร
    • ระบบลงลายเซ็น
    การขาย
    • ลูกค้าสัมพันธ์
    • การขาย
    • POS ร้านค้า
    • POS ร้านอาหาร
    • ระบบสมัครสมาชิก
    • การเช่า
    การจัดการเว็บไซต์
    • เครื่องมือสร้างเว็บไซต์
    • ระบบการขายออนไลน์
    • บล็อก
    • ฟอรั่ม
    • ไลฟ์แชท
    • ระบบการอบรมออนไลน์
    ซัพพลายเชน
    • คลังสินค้า
    • ระบบการผลิต
    • PLM
    • ระบบการจัดซื้อ
    • การซ่อมบำรุง
    • ระบบจัดการคุณภาพ
    ทรัพยากรบุคคล
    • ข้อมูลพนักงาน
    • ระบบสรรหาบุคลากร
    • ระบบการลา
    • การประเมิน
    • ระบบการแนะนำพนักงาน
    • ระบบจัดการยานพาหนะ
    การตลาด
    • โซเชียลมาร์เก็ตติ้ง
    • การตลาดผ่านอีเมล
    • ระบบการตลาดผ่าน SMS
    • ระบบการจัดงานอีเวนต์
    • การตลาดแบบอัตโนมัติ
    • ระบบแบบสำรวจ
    การบริการ
    • โปรเจกต์
    • ระบบบันทึกเวลา
    • ระบบการจัดการบริการภาคสนาม
    • ระบบดูแลช่วยเหลือ
    • การวางแผน
    • การนัดหมาย
    ประสิทธิผล
    • ระบบแสดงความคิดเห็น
    • ระบบการอนุมัติ
    • ไอโอที
    • VoIP
    • คลังข้อมูล
    • WhatsApp
    แอปพลิเคชันของบุคคลที่สาม Odoo สตูดิโอ แพลตฟอร์มคลาวด์ของ Odoo
  • อุตสาหกรรม
    การค้าปลีก
    • ร้านขายหนังสือ
    • ร้านขายเสื้อผ้า
    • ร้านขายเฟอร์นิเจอร์
    • ร้านขายของชำ
    • ร้านขายฮาร์ดแวร์
    • ร้านขายของเล่น
    Food & Hospitality
    • บาร์และผับ
    • ร้านอาหาร
    • อาหารฟาสต์ฟู้ด
    • Guest House
    • ตัวแทนจำหน่ายเครื่องดื่ม
    • Hotel
    อสังหาริมทรัพย์
    • Real Estate Agency
    • บริษัทสถาปัตยกรรม
    • บริษัทรับเหมา
    • การจัดการอสังหาริมทรัพย์
    • การจัดสวน
    • สมาคมเจ้าของอสังหาริมทรัพย์
    ปรึกษา
    • สำนักงานบัญชี
    • Odoo พาร์ทเนอร์
    • เอเจนซี่การตลาด
    • สำนักงานกฎหมาย
    • บริการสรรหาบุคลากร
    • การตรวจสอบและการรับรอง
    ระบบการผลิต
    • Textile
    • เหล็ก
    • เฟอร์นิเจอร์
    • อาหาร
    • Brewery
    • ของขวัญขององค์กร
    สุขภาพ & ฟิตเนส
    • ชมรมกีฬา
    • ร้านขายแว่นตา
    • ฟิตเนส
    • ผู้ประกอบวิชาชีพด้านสุขภาพ
    • ร้านขายยา
    • ร้านทำผม
    Trades
    • ช่างซ่อม
    • ฮาร์ดแวร์และการสนับสนุนด้านไอที
    • ระบบพลังงานแสงอาทิตย์
    • ช่างทำรองเท้า
    • บริการทำความสะอาด
    • HVAC Services
    อื่น ๆ
    • Nonprofit Organization
    • สำนักงานสิ่งแวดล้อม
    • ร้านเช่าป้ายโฆษณา
    • การถ่ายภาพ
    • ร้านเช่าจักรยาน
    • ตัวแทนจำหน่ายซอฟต์แวร์
    Browse all Industries
  • คอมมูนิตี้
    ศึกษา
    • บทเรียน
    • เอกสารกำกับโปรแกรม
    • การรับรอง
    • การฝึกอบรม
    • บล็อก
    • พอดแคสต์
    เพิ่มศักยภาพให้กับการศึกษา
    • โปรแกรมการศึกษา
    • Scale Up! Business Game
    • เยี่ยมชม Odoo
    รับซอฟต์แวร์
    • ดาวน์โหลด
    • เปรียบเทียบรุ่น
    • เผยแพร่
    ทำงานร่วมกัน
    • Github
    • ฟอรั่ม
    • ระบบการจัดงานอีเวนต์
    • การแปล
    • ร่วมเป็นพาร์ทเนอร์
    • Services for Partners
    • ลงทะเบียนเพื่อสร้างบัญชีบริษัทของคุณ
    รับบริการ
    • ค้นหาพาร์ทเนอร์
    • ค้นหานักบัญชี
    • พบกับที่ปรึกษา
    • บริการติดตั้งระบบเพื่อใช้งาน
    • ข้อมูลอ้างอิงลูกค้า
    • การสนับสนุน
    • อัปเกรด
    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:

  • ลูกค้าสัมพันธ์
  • e-Commerce
  • ระบบบัญชี
  • สินค้าคงคลัง
  • PoS
  • โปรเจกต์
  • MRP
All apps
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
ช่วยเหลือ

Hide "validate" button on invoice

ติดตาม

รับการแจ้งเตือนเมื่อมีกิจกรรมในโพสต์นี้

คำถามนี้ถูกตั้งค่าสถานะ
invoicevalidateopen
3 ตอบกลับ
6672 มุมมอง
อวตาร
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
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!

สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!

ลงชื่อ
Related Posts ตอบกลับ มุมมอง กิจกรรม
"Validate" button missing on invoices for users with Only Own Documents rights
invoice validate
อวตาร
อวตาร
อวตาร
4
เม.ย. 25
2097
Cannot create moves for different companies when validating invoice แก้ไขแล้ว
invoice validate Odoo11
อวตาร
อวตาร
อวตาร
2
ม.ค. 23
5582
Invoice Numbers not be created?
invoice validate sequence
อวตาร
อวตาร
อวตาร
อวตาร
อวตาร
12
ม.ค. 17
15241
Global taxes defined, but they are not in invoice lines ?
invoice validate openerp7
อวตาร
อวตาร
2
เม.ย. 16
4924
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
มี.ค. 15
4289
คอมมูนิตี้
  • บทเรียน
  • เอกสารกำกับโปรแกรม
  • ฟอรั่ม
โอเพนซอร์ส
  • ดาวน์โหลด
  • 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 eCommerce ระบบบัญชี ระบบสินค้าคงคลัง ระบบการขายหน้าร้าน โปรเจกต์ และ อีกมากมาย

ความเหนือกว่าอันเป็นเอกลักษณ์ของ Odoo คือการใช้งานที่ง่ายดายและผสานการทำงานอย่างสมบูรณ์แบบในเวลาเดียวกัน

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