Skip to content

Commit

Permalink
Align layout modules imp. documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Boscolo committed Apr 11, 2019
1 parent 867d9a0 commit 22a1aa4
Show file tree
Hide file tree
Showing 41 changed files with 15 additions and 27 deletions.
4 changes: 2 additions & 2 deletions plm/report/document_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


class ReportDocumentPdf(models.AbstractModel):
_name = 'report.ir.attachment_pdf'
_name = 'report.plm.ir_attachment_pdf'
_description = 'Report Document PDF'

@api.model
Expand All @@ -51,7 +51,7 @@ def render_qweb_pdf(self, documents=None, data=None):
return byteString.decode('UTF-8')

@api.model
def get_report_values(self, docids, data=None):
def _get_report_values(self, docids, data=None):
documents = self.env['ir.attachment'].browse(docids)
return {'docs': documents,
'get_content': self.render_qweb_pdf}
2 changes: 1 addition & 1 deletion plm/report/document_report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<report id="report_ir_attachment_pdf"
string="Print Pdf"
model="ir.attachment"
name="plm.document_pdf"
name="plm.ir_attachment_pdf"
report_type="qweb-html"
/>
</data>
Expand Down
1 change: 0 additions & 1 deletion plm/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ <h3 class="oe_centeralign">The module is developed and maintained by <b>OmniaSol
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">CAD/CAE Integrations</h2>
<h3 class="oe_centeralign">Odoo version covered : 12.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
Fully Integrated on main commercial CAD/CAE Packages with a menu of commands.
Expand Down
Binary file modified plm/static/img/spirale_me.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plm/static/src/img/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plm_auto_internalref/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_auto_internalref/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h1 class="oe_slogan">PLM Auto Internal Ref</h1>
<h2 class="oe_centeralign">Odoo version covered : 11.0</h2>
<h3 class="oe_centeralign">The module is developed and maintained by <b>OmniaSolutions</b>, Further information
at <b>www.omniasolutions.website</b></h3>
<div class="oe_span12">
Expand Down
Binary file modified plm_automate_normal_bom/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_automate_normal_bom/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Automated Normal Bom</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.0</h3>
<h3 class="oe_centeralign">The module is developed and maintained by <b>OmniaSolutions</b>, Further information at <b>www.omniasolutions.website</b></h3>
<div class="oe_span12">
<p class="oe_mt32">
Expand Down
Binary file modified plm_automated_convertion/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plm_automatic_weight/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_automatic_weight/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Automatic Weight</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
This module allows you compute product weight due to Normal BOM calculation, using CAD weight or setting a custom weight.
Expand Down
Binary file modified plm_box/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plm_client_customprocedure/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed plm_compare_bom/static/description/compare_bom.png
Binary file not shown.
Binary file modified plm_compare_bom/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions plm_compare_bom/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Compare Bom</h2>
<h3 class="oe_centeralign">Odoo version covered : 12.0</h3>
<div class="oe_span12">
<h3 class="oe_centeralign">
<br/>
<b>This module allows you to compare BOMs between each other.</b>
<br/>
<br/>
<a href="https://www.youtube.com/watch?v=8HzN29ZH-QI" class="oe_button oe_big oe_tacky">Watch the video</a>
</h3>
<h3 class="oe_centeralign">
<img src="compare_bom.png"/>
</h3>
<img src="compare_bom.png">

</div>
</div>
</section>
11 changes: 6 additions & 5 deletions plm_compare_bom/views/compare_bom_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,17 @@
<field name="arch" type="xml">
<form string="Visualize BoM">
<field name="bom_are_equal" invisible="True"/>
<div class="alert alert-danger"
style="text-align: left; font-size: 18px"
<div style="text-align: left; font-size: 18px"
attrs="{'invisible': [('bom_are_equal','=', False)]}">
<span class="fa fa-exclamation-triangle" style="color:blu;width:100%;text-align:left;font-size:60px"></span>
<span class="fa fa-exclamation-triangle"
style="color:blu;width:100%;text-align:left;font-size:60px"></span>
<br/>Attention: The two bom are equal !!
</div>
<field name="to_update" invisible="True"/>
<div class="alert alert-danger" style="text-align: left; font-size: 18px"
<div style="text-align: left; font-size: 18px"
attrs="{'invisible': [('to_update','=', False)]}">
<span class="fa fa-exclamation-triangle" style="color:red;width:100%;text-align:left;font-size:60px"></span>
<span class="fa fa-exclamation-triangle"
style="color:red;width:100%;text-align:left;font-size:60px"></span>
<br/>Attention: there are some change you need to save it !!
<button type="object" name="update_bom" icon="fa-save"/>
</div>
Expand Down
Binary file modified plm_cutted_parts/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_cutted_parts/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Cutted Part Extention</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
This module allows you to improve the capability of your odoo plm for managing the cutted parts
Expand Down
Binary file modified plm_date_bom/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_date_bom/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Date Bom</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
This module allows you view and/or update obsoleted components in a Normal Bill Of Materials using released components.
Expand Down
Binary file modified plm_engineering/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_engineering/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Engineering</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
This module add the engineering B.O.M to the bom type.
Expand Down
Binary file modified plm_pack_and_go/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_pack_and_go/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Pack and Go</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
This module allows you to download a zip file containing all documents attached to a BOM.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">PLM Product Description Language Helper</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.00</h3>
<div class="oe_span12">
<p class="oe_mt32">
This module allows you to use translations in product description. Provides also a view to manage plm description translations.
Expand Down
Binary file modified plm_project/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_project/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h1 class="oe_slogan">Plm Project</h1>
<h2 class="oe_centeralign">Odoo version covered : 11.0</h2>
<h3 class="oe_centeralign">The module is developed and maintained by <b>OmniaSolutions</b>, Further information at <b>www.omniasolutions.website</b></h3>
<div class="oe_span12" >
<p class="oe_mt32">
Expand Down
Binary file modified plm_report_language_helper/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_report_language_helper/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Report Language Helper</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
When you have to print report's in different languages, and you need a faster tool to manage it, this module allows you to do such a think.
Expand Down
Binary file modified plm_sale_fix/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_sale_fix/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h1 class="oe_slogan">Plm Sale Fix</h1>
<h2 class="oe_centeralign">Odoo version covered : 11.0</h2>
<h3 class="oe_centeralign">The module is developed and maintained by <b>OmniaSolutions</b>, Further information at <b>www.omniasolutions.website</b></h3>
<div class="oe_span12" >
<p class="oe_mt32">
Expand Down
Binary file modified plm_spare/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_spare/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Spare</h2>
<h3 class="oe_centeralign">Odoo version covered : 10.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
This module allows you to manage spare boms and sapre products.
Expand Down
Binary file modified plm_suspended/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_suspended/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Spare</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
This module allows you to manage spare boms and spare products.
Expand Down
Binary file modified plm_web_revision/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion plm_web_revision/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Plm Web Revision</h2>
<h3 class="oe_centeralign">Odoo version covered : 11.0</h3>
<div class="oe_span12">
<p class="oe_mt32">
This module allows you to create revise a component revisioning it's related document, engineering bom, normal bom and spare bom.
Expand Down

0 comments on commit 22a1aa4

Please sign in to comment.