Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📖 description and documentation v10 #1107

Draft
wants to merge 4 commits into
base: 10.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hw_printer_network/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
Hardware Network Printer
==========================

Hardware Driver for Network pinters.
Hardware Driver for Network printers.

When print an order, the PosBox receives the network printer IP address and the receipt from client's POS.
While printing an order, the PosBox receives the network printer IP address and the receipt from client's POS.
If the IP address is not empty, it will be connected to the network printer by using this address, which in turn prints the receipt.

Credits
Expand Down
2 changes: 1 addition & 1 deletion hw_printer_network/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": """Hardware Network Printer""",
"summary": """Hardware Driver for Network Printers""",
"category": "Point of Sale",
"images": [],
"images": ['images/networkprinter.jpg'],
"version": "10.0.2.0.1",
"application": False,

Expand Down
21 changes: 19 additions & 2 deletions hw_printer_network/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,26 @@ Installation
In PosBox
---------

* add ``hw_printer_network`` module to *server wide modules*. Detailed instruction is here: https://odoo-development.readthedocs.io/en/latest/admin/posbox/administrate-posbox.html#how-to-update-odoo-command-line-options
* add ``hw_printer_network`` module to *server wide modules*.

Detailed instruction is here: https://odoo-development.readthedocs.io/en/latest/admin/posbox/administrate-posbox.html#how-to-update-odoo-command-line-options

Usage
=====

Use the module together with `Pos Network Printer <https://apps.odoo.com/apps/modules/10.0/pos_printer_network>`__
* To know how to update odoo command-line options and edit odoo source follow this `video <https://drive.google.com/file/d/1tdQAOldgFO96x5fvbEI-H84Qdmcg3DR2/view>`__ .
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, thanks. Google drive is the worst solution.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And which is the best one?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ютуб или прямо в модуль


.. note::
Use the module together with `Pos Network Printer <https://apps.odoo.com/apps/modules/10.0/pos_printer_network>`__

*Networking works only for printers, but not for cashdrivers linked to network printers.*

* HTTPS
For odoo servers with SSL certificate, you may need to configure the certificate on POXBox (IoTBox).

In this case, you need to stick with IP address formats in the POS Configuration fields as below in the examples:

* IOTBOX IP-address format: https://192.168.1.2.
* Network Printers IP-address format: https://192.168.1.200
* USB Printer IP-address format: https://192.168.1.2:443

Binary file added hw_printer_network/image/networkprinter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 44 additions & 4 deletions hw_printer_network/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,51 @@ <h3 class="oe_slogan">You will get free support and assistance in case of any is
<div class="oe_span12">
<h2>Need our service?</h2>
<p class="oe_mt32">Contact us by <a href="mailto:[email protected]">email</a> or fill out <a href="https://www.it-projects.info/page/website.contactus " target="_blank">request form</a></p>
<ul>
<li><a href="mailto:[email protected]">[email protected] <i class="fa fa-envelope-o"></i></a></li>
<li><a href="https://www.it-projects.info/page/website.contactus " target="_blank">https://www.it-projects.info/page/website.contactus <i class="fa fa-list-alt"></i></a></li>
</ul>
<ul>
<li><a href="mailto:[email protected]">[email protected] <i class="fa fa-envelope-o"></i></a></li>
<li><a href="https://www.it-projects.info/page/website.contactus " target="_blank">https://www.it-projects.info/page/website.contactus <i class="fa fa-list-alt"></i></a></li>
<li><a href="https://m.me/itprojectsllc" target="_blank">https://m.me/itprojectsllc <i class="fa fa-facebook-square"></i></a></li>
<li>[email protected] <i class="fa fa-skype"></i></li>
</ul>
</div>
<div class="oe_span4">
<div class="stamp" style="width:200px;">
<div style="margin-top: 15px;
position: relative;
font-family:'Vollkorn', serif;
font-size: 16px;
line-height: 25px;
text-transform: uppercase;
font-weight: bold;
color: #75526b;
border: 3px dashed #75526b;
float: left;
padding: 4px 12px;
-webkit-transform: rotate(STAMP1_ROTATIONdeg);
-o-transform: rotate(STAMP1_ROTATIONdeg);
-moz-transform: rotate(STAMP1_ROTATIONdeg);
-ms-transform: rotate(STAMP1_ROTATIONdeg);">
Tested on Odoo<br/>ODOO_BRANCH community
</div>
<div style="margin-top: 15px;
position: relative;
font-family:'Vollkorn', serif;
font-size: 16px;
line-height: 25px;
text-transform: uppercase;
font-weight: bold;
color: #75526b;
border: 3px dashed #75526b;
float: left;
padding: 4px 12px;
-webkit-transform: rotate(STAMP2_ROTATIONdeg);
-o-transform: rotate(STAMP2_ROTATIONdeg);
-moz-transform: rotate(STAMP2_ROTATIONdeg);
-ms-transform: rotate(STAMP2_ROTATIONdeg);">
Tested on Odoo<br/>ODOO_BRANCH enterprise
</div>
</div>
</div>
</div>
</div>
</section>
2 changes: 1 addition & 1 deletion hw_twitter_printing/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"summary": """Print tweets with specific hashtags""",
"category": "Point of Sale",
# "live_test_URL": "",
"images": [],
"images": ['images/networkprinter.jpg'],
"version": "10.0.1.0.0",
"application": False,

Expand Down
Binary file added hw_twitter_printing/images/networkprinter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.