Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Print button in PC_REPAIR

By
Iker
on 3/11/14, 9:35 AM 584 views

Hello:

I am trying to add a print button to this simple module, but my skills aren't as good as I need to do the job. The module I am trying to modify is the awesomely simple PC_REPAIR from APREIMANTAS (I have no Karma, so you can find it in Google looking for "apreimantas pc_repair bitbucket") and the "only" thing I want to add is a Print button, to print a sheet to the customer and another to the technician when the customer comes with the broken PC, and another one to print a report when the customer goes to pick up.

Is this possible? Is easy enought to make?

Thanks a lot for reading!

0
Erhuvwu Akpobaro
On 11/26/14, 12:09 PM

Hello if you want to add a print button , to get a physical button to show , you simply need to add this to  the form view (before the <sheet></sheet> )your xml file :

<form string=" repair shit" version="8.0">
                <header>
                    <button name="print_sheett" string="sheet" type="object" class="oe_highlight" groups="base.group_user"/>

But to actually print out a sheet and send it to a printer that requires some further code ?

what type of sheet is it report / invoice / receipt , hopefully i can steer you in the right direction?

hope this was helpful

0
Baldric Cai
On 11/25/14, 8:04 PM

Hi May i Know if you found the proper PC repair solution ?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/11/14, 9:35 AM
Seen: 584 times
Last updated: 3/16/15, 8:10 AM