Odoo Help

0

Print button in PC_REPAIR

By
Iker
on 3/11/14, 9:35 AM 820 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 ?

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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