update graph
This commit is contained in:
parent
12f66e35bb
commit
8b93ae13e0
@ -400,7 +400,6 @@ class Maintenance(Workflow, ModelSQL, ModelView):
|
||||
#ax.set_xlabel('Three separate samples')
|
||||
#ax.set_ylabel('Observed values')
|
||||
|
||||
#ax1.set(ylim=(-0.25,0.25), yticks=np.arange(-0.25,0.50))
|
||||
plt.savefig(image, format='png')
|
||||
plt.close()
|
||||
|
||||
@ -490,11 +489,6 @@ class Maintenance(Workflow, ModelSQL, ModelView):
|
||||
|
||||
t_student = t.ppf(1-0.025, uncertain_eff)
|
||||
uncertain_expanded = round((t_student * uncertain_c),2)
|
||||
#dates_mistake_pattern[pattern].append((uncertain_expanded*-1) if uncertain_expanded >= 0 else uncertain_expanded)
|
||||
#dates_mistake_pattern[pattern].append(uncertain_expanded)
|
||||
#dates_mistake_pattern[pattern].append(-0.25)
|
||||
#dates_mistake_pattern[pattern].append(0.25)
|
||||
|
||||
|
||||
if maintenance.equipment.product.resolution_type == "analoga":
|
||||
calibrationLineTotal = CalibrationLineTotal(
|
||||
@ -715,7 +709,6 @@ class MaintenanceLine(ModelSQL, ModelView):
|
||||
'Maintenance Line'
|
||||
__name__ = 'optical_equipment.maintenance.line'
|
||||
|
||||
|
||||
line_replace = fields.Boolean("Replace", states={'readonly': If(Eval('line_maintenance_activity') == True, True)})
|
||||
line_maintenance_activity = fields.Boolean("Maintenance Activity", states={'readonly': If(Eval('line_replace') == True, True)})
|
||||
maintenance = fields.Many2One('optical_equipment.maintenance', 'Maintenance', ondelete='CASCADE', select=True)
|
||||
@ -824,7 +817,6 @@ class CreateContractInitial(ModelView, ModelSQL):
|
||||
datetime.date.min)),
|
||||
('end_date', '=', None),
|
||||
])
|
||||
|
||||
|
||||
@staticmethod
|
||||
def default_company():
|
||||
|
@ -1,24 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<office:document xmlns:officeooo="http://openoffice.org/2009/office" xmlns:css3t="http://www.w3.org/TR/css3-text/" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rpt="http://openoffice.org/2005/report" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:xforms="http://www.w3.org/2002/xforms" office:version="1.3" office:mimetype="application/vnd.oasis.opendocument.text">
|
||||
<office:meta><meta:creation-date>2022-10-11T16:28:51.101948480</meta:creation-date><dc:date>2022-11-02T17:34:13.483373618</dc:date><meta:editing-duration>PT4H42S</meta:editing-duration><meta:editing-cycles>43</meta:editing-cycles><meta:generator>LibreOffice/7.3.6.2$Linux_X86_64 LibreOffice_project/30$Build-2</meta:generator><meta:document-statistic meta:table-count="8" meta:image-count="1" meta:object-count="0" meta:page-count="2" meta:paragraph-count="65" meta:word-count="271" meta:character-count="3080" meta:non-whitespace-character-count="2864"/></office:meta>
|
||||
<office:meta><meta:creation-date>2022-10-11T16:28:51.101948480</meta:creation-date><dc:date>2022-11-08T16:14:55.366057668</dc:date><meta:editing-duration>PT4H1M8S</meta:editing-duration><meta:editing-cycles>44</meta:editing-cycles><meta:generator>LibreOffice/7.3.6.2$Linux_X86_64 LibreOffice_project/30$Build-2</meta:generator><meta:document-statistic meta:table-count="8" meta:image-count="1" meta:object-count="0" meta:page-count="2" meta:paragraph-count="65" meta:word-count="271" meta:character-count="3077" meta:non-whitespace-character-count="2861"/></office:meta>
|
||||
<office:settings>
|
||||
<config:config-item-set config:name="ooo:view-settings">
|
||||
<config:config-item config:name="ViewAreaTop" config:type="long">39599</config:config-item>
|
||||
<config:config-item config:name="ViewAreaTop" config:type="long">23883</config:config-item>
|
||||
<config:config-item config:name="ViewAreaLeft" config:type="long">0</config:config-item>
|
||||
<config:config-item config:name="ViewAreaWidth" config:type="long">25478</config:config-item>
|
||||
<config:config-item config:name="ViewAreaHeight" config:type="long">10169</config:config-item>
|
||||
<config:config-item config:name="ViewAreaWidth" config:type="long">34851</config:config-item>
|
||||
<config:config-item config:name="ViewAreaHeight" config:type="long">15291</config:config-item>
|
||||
<config:config-item config:name="ShowRedlineChanges" config:type="boolean">true</config:config-item>
|
||||
<config:config-item config:name="InBrowseMode" config:type="boolean">false</config:config-item>
|
||||
<config:config-item-map-indexed config:name="Views">
|
||||
<config:config-item-map-entry>
|
||||
<config:config-item config:name="ViewId" config:type="string">view2</config:config-item>
|
||||
<config:config-item config:name="ViewLeft" config:type="long">3944</config:config-item>
|
||||
<config:config-item config:name="ViewTop" config:type="long">44866</config:config-item>
|
||||
<config:config-item config:name="ViewLeft" config:type="long">16013</config:config-item>
|
||||
<config:config-item config:name="ViewTop" config:type="long">33681</config:config-item>
|
||||
<config:config-item config:name="VisibleLeft" config:type="long">0</config:config-item>
|
||||
<config:config-item config:name="VisibleTop" config:type="long">39599</config:config-item>
|
||||
<config:config-item config:name="VisibleRight" config:type="long">25476</config:config-item>
|
||||
<config:config-item config:name="VisibleBottom" config:type="long">49766</config:config-item>
|
||||
<config:config-item config:name="VisibleTop" config:type="long">23883</config:config-item>
|
||||
<config:config-item config:name="VisibleRight" config:type="long">34849</config:config-item>
|
||||
<config:config-item config:name="VisibleBottom" config:type="long">39172</config:config-item>
|
||||
<config:config-item config:name="ZoomType" config:type="short">0</config:config-item>
|
||||
<config:config-item config:name="ViewLayoutColumns" config:type="short">1</config:config-item>
|
||||
<config:config-item config:name="ViewLayoutBookMode" config:type="boolean">false</config:config-item>
|
||||
@ -88,7 +88,7 @@
|
||||
<config:config-item config:name="ChartAutoUpdate" config:type="boolean">true</config:config-item>
|
||||
<config:config-item config:name="PrinterSetup" config:type="base64Binary"/>
|
||||
<config:config-item config:name="AddParaTableSpacingAtStart" config:type="boolean">true</config:config-item>
|
||||
<config:config-item config:name="Rsid" config:type="int">3998485</config:config-item>
|
||||
<config:config-item config:name="Rsid" config:type="int">4104766</config:config-item>
|
||||
<config:config-item config:name="EmbeddedDatabaseName" config:type="string"/>
|
||||
<config:config-item config:name="FieldAutoUpdate" config:type="boolean">true</config:config-item>
|
||||
<config:config-item config:name="OutlineLevelYieldsNumbering" config:type="boolean">false</config:config-item>
|
||||
@ -159,7 +159,7 @@
|
||||
<office:styles>
|
||||
<style:default-style style:family="graphic">
|
||||
<style:graphic-properties svg:stroke-color="#3465a4" draw:fill-color="#729fcf" fo:wrap-option="no-wrap" draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm" draw:start-line-spacing-vertical="0.283cm" draw:end-line-spacing-horizontal="0.283cm" draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="false"/>
|
||||
<style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:font-independent-line-spacing="false">
|
||||
<style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:writing-mode="lr-tb" style:font-independent-line-spacing="false">
|
||||
<style:tab-stops/>
|
||||
</style:paragraph-properties>
|
||||
<style:text-properties style:use-window-font-color="true" loext:opacity="0%" style:font-name="Liberation Serif" fo:font-size="12pt" fo:language="es" fo:country="CO" style:letter-kerning="true" style:font-name-asian="Droid Sans Fallback" style:font-size-asian="10.5pt" style:language-asian="zh" style:country-asian="CN" style:font-name-complex="Droid Sans Devanagari1" style:font-size-complex="12pt" style:language-complex="hi" style:country-complex="IN"/>
|
||||
@ -868,28 +868,21 @@
|
||||
<style:style style:name="P101" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:text-properties style:font-name="Droid Sans Japanese1" fo:font-size="8pt" fo:font-weight="normal" officeooo:rsid="001b9ac0" officeooo:paragraph-rsid="0036953a" style:font-size-asian="8pt" style:font-weight-asian="normal" style:font-name-complex="Arial" style:font-size-complex="8pt" style:font-weight-complex="normal"/>
|
||||
</style:style>
|
||||
<style:style style:name="P102" style:family="paragraph" style:parent-style-name="Heading_20_2">
|
||||
<style:style style:name="P102" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:text-properties style:font-name="Droid Sans Japanese1" fo:font-size="8pt" fo:font-weight="normal" officeooo:rsid="001b9ac0" officeooo:paragraph-rsid="00387de2" style:font-size-asian="8pt" style:font-weight-asian="normal" style:font-name-complex="Arial" style:font-size-complex="8pt" style:font-weight-complex="normal"/>
|
||||
</style:style>
|
||||
<style:style style:name="P103" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:text-properties style:font-name="Droid Sans Japanese1" fo:font-size="8pt" fo:font-weight="normal" officeooo:rsid="001b9ac0" officeooo:paragraph-rsid="003974dc" style:font-size-asian="8pt" style:font-weight-asian="normal" style:font-name-complex="Arial" style:font-size-complex="8pt" style:font-weight-complex="normal"/>
|
||||
</style:style>
|
||||
<style:style style:name="P104" style:family="paragraph" style:parent-style-name="Heading_20_2">
|
||||
<style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
|
||||
<style:text-properties style:font-name="Droid Sans Japanese1" fo:font-size="8pt" fo:font-style="normal" fo:font-weight="normal" officeooo:paragraph-rsid="003359e1" style:font-size-asian="8pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="8pt" style:font-style-complex="normal" style:font-weight-complex="normal"/>
|
||||
</style:style>
|
||||
<style:style style:name="P103" style:family="paragraph" style:parent-style-name="Heading_20_2">
|
||||
<style:style style:name="P105" style:family="paragraph" style:parent-style-name="Heading_20_2">
|
||||
<style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
|
||||
<style:text-properties style:font-name="Droid Sans Japanese1" fo:font-size="8pt" fo:font-style="normal" fo:font-weight="normal" officeooo:paragraph-rsid="003b2e2b" style:font-size-asian="8pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="8pt" style:font-style-complex="normal" style:font-weight-complex="normal"/>
|
||||
</style:style>
|
||||
<style:style style:name="P104" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:text-properties style:font-name="Droid Sans Japanese1" fo:font-size="8pt" fo:font-weight="normal" officeooo:rsid="001b9ac0" officeooo:paragraph-rsid="00387de2" style:font-size-asian="8pt" style:font-weight-asian="normal" style:font-name-complex="Arial" style:font-size-complex="8pt" style:font-weight-complex="normal"/>
|
||||
</style:style>
|
||||
<style:style style:name="P105" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:text-properties style:font-name="Droid Sans Japanese1" fo:font-size="8pt" fo:font-weight="normal" officeooo:rsid="001b9ac0" officeooo:paragraph-rsid="003974dc" style:font-size-asian="8pt" style:font-weight-asian="normal" style:font-name-complex="Arial" style:font-size-complex="8pt" style:font-weight-complex="normal"/>
|
||||
</style:style>
|
||||
<style:style style:name="P106" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:text-properties style:font-name="Droid Sans Japanese1" fo:font-size="8pt" fo:font-weight="bold" officeooo:rsid="00205712" officeooo:paragraph-rsid="00205712" style:font-size-asian="8pt" style:font-weight-asian="bold" style:font-name-complex="Arial" style:font-size-complex="8pt" style:font-weight-complex="bold"/>
|
||||
</style:style>
|
||||
<style:style style:name="P107" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
|
||||
<style:text-properties style:font-name="Droid Sans Japanese1" fo:font-size="8pt" officeooo:paragraph-rsid="00209ed6" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
</style:style>
|
||||
<style:style style:name="P108" style:family="paragraph">
|
||||
<style:style style:name="P106" style:family="paragraph">
|
||||
<style:paragraph-properties fo:text-align="center"/>
|
||||
</style:style>
|
||||
<style:style style:name="T1" style:family="text">
|
||||
@ -1750,13 +1743,13 @@
|
||||
<text:p text:style-name="P63">Temperatura Min</text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tabla6.A2" office:value-type="string">
|
||||
<text:p text:style-name="P104"><text:placeholder text:placeholder-type="text" text:description="str(maintenance.equipment.product.temperature_min) + str(maintenance.equipment.product.temperature_uom.symbol) if maintenance.equipment.product.temperature_min else """><str(maintenance.equipment.product.temperature_min) + str(maintenance.equipment.product.temperature_uom.symbol) if maintenance.equipment.product.temperature_min else ""></text:placeholder></text:p>
|
||||
<text:p text:style-name="P102"><text:placeholder text:placeholder-type="text" text:description="str(maintenance.equipment.product.temperature_min) + str(maintenance.equipment.product.temperature_uom.symbol) if maintenance.equipment.product.temperature_min else """><str(maintenance.equipment.product.temperature_min) + str(maintenance.equipment.product.temperature_uom.symbol) if maintenance.equipment.product.temperature_min else ""></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tabla6.A2" office:value-type="string">
|
||||
<text:p text:style-name="P63">Humedad Min</text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tabla6.D2" office:value-type="string">
|
||||
<text:p text:style-name="P104"><text:placeholder text:placeholder-type="text" text:description="str(maintenance.equipment.product.moisture_min) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.equipment.product.moisture_min else """><str(maintenance.equipment.product.moisture_min) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.equipment.product.moisture_min else ""></text:placeholder></text:p>
|
||||
<text:p text:style-name="P102"><text:placeholder text:placeholder-type="text" text:description="str(maintenance.equipment.product.moisture_min) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.equipment.product.moisture_min else """><str(maintenance.equipment.product.moisture_min) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.equipment.product.moisture_min else ""></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
</table:table-row>
|
||||
<table:table-row>
|
||||
@ -1764,13 +1757,13 @@
|
||||
<text:p text:style-name="P63">Temperatura Max</text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tabla6.A2" office:value-type="string">
|
||||
<text:p text:style-name="P105"><text:placeholder text:placeholder-type="text" text:description="str(maintenance.equipment.product.temperature_max) + str(maintenance.equipment.product.temperature_uom.symbol) if maintenance.equipment.product.temperature_max else """><str(maintenance.equipment.product.temperature_max) + str(maintenance.equipment.product.temperature_uom.symbol) if maintenance.equipment.product.temperature_max else ""></text:placeholder></text:p>
|
||||
<text:p text:style-name="P103"><text:placeholder text:placeholder-type="text" text:description="str(maintenance.equipment.product.temperature_max) + str(maintenance.equipment.product.temperature_uom.symbol) if maintenance.equipment.product.temperature_max else """><str(maintenance.equipment.product.temperature_max) + str(maintenance.equipment.product.temperature_uom.symbol) if maintenance.equipment.product.temperature_max else ""></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tabla6.A2" office:value-type="string">
|
||||
<text:p text:style-name="P63">Humedad Max</text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tabla6.D2" office:value-type="string">
|
||||
<text:p text:style-name="P104"><text:placeholder text:placeholder-type="text" text:description="str(maintenance.equipment.product.moisture_max) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.equipment.product.moisture_max else """><str(maintenance.equipment.product.moisture_max) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.equipment.product.moisture_max else ""></text:placeholder></text:p>
|
||||
<text:p text:style-name="P102"><text:placeholder text:placeholder-type="text" text:description="str(maintenance.equipment.product.moisture_max) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.equipment.product.moisture_max else """><str(maintenance.equipment.product.moisture_max) + str(maintenance.equipment.product.moisture_uom.symbol) if maintenance.equipment.product.moisture_max else ""></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
</table:table-row>
|
||||
</table:table>
|
||||
@ -1819,7 +1812,7 @@
|
||||
</table:table-row>
|
||||
<table:table-row>
|
||||
<table:table-cell table:style-name="Tabla8.A3" table:number-columns-spanned="3" office:value-type="string">
|
||||
<text:p text:style-name="P103"><text:placeholder text:placeholder-type="text"></for></text:placeholder></text:p>
|
||||
<text:p text:style-name="P105"><text:placeholder text:placeholder-type="text"></for></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:covered-table-cell/>
|
||||
<table:covered-table-cell/>
|
||||
@ -1874,7 +1867,7 @@
|
||||
<text:p text:style-name="P83"><text:placeholder text:placeholder-type="text"><line.dev_std></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tabla1.C3" office:value-type="string">
|
||||
<text:p text:style-name="P84"><text:placeholder text:placeholder-type="text"><line.dev_std></text:placeholder></text:p>
|
||||
<text:p text:style-name="P84"><text:placeholder text:placeholder-type="text"><line.mean></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tabla1.D3" office:value-type="string">
|
||||
<text:p text:style-name="P83"><text:placeholder text:placeholder-type="text" text:description="line.uncertain_expanded"><line.uncertain_expanded></text:placeholder></text:p>
|
||||
@ -1885,7 +1878,7 @@
|
||||
</table:table-row>
|
||||
<table:table-row table:style-name="Tabla1.4">
|
||||
<table:table-cell table:style-name="Tabla1.A4" table:number-columns-spanned="5" office:value-type="string">
|
||||
<text:p text:style-name="P102"><text:placeholder text:placeholder-type="text"></for></text:placeholder></text:p>
|
||||
<text:p text:style-name="P104"><text:placeholder text:placeholder-type="text"></for></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:covered-table-cell/>
|
||||
<table:covered-table-cell/>
|
||||
@ -1915,7 +1908,7 @@
|
||||
<text:p text:style-name="P86"/>
|
||||
<text:p text:style-name="P86"/>
|
||||
<text:p text:style-name="P86"/>
|
||||
<text:p text:style-name="P58"><draw:line text:anchor-type="paragraph" draw:z-index="0" draw:name="Línea horizontal 3" draw:style-name="gr1" draw:text-style-name="P108" svg:x1="-0.027cm" svg:y1="0.157cm" svg:x2="5.265cm" svg:y2="0.157cm">
|
||||
<text:p text:style-name="P58"><draw:line text:anchor-type="paragraph" draw:z-index="0" draw:name="Línea horizontal 3" draw:style-name="gr1" draw:text-style-name="P106" svg:x1="-0.027cm" svg:y1="0.157cm" svg:x2="5.265cm" svg:y2="0.157cm">
|
||||
<text:p/>
|
||||
</draw:line><text:tab/><text:tab/></text:p>
|
||||
<text:p text:style-name="P42"><text:placeholder text:placeholder-type="text" text:description="maintenance.service_maintenance.technical.party.name"><maintenance.service_maintenance.technical.party.name></text:placeholder></text:p>
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user