tag:blogger.com,1999:blog-51867911356005449212024-03-19T02:47:01.448-06:00Programando con Odoo (OpenERP) y PythonDesarrollo de Modulos con OpenObject, ORM y API Odoo.German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.comBlogger186125tag:blogger.com,1999:blog-5186791135600544921.post-62113946207079108942021-08-14T01:43:00.007-05:002021-08-14T01:44:40.974-05:00Traductor de Texto Python<h1 style="text-align: center;"> Traductor de Texto con API JSON Google Translate</h1><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc_MrOk5vg-6lUJ95a3psqMJCiEkV4-Bv2EYTNQmUnNabLXTi9wSc2QXL1hEx4hnU_Vmo_Kp03ND5LPERKHaoseb6BCxyudM95CMBCNBf_RvVmFmNZlWPo4z4DlzT7TPQ22w7V-CAre8Q/s512/Google_Translate_Icon.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="512" data-original-width="512" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc_MrOk5vg-6lUJ95a3psqMJCiEkV4-Bv2EYTNQmUnNabLXTi9wSc2QXL1hEx4hnU_Vmo_Kp03ND5LPERKHaoseb6BCxyudM95CMBCNBf_RvVmFmNZlWPo4z4DlzT7TPQ22w7V-CAre8Q/w200-h200/Google_Translate_Icon.png" width="200" /></a></div><br /><p style="text-align: center;"><br /></p>
<!--HTML generated using hilite.me--><div style="background: rgb(39, 40, 34); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: #f92672;">import</span> <span style="color: #f8f8f2;">requests</span>
<span style="color: #66d9ef;">def</span> <span style="color: #a6e22e;">Traduccion</span><span style="color: #f8f8f2;">(source,</span> <span style="color: #f8f8f2;">target,</span> <span style="color: #f8f8f2;">text):</span>
<span style="color: #f8f8f2;">parametros</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">{</span><span style="color: #e6db74;">'sl'</span><span style="color: #f8f8f2;">:</span> <span style="color: #f8f8f2;">source,</span> <span style="color: #e6db74;">'tl'</span><span style="color: #f8f8f2;">:</span> <span style="color: #f8f8f2;">target,</span> <span style="color: #e6db74;">'q'</span><span style="color: #f8f8f2;">:</span> <span style="color: #f8f8f2;">text}</span>
<span style="color: #f8f8f2;">cabeceras</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">{</span><span style="color: #e6db74;">"Charset"</span><span style="color: #f8f8f2;">:</span><span style="color: #e6db74;">"UTF-8"</span><span style="color: #f8f8f2;">,</span><span style="color: #e6db74;">"User-Agent"</span><span style="color: #f8f8f2;">:</span><span style="color: #e6db74;">"AndroidTranslate/5.3.0.RC02.130475354-53000263 5.1 phone TRANSLATE_OPM5_TEST_1"</span><span style="color: #f8f8f2;">}</span>
<span style="color: #f8f8f2;">url</span> <span style="color: #f92672;">=</span> <span style="color: #e6db74;">"https://translate.google.com/translate_a/single?client=at&dt=t&dt=ld&dt=qca&dt=rm&dt=bd&dj=1&hl=es-ES&ie=UTF-8&oe=UTF-8&inputm=2&otf=2&iid=1dd3b944-fa62-4b55-b330-74909a99969e"</span>
<span style="color: #f8f8f2;">response</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">requests</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">post(url,</span> <span style="color: #f8f8f2;">data</span><span style="color: #f92672;">=</span><span style="color: #f8f8f2;">parametros,</span> <span style="color: #f8f8f2;">headers</span><span style="color: #f92672;">=</span><span style="color: #f8f8f2;">cabeceras)</span>
<span style="color: #66d9ef;">if</span> <span style="color: #f8f8f2;">response</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">status_code</span> <span style="color: #f92672;">==</span> <span style="color: #ae81ff;">200</span><span style="color: #f8f8f2;">:</span>
<span style="color: #66d9ef;">for</span> <span style="color: #f8f8f2;">x</span> <span style="color: #f92672;">in</span> <span style="color: #f8f8f2;">response</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">json()[</span><span style="color: #e6db74;">'sentences'</span><span style="color: #f8f8f2;">]:</span>
<span style="color: #66d9ef;">return</span> <span style="color: #f8f8f2;">x[</span><span style="color: #e6db74;">'trans'</span><span style="color: #f8f8f2;">]</span>
<span style="color: #66d9ef;">else</span><span style="color: #f8f8f2;">:</span>
<span style="color: #66d9ef;">return</span> <span style="color: #e6db74;">"Ocurrió un error"</span>
<span style="color: #f8f8f2;">texto</span> <span style="color: #f92672;">=</span> <span style="color: #e6db74;">"Prueba Exitosa"</span>
<span style="color: #f8f8f2;">respuesta</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">Traduccion(</span><span style="color: #e6db74;">"es"</span><span style="color: #f8f8f2;">,</span> <span style="color: #e6db74;">"en"</span><span style="color: #f8f8f2;">,</span> <span style="color: #f8f8f2;">texto)</span>
<span style="color: #f8f8f2;">print(</span><span style="color: #e6db74;">"Resultado: "</span> <span style="color: #f92672;">+</span> <span style="color: #f8f8f2;">str(respuesta))</span>
</pre></div>
<br />Fuente: <a href="https://github.com/LuisAlejandroSalcedo/traductor-de-palabras/blob/master/traductor.py">https://github.com/LuisAlejandroSalcedo/traductor-de-palabras/blob/master/traductor.py</a>German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-39293963950903095232021-07-23T15:10:00.000-05:002021-07-23T15:10:21.823-05:00Complemento Carta Porte Odoo <h2 style="text-align: center;"> Complemento de Carta Porte Timbrado de Facturas Odoo</h2><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjruDKglLkULfvjdJaXgw2kVAnJqB0iu0BRSTMCG0vu7H1UhlsgJldhXJcsfpBJ22O7Ec-ScHZE7EFr0NW-CbHCXYCE3JnuEnvPqdfqXDZZ3VGeQGDFimYBGEcCIlo5N9XbAmsKVyQ5NMo/s350/Factura-electr%25C3%25B3nica.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="230" data-original-width="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjruDKglLkULfvjdJaXgw2kVAnJqB0iu0BRSTMCG0vu7H1UhlsgJldhXJcsfpBJ22O7Ec-ScHZE7EFr0NW-CbHCXYCE3JnuEnvPqdfqXDZZ3VGeQGDFimYBGEcCIlo5N9XbAmsKVyQ5NMo/s320/Factura-electr%25C3%25B3nica.jpg" width="320" /></a></div><br /><p style="text-align: center;"><br /></p><p><span style="font-size: medium;"><br /></span></p><p><span style="font-size: medium;">Dentro del sistema Odoo se ha desarrollado una serie de módulos que van a permitir cumplir con la reforma fiscal 2021 Complemento de Carta Porte, funciona para CFDI de Ingresos y Traslados.</span></p><p><span style="font-size: medium;"><br /></span></p><p><span style="font-size: medium;">1. Primero vamos a crear una factura seleccionando en el campo Complemento la opción "Carta Porte":</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5m01nag3LQbGwksIXzquMJdkMGG6FYFDuk7ENPpkwKVFpuCyFgLkrDkc7jdIIV8R8Prb9bz2TR_yX9qVLbAyahFCZebKwWeK13dR5dZXZVDLcUiMj3XDZozR5BBHMlSOezd9VvIojx6A/s1179/factura+complemento+carta+porte.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="825" data-original-width="1179" height="448" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5m01nag3LQbGwksIXzquMJdkMGG6FYFDuk7ENPpkwKVFpuCyFgLkrDkc7jdIIV8R8Prb9bz2TR_yX9qVLbAyahFCZebKwWeK13dR5dZXZVDLcUiMj3XDZozR5BBHMlSOezd9VvIojx6A/w640-h448/factura+complemento+carta+porte.png" width="640" /></a></div><br /><span style="font-size: medium;"><br /></span><p></p><p><span style="font-size: medium;">2. Dentro de la pestaña Complemento de Carta porte Ingresaremos:</span></p><p></p><ul style="text-align: left;"><li><span style="font-size: medium;">Tipo Transporte</span></li><li><span style="font-size: medium;">Origen</span></li><li><span style="font-size: medium;">Destino</span></li><li><span style="font-size: medium;">Bienes Transportados</span></li><li><span style="font-size: medium;">Distancia</span></li><li><span style="font-size: medium;">Mercancías Transportadas</span></li></ul><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNx0TaFVqShIPNjDfRJFXeT9f7ZMizh41e5J2x5gynmicwJVrLNwRz7RF_6DiGr6fzQQQBF_A6i1bHvGdgT-YKIuhcqraA9g084dsiZtlVUTU8F8gQxu1u7tymvpZGXFEMVaQ5WbXpS8Q/s1126/Complemento+Carta+Porte+Mercancias.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="728" data-original-width="1126" height="414" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNx0TaFVqShIPNjDfRJFXeT9f7ZMizh41e5J2x5gynmicwJVrLNwRz7RF_6DiGr6fzQQQBF_A6i1bHvGdgT-YKIuhcqraA9g084dsiZtlVUTU8F8gQxu1u7tymvpZGXFEMVaQ5WbXpS8Q/w640-h414/Complemento+Carta+Porte+Mercancias.png" width="640" /></a></div><br /><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;">3. Ingresamos la información para el complemento "01 - Autotransporte Federal":</span></div><div><span style="font-size: medium;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDrL69Xk9qoxPM-sc3tqRs2a49CWRUg5sMdiz0aUu95n9qnDqEruoqxKAfJKb13Y1vieamzSsz0YO3Ey5-O3CW_mg85_m4auOrdzHPrLNcUYUkjp7rHi2jHZDaYQ3yOPVcDQWEnZ3D3QQ/s1145/complemento+carta+porte+autotransporte+federal.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="551" data-original-width="1145" height="309" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDrL69Xk9qoxPM-sc3tqRs2a49CWRUg5sMdiz0aUu95n9qnDqEruoqxKAfJKb13Y1vieamzSsz0YO3Ey5-O3CW_mg85_m4auOrdzHPrLNcUYUkjp7rHi2jHZDaYQ3yOPVcDQWEnZ3D3QQ/w640-h309/complemento+carta+porte+autotransporte+federal.png" width="640" /></a></div><div><span style="font-size: medium;"><br /></span></div><span style="font-size: medium;">4. Por ultimo ingresamos los datos de la "Figura de Transporte", algunos valores son opcionales:</span></div><div><ul style="text-align: left;"><li><span style="font-size: medium;">Operador</span></li><li><span style="font-size: medium;">Propietario</span></li><li><span style="font-size: medium;">Arrendatario</span></li><li><span style="font-size: medium;">Notificado</span></li></ul><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKlEPDyIT-FoPV9C93vFDmA0lOsTtcnIEgxNqtG4Md3tjzmB8ogE4TRnucVYBevPanvcNCaYDRLvB4GQHQhelDI9ImsbIM6BJvKAbiEQ-VN2M0RPEcI_jwSmuejeQjJ5gW38kxCDHOhzA/s1144/complemento+carta+porte+figura+transporte.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="384" data-original-width="1144" height="214" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKlEPDyIT-FoPV9C93vFDmA0lOsTtcnIEgxNqtG4Md3tjzmB8ogE4TRnucVYBevPanvcNCaYDRLvB4GQHQhelDI9ImsbIM6BJvKAbiEQ-VN2M0RPEcI_jwSmuejeQjJ5gW38kxCDHOhzA/w640-h214/complemento+carta+porte+figura+transporte.png" width="640" /></a></div><br /><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;">5. Validamos la Factura y obtendremos el XML y PDF con el complemento:</span></div></div><div><span style="font-size: medium;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7RPqFtMQe6ds3ZUVQsyIjNUFIDLLXHJiTFeW0fzGnr4HD2uxQ7Z7zKg8KNwAR2tkBPkZ7Aqycir3KDigB6-QzEmeoIk8vuxCQrZxqWM2JlRuMkn06Yaq48ew4DfL1DTpVQlI1s3gf1Dw/s1327/complemento+carta+porte+archivos.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="596" data-original-width="1327" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7RPqFtMQe6ds3ZUVQsyIjNUFIDLLXHJiTFeW0fzGnr4HD2uxQ7Z7zKg8KNwAR2tkBPkZ7Aqycir3KDigB6-QzEmeoIk8vuxCQrZxqWM2JlRuMkn06Yaq48ew4DfL1DTpVQlI1s3gf1Dw/w640-h288/complemento+carta+porte+archivos.png" width="640" /></a></div><div><br /></div><div><br /></div><div><br /></div><br /><span style="font-size: medium;">XML:</span></div><div><span style="font-size: medium;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnH-juiqhDQj4cvmsS_g5g3XdTPzxAccr33vvTwO7F-OKn0wHEtrqKXsPqP0n94Y_Fo26QPpxjf_Y3Eg6yX3PB8rCIiajjnZ2owdUNyqRpg7zH6hqab0xQYa_ypw0yClYThgredE1Fzss/s1899/complemento+carta+porte+xml.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="514" data-original-width="1899" height="174" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnH-juiqhDQj4cvmsS_g5g3XdTPzxAccr33vvTwO7F-OKn0wHEtrqKXsPqP0n94Y_Fo26QPpxjf_Y3Eg6yX3PB8rCIiajjnZ2owdUNyqRpg7zH6hqab0xQYa_ypw0yClYThgredE1Fzss/w640-h174/complemento+carta+porte+xml.png" width="640" /></a></div><p><br /></p><span style="font-size: medium;">PDF:</span><p></p><p><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgylhTFFWIQV61Fzv10kdU0y8WKzGBnmdOTzzXO6odoO9rtc7VTUJ5p46MtZc0ciczmtJzJeoFUtPGfQI6myZKt02VR1ZwUrJFQmCch5JT36v7WWHvpPYoZrhZT0eBKT2hREu6r2xKfUCw/s981/complemento+carta+porte+pdf.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="915" data-original-width="981" height="596" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgylhTFFWIQV61Fzv10kdU0y8WKzGBnmdOTzzXO6odoO9rtc7VTUJ5p46MtZc0ciczmtJzJeoFUtPGfQI6myZKt02VR1ZwUrJFQmCch5JT36v7WWHvpPYoZrhZT0eBKT2hREu6r2xKfUCw/w640-h596/complemento+carta+porte+pdf.png" width="640" /></a></div><br /><div><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;"><br /></span></div><div><br /></div><p></p>German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com2tag:blogger.com,1999:blog-5186791135600544921.post-80681013007559597482021-05-11T21:17:00.001-05:002021-05-11T21:17:09.872-05:00Aplicar Descuentos en Cascada, Descuentos en Python - Odoo <h2 style="text-align: center;">Descuentos en Cascada</h2><p style="text-align: center;"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgveyA0OBE7Aco856RnIYteG1grU8lnZYQk1NO2WvBGEXzUtHbPzA-i_fSIG4mZWn-EPK6_eVSSiIV3ONGG8osvBn0y8qL_nQ5ZZrDOmie_oUg990-AspehtQXcolybIMcy6IbQdnlToXw/s640/woman-1169324_640.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="451" data-original-width="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgveyA0OBE7Aco856RnIYteG1grU8lnZYQk1NO2WvBGEXzUtHbPzA-i_fSIG4mZWn-EPK6_eVSSiIV3ONGG8osvBn0y8qL_nQ5ZZrDOmie_oUg990-AspehtQXcolybIMcy6IbQdnlToXw/s320/woman-1169324_640.jpg" width="320" /></a></div><br /><p><br /></p><p>Con el siguiente fragmento de código, podemos aplicar descuentos en cascada por ejemplo:</p><p></p><ul style="text-align: left;"><li>10 + 20</li></ul><p></p><p>Primero aplicamos el 10% después se aplicaría un 20% al resultado de la primer operación, con el sig. fragmento obtenemos el resultado real del porcentaje equivalente a 10+20% y este seria aplicado a tu subtotal:</p><p><br /></p>
<!--HTML generated using hilite.me--><div style="background: rgb(39, 40, 34); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: #f8f8f2;">descuentos</span> <span style="color: #f92672;">=</span> <span style="color: #e6db74;">'10+20'</span>
<span style="color: #66d9ef;">def</span> <span style="color: #a6e22e;">get_discount_eq</span><span style="color: #f8f8f2;">(perc,</span> <span style="color: #f8f8f2;">amount):</span>
<span style="color: #f8f8f2;">new_amount</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">(perc</span> <span style="color: #f92672;">*</span> <span style="color: #f8f8f2;">amount)</span><span style="color: #f92672;">/</span><span style="color: #ae81ff;">100</span>
<span style="color: #66d9ef;">return</span> <span style="color: #f8f8f2;">(amount</span> <span style="color: #f92672;">-</span> <span style="color: #f8f8f2;">new_amount)</span>
<span style="color: #f8f8f2;">amount</span> <span style="color: #f92672;">=</span> <span style="color: #ae81ff;">100</span>
<span style="color: #f8f8f2;">splited_discounts</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">[</span><span style="color: #ae81ff;">10</span><span style="color: #f8f8f2;">,</span> <span style="color: #ae81ff;">20</span><span style="color: #f8f8f2;">]</span>
<span style="color: #66d9ef;">for</span> <span style="color: #f8f8f2;">discount</span> <span style="color: #f92672;">in</span> <span style="color: #f8f8f2;">splited_discounts:</span>
<span style="color: #f8f8f2;">amount</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">get_discount_eq(float(discount),amount)</span>
<span style="color: #f8f8f2;">final_discount</span> <span style="color: #f92672;">=</span> <span style="color: #ae81ff;">100</span> <span style="color: #f92672;">-</span> <span style="color: #f8f8f2;">amount</span>
<span style="color: #66d9ef;">print</span><span style="color: #f8f8f2;">(</span><span style="color: #e6db74;">":::::::: final_discount >>>>>>>> "</span><span style="color: #f8f8f2;">,</span> <span style="color: #f8f8f2;">final_discount)</span>
</pre></div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-20461209474645613892021-02-16T22:40:00.002-06:002021-02-16T22:40:21.261-06:00Instalar WoeUSB Ubuntu 20.04 | Crear USB Windows 10 Booteable con WoeUSB<p> </p><div class="row2__" id="articleHeader" style="border-bottom: 1px solid rgb(219, 228, 239); color: #3f3f3f; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; min-height: 70px; padding: 0px;"><div class="pad5" style="margin: 0px; padding: 5px;"><h1 class="ipsType_tituloswebTut" style="font-family: Calibri, Helvetica, sans-serif; font-size: 38px; letter-spacing: -1.4px; line-height: 1.2; margin: 0px 0px 5px; padding: 0px;"><span itemprop="name">Instalar WoeUSB Ubuntu 20.04 | Crear USB Windows 10 Booteable con WoeUSB</span></h1><p class="ipsType_pagedesc mt10" style="color: #7f7f7f; line-height: 1.5; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 15px !important; padding: 0px;">Tutorial con vídeo para saber cómo instalar WoeUSB Ubuntu 20.04 y crear USB Windows 10 Booteable con WoeUSB</p><br /><div class="desc lighter clearfix" style="color: #a4a4a4; font-size: 12px; margin: 0px; padding: 0px;"><span class="right" style="float: right;"><a class="ipsTag" data-tooltip="Encuentra más contenido etiquetado con: 'ubuntu'" href="https://www.solvetic.com/tags/tutorials/ubuntu/" style="background: rgb(240, 240, 240); border-radius: 4px; color: #656565; display: inline-block; font-size: 11px; height: 20px; line-height: 20px; margin: 5px 5px 0px 0px; padding: 0px 8px; text-decoration-line: none;">ubuntu</a></span></div></div><br /><div class="mb15" id="articleMainImage" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="margin-bottom: 15px !important; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding: 0px;"><img class="bbc_img" height="300" itemprop="url" loading="lazy" src="https://www.solvetic.com/uploads/tutorials/monthly_11_2020/c2e6d11d391f13ddf911b14ec5d833d1.png" style="border: 0px; cursor: pointer; max-width: 100%; object-fit: cover; vertical-align: middle; width: 718px;" /></div></div><div id="articleBody" itemprop="articleBody" style="line-height: 21px; margin: 0px; padding: 0px;"><div class="post mt15" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 15px !important; padding: 0px;"><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;">En la actualidad los medios de <a class="bbc_url" href="https://www.solvetic.com/tutoriales/article/2573-crear-usb-boot-para-todos-los-sistemas-operativos/" style="color: #0f72da; text-decoration-line: none;" title="">USB de arranque</a> se han convertido en una de las mejores opciones que tenemos para <a class="bbc_url" href="https://www.solvetic.com/tutoriales/article/3726-cambiar-sistema-de-arranque-inicio-por-defecto-windows-10/" style="color: #0f72da; text-decoration-line: none;" title="">instalar diversos sistemas operativos</a>desde allí. Esto facilita demasiado el trabajo de soporte ya que no debemos cargar diversos DVDs con la imagen ISO del sistema. Para lograr esto existen diversas herramientas y una de las mas comunes y especiales para este trabajo es WoeUSB.</p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc_contentbox clearfix" style="background: rgb(240, 244, 255); border-left: 5px solid rgb(162, 187, 255); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 15px;"><div class="imagebox" style="float: left; margin: 0px; padding: 0px; width: 200px;"><span rel="lightbox"><img class="bbc_img lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/tutorials/monthly_05_2019/6c8376b8f41872e24ff16ece9dbc08e2.png" src="https://www.solvetic.com/uploads/tutorials/monthly_05_2019/6c8376b8f41872e24ff16ece9dbc08e2.png" style="border: 0px; cursor: pointer; max-width: 100%; min-height: 90px; object-fit: cover; vertical-align: middle; width: 200px;" /></span></div><div class="content" style="margin: 0px 0px 0px 215px; padding: 0px;"><div class="title" style="font-size: 15px; font-weight: bold; line-height: 22px; margin: 0px 0px 5px; padding: 0px;"><a class="bbc_url" href="https://www.solvetic.com/tutoriales/article/2885-como-crear-un-usb-boot-con-varios-sistemas-operativos/" style="color: #376a96; text-decoration-line: none;" title="">Cómo crear un USB Boot Multiboot varios Sistemas Operativos</a></div><div class="text" style="color: #797979; font-size: 13px; line-height: 20px; margin: 0px 0px 8px; padding: 0px;">Ten a mano tus Sistemas Operativos preferidos y crea un mismo USB booteable Multiboot para diferentes sistemas con WinsetupfromUSB y WintoUSB.</div></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc panel plain" style="background-color: white; border-radius: 4px; border: 1px solid rgb(221, 221, 221); box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px; color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 0px;"><div class="panel-heading" style="border-bottom: 1px solid rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); border-radius: 3px 3px 0px 0px; border-right-color: rgb(221, 221, 221); border-top-color: rgb(221, 221, 221); color: #333333; margin: 0px; padding: 10px 15px;">Qué es WoeUSB</div><div class="panel-content" style="margin: 0px; padding: 15px;">WoeUSB es una utilidad que ha sido creada con el din de permitirnos crear USBs de arranque (booteables) y es una aplicación que es totalmente compatible con todas las versiones desde Windows Vista ya que además soporta las arquitecturas de 32 bits como en 64 bits y los modos Legacy y UEFI.</div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;">Veamos cómo instalar WoeUSB en Ubuntu 20.04.</p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><span class="youtubeMediaTag loaded" style="background: rgb(250, 250, 250); display: inline-block; position: relative;"><iframe allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" class="EmbeddedVideo _fade lazied show" data-embed="3h_i_k3ZSWw" data-lazied="IFRAME" data-src="https://youtube.com/embed/3h_i_k3ZSWw?rel=0" frameborder="0" height="360" id="ytplayer" loading="lazy" src="https://youtube.com/embed/3h_i_k3ZSWw?rel=0" style="opacity: 1; transition: opacity 500ms ease 0s;" type="text/html" webkitallowfullscreen="" width="640"></iframe><span class="info" style="align-items: center; border: 1px solid rgb(238, 238, 238); display: flex; font-size: 13px; justify-content: center; padding: 10px;"><span class="fa fa-lightbulb-o bulb" style="-webkit-font-smoothing: antialiased; color: #669aca; display: inline-block; font-family: FontAwesome; font-size: 22px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1; margin-right: 12px; text-rendering: auto;"></span>Para estar al día, recuerda suscribirte a nuestro canal de YouTube!<a class="ui button mini red" data-ipb="noparse" href="https://www.youtube.com/user/solvetic?sub_confirmation=1" style="-webkit-tap-highlight-color: transparent; background: none rgb(217, 92, 92); border-radius: 0.285714rem; border: none; box-shadow: rgba(34, 36, 38, 0.15) 0px 0px 0px 0px inset; box-sizing: border-box; color: white; cursor: pointer; display: inline-block; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 0.785714rem; font-weight: 700; line-height: 1em; margin: 0px 0.25em 0px 15px; min-height: 1em; outline: 0px; padding: 0.785714em 1.5em; text-decoration-line: none; text-shadow: none; transition: opacity 0.1s ease 0s, background-color 0.1s ease 0s, color 0.1s ease 0s, box-shadow 0.1s ease 0s, background 0.1s ease 0s; user-select: none; vertical-align: baseline;" target="_blank"><span class="fa fa-youtube-play" style="-webkit-font-smoothing: antialiased; box-sizing: border-box; display: inline-block; font-family: FontAwesome; font-size: inherit; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: 1; text-rendering: auto;"></span> SUSCRIBETE</a></span></span></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><h2 class="bbc alert alert-warning" style="background-color: #e2e5ec; border-radius: 4px; border: 1px solid rgb(220, 225, 234); clear: none; color: #555c6e; font-family: helvetica, arial, sans-serif; font-size: inherit; font-weight: inherit; margin: 0px; padding: 8px 35px 8px 14px;">Cómo instalar Windows 10 en Ubuntu 20.04 con WoeUSB</h2><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 1</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Lo primero es contar con dos requisitos:</span></span><ul class="bbc" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: outside; margin: 12px 0px 12px 40px; padding: 0px;"><li style="margin: 0px; padding: 0px;">Un medio USB de al menos 8 GB de capacidad</li></ul><ul class="bbc" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: outside; margin: 12px 0px 12px 40px; padding: 0px;"><li style="margin: 0px; padding: 0px;">La imagen ISO de Windows 10 la cual podemos descargar en el siguiente enlace: <a class="bbc_url" href="https://www.microsoft.com/es-es/software-download/windows10" rel="nofollow external" style="color: #0f72da; text-decoration-line: none;" title="Vínculo Externo">Imagen ISO Windows 10</a></li></ul><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Para instalar WoeUSB en Ubuntu 20.04, vamos a instalar en primer lugar el repositorio PPA con el siguiente comando:</span></span><pre class="prettyprint" style="background-color: rgb(245, 245, 245) !important; border-radius: 4px; border: 1px solid rgb(201, 201, 201); color: black; font-family: helvetica, arial, sans-serif; font-size: 13px; line-height: 18.2px; margin: 1em auto; overflow: auto; padding: 1em; width: 682.094px;">sudo add-apt-repository ppa:nilarimogard/webupd8</pre><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-41133700-1605790015.png" id="ipb-attach-url-110961-0-13857100-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-1.png - cc Tamaño: 22,79K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-1.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-41133700-1605790015.png" height="475" id="ipb-attach-img-110961-0-13857100-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-41133700-1605790015.png" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="733" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 2</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Pulsamos la tecla Enter para completar este proceso:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-32830100-1605790014.png" id="ipb-attach-url-110960-0-13851200-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-2.png - cc Tamaño: 19,12K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-2.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-32830100-1605790014.png" height="473" id="ipb-attach-img-110960-0-13851200-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-32830100-1605790014.png" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="734" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 3</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Ahora vamos a actualizar el sistema con la siguiente orden:</span></span><pre class="prettyprint" style="background-color: rgb(245, 245, 245) !important; border-radius: 4px; border: 1px solid rgb(201, 201, 201); color: black; font-family: helvetica, arial, sans-serif; font-size: 13px; line-height: 18.2px; margin: 1em auto; overflow: auto; padding: 1em; width: 682.094px;">sudo apt update</pre><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-42113600-1605790013.png" id="ipb-attach-url-110959-0-13846800-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-3.png - cc Tamaño: 12,88K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-3.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-42113600-1605790013.png" height="475" id="ipb-attach-img-110959-0-13846800-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-42113600-1605790013.png" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="730" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 4</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Después de ello procedemos a instalar WoeUSB con el comando:</span></span><pre class="prettyprint" style="background-color: rgb(245, 245, 245) !important; border-radius: 4px; border: 1px solid rgb(201, 201, 201); color: black; font-family: helvetica, arial, sans-serif; font-size: 13px; line-height: 18.2px; margin: 1em auto; overflow: auto; padding: 1em; width: 682.094px;">sudo apt install woeusb</pre><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-94095100-1605790009.png" id="ipb-attach-url-110958-0-13842400-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-4.png - cc Tamaño: 14,69K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-4.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-94095100-1605790009.png" height="478" id="ipb-attach-img-110958-0-13842400-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-94095100-1605790009.png" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="729" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 5</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Como vemos se genera este error de dependencias, para corregirlo, vamos a ejecutar lo siguiente:</span></span><pre class="prettyprint" style="background-color: rgb(245, 245, 245) !important; border-radius: 4px; border: 1px solid rgb(201, 201, 201); color: black; font-family: helvetica, arial, sans-serif; font-size: 13px; line-height: 18.2px; margin: 1em auto; overflow: auto; padding: 1em; width: 682.094px;">wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets3.0/libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb</pre><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-5.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-40981300-1605790008_thumb.png" height="489" id="ipb-attach-img-110957-0-13838000-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-40981300-1605790008_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-40981300-1605790008.png" id="ipb-attach-url-110957-0-13838000-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-5.png - Tamaño: 22,42K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 6</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Una vez guardado, instalamos el paquete con el siguiente comando:</span></span><pre class="prettyprint" style="background-color: rgb(245, 245, 245) !important; border-radius: 4px; border: 1px solid rgb(201, 201, 201); color: black; font-family: helvetica, arial, sans-serif; font-size: 13px; line-height: 18.2px; margin: 1em auto; overflow: auto; padding: 1em; width: 682.094px;">sudo dpkg -i libwxgtk*_amd64.deb</pre><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-6.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-05401500-1605790007_thumb.png" height="490" id="ipb-attach-img-110956-0-13833600-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-05401500-1605790007_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-05401500-1605790007.png" id="ipb-attach-url-110956-0-13833600-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-6.png - Tamaño: 16,5K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 7</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Nuevamente salta un error, para corregirlo ejecutamos:</span></span><pre class="prettyprint" style="background-color: rgb(245, 245, 245) !important; border-radius: 4px; border: 1px solid rgb(201, 201, 201); color: black; font-family: helvetica, arial, sans-serif; font-size: 13px; line-height: 18.2px; margin: 1em auto; overflow: auto; padding: 1em; width: 682.094px;">sudo apt -f install
</pre><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-7.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-73176500-1605790005_thumb.png" height="493" id="ipb-attach-img-110955-0-13829300-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-73176500-1605790005_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-73176500-1605790005.png" id="ipb-attach-url-110955-0-13829300-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-7.png - Tamaño: 12,88K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 8</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Ingresamos la letra S para confirmar la instalación:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-8.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-36526100-1605790004_thumb.png" height="491" id="ipb-attach-img-110954-0-13825000-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-36526100-1605790004_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-36526100-1605790004.png" id="ipb-attach-url-110954-0-13825000-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-8.png - Tamaño: 20,49K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 9</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Actualizamos de nuevo el sistema:</span></span><pre class="prettyprint" style="background-color: rgb(245, 245, 245) !important; border-radius: 4px; border: 1px solid rgb(201, 201, 201); color: black; font-family: helvetica, arial, sans-serif; font-size: 13px; line-height: 18.2px; margin: 1em auto; overflow: auto; padding: 1em; width: 682.094px;">sudo apt update</pre><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-9.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-29763900-1605790002_thumb.png" height="494" id="ipb-attach-img-110953-0-13820900-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-29763900-1605790002_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-29763900-1605790002.png" id="ipb-attach-url-110953-0-13820900-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-9.png - Tamaño: 13,37K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 10</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Una vez actualizado procedemos con la instalación de nuevo de WoeUSB:</span></span><pre class="prettyprint" style="background-color: rgb(245, 245, 245) !important; border-radius: 4px; border: 1px solid rgb(201, 201, 201); color: black; font-family: helvetica, arial, sans-serif; font-size: 13px; line-height: 18.2px; margin: 1em auto; overflow: auto; padding: 1em; width: 682.094px;">sudo apt install woeusb</pre><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-10.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-92815800-1605790000_thumb.png" height="488" id="ipb-attach-img-110952-0-13816800-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-92815800-1605790000_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-92815800-1605790000.png" id="ipb-attach-url-110952-0-13816800-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-10.png - Tamaño: 14,3K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 11</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Ingresamos la letra S para confirmar el proceso:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-11.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-46322900-1605789999_thumb.png" height="491" id="ipb-attach-img-110951-0-13812800-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-46322900-1605789999_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-46322900-1605789999.png" id="ipb-attach-url-110951-0-13812800-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-11.png - Tamaño: 19,68K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 12</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Podemos acceder a WoeUSb desde Actividades:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-12.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-85095100-1605789997_thumb.png" height="421" id="ipb-attach-img-110950-0-13808800-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-85095100-1605789997_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-85095100-1605789997.png" id="ipb-attach-url-110950-0-13808800-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-12.png - Tamaño: 49,19K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 13</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Al abrirlo veremos lo siguiente. En el campo “Source” activamos la casilla “From a disk image”</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-55839400-1605789996.png" id="ipb-attach-url-110949-0-13804900-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-13.png - cc Tamaño: 8,69K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-13.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-55839400-1605789996.png" height="496" id="ipb-attach-img-110949-0-13804900-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-55839400-1605789996.png" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="395" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 14</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Seleccionamos la imagen ISO de Windows 10. Damos clic en Abrir</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-14.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-24320300-1605789995_thumb.png" height="591" id="ipb-attach-img-110948-0-13801000-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-24320300-1605789995_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-24320300-1605789995.png" id="ipb-attach-url-110948-0-13801000-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-14.png - Tamaño: 13,17K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 15</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">La veremos integrada. En la parte “Target device” seleccionamos el medio USB conectado al equipo:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-26138600-1605789994.png" id="ipb-attach-url-110947-0-13797100-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-15.png - cc Tamaño: 8,86K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-15.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-26138600-1605789994.png" height="496" id="ipb-attach-img-110947-0-13797100-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-26138600-1605789994.png" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="400" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 16</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Damos clic en “Install” para iniciar el proceso,</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-43950400-1605789993.png" id="ipb-attach-url-110946-0-13793300-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-16.png - cc Tamaño: 9,15K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-16.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-43950400-1605789993.png" height="494" id="ipb-attach-img-110946-0-13793300-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-43950400-1605789993.png" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="396" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 17</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Ingresamos la contraseña de administrador:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-36953400-1605789992.jpg" id="ipb-attach-url-110945-0-13789500-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-17.jpg - cc Tamaño: 25,26K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-17.jpg" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-36953400-1605789992.jpg" height="520" id="ipb-attach-img-110945-0-13789500-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-36953400-1605789992.jpg" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="520" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 18</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Damos clic en “Autenticar” y es posible que veamos lo siguiente:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-18008300-1605789991.png" id="ipb-attach-url-110944-0-13785700-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-18.png - cc Tamaño: 7,51K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-18.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-18008300-1605789991.png" height="291" id="ipb-attach-img-110944-0-13785700-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-18008300-1605789991.png" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="418" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 19</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Si este es el caso, cerramos WoeUSB y vamos al administrador de archivos de Ubuntu, damos clic derecho sobre la unidad USB y seleccionamos “Formatear”:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-19.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-98029900-1605789989_thumb.png" height="495" id="ipb-attach-img-110943-0-13781900-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-98029900-1605789989_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-98029900-1605789989.png" id="ipb-attach-url-110943-0-13781900-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-19.png - Tamaño: 13,75K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 20</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Se desplegará la siguiente ventana de Discos, allí seleccionamos la unidad USB y damos clic sobre Configuración para elegir “Formatear partición”:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-20.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-12228800-1605789984_thumb.png" height="528" id="ipb-attach-img-110942-0-13778100-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-12228800-1605789984_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-12228800-1605789984.png" id="ipb-attach-url-110942-0-13778100-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-20.png - Tamaño: 20,7K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 21</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">En la siguiente ventana asignamos un nombre y activamos la casilla “Para usar con Windows (NTFS)”:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-21.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-04101000-1605789983_thumb.png" height="414" id="ipb-attach-img-110941-0-13774400-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-04101000-1605789983_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-04101000-1605789983.png" id="ipb-attach-url-110941-0-13774400-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-21.png - Tamaño: 10,95K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 22</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Clic en Siguiente y recibimos la siguiente advertencia. Damos clic en “Formato” para que se de paso al formato de la USB con NTFS:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-22.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-72354900-1605789981_thumb.png" height="416" id="ipb-attach-img-110940-0-13770700-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-72354900-1605789981_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-72354900-1605789981.png" id="ipb-attach-url-110940-0-13770700-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-22.png - Tamaño: 9,7K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 23</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Aquí veremos el proceso.</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-23.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-50918300-1605789977_thumb.png" height="528" id="ipb-attach-img-110939-0-13767000-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-50918300-1605789977_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-50918300-1605789977.png" id="ipb-attach-url-110939-0-13767000-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-23.png - Tamaño: 16,34K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 24</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Al finalizar veremos lo siguiente:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-24.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-91767800-1605789975_thumb.png" height="532" id="ipb-attach-img-110938-0-13763200-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-91767800-1605789975_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-91767800-1605789975.png" id="ipb-attach-url-110938-0-13763200-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-24.png - Tamaño: 16,73K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 25</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Vamos de nuevo a WoeUSB y al seleccionar la imagen ISO y la USB , se dará paso al proceso de creación de la USB de arranque de Windows 10:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-82871800-1605789974.jpg" id="ipb-attach-url-110937-0-13759300-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-25.jpg - cc Tamaño: 20,04K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-25.jpg" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-82871800-1605789974.jpg" height="494" id="ipb-attach-img-110937-0-13759300-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-82871800-1605789974.jpg" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="395" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 26</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Podemos ver que la USB se asigna el nuevo nombre:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"><a class="resized_img" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-74074800-1605789973.jpg" id="ipb-attach-url-110936-0-13754700-1613536559" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" rel="lightbox[9318]" style="color: #435a91; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-26.jpg - cc Tamaño: 30,73K"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-26.jpg" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-74074800-1605789973.jpg" height="520" id="ipb-attach-img-110936-0-13754700-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-74074800-1605789973.jpg" style="border: 0px; display: inline-block; max-width: 100%; vertical-align: middle;" width="520" /></a></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc alert alert-plain" style="background-color: #fafafa; border-radius: 4px; border: 1px solid rgb(217, 217, 217); color: #6a6a6a; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 8px 35px 8px 14px;">Paso 27</div><br /><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">Después de esto, el proceso llegara a su final y podemos acceder al contenido de la USB donde vemos los archivos de instalación de Windows 10:</span></span><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p class="bbc_center" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px; text-align: center;"></p><div class="attach-image-expander" itemprop="image" itemscope="" itemtype="http://schema.org/ImageObject" style="background: rgb(247, 247, 247); color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: auto; max-width: 730px; padding: 0px; position: relative;"><img alt="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-27.png" class="attach lazied" data-lazied="IMG" data-src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-89487400-1605789971_thumb.png" height="495" id="ipb-attach-img-110935-0-13658600-1613536559" src="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-89487400-1605789971_thumb.png" style="border: 0px; display: inline-block; vertical-align: middle; width: 718px;" width="745" /><div class="expander-area" style="background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.23)); bottom: 0px; left: 0px; margin: 0px; padding: 40px 10px 10px; position: absolute; right: 0px;"><a class="resized_img expand-button" href="https://www.solvetic.com/uploads/monthly_11_2020/tutorials-7463-0-89487400-1605789971.png" id="ipb-attach-url-110935-0-13658600-1613536559" rel="lightbox[9318]" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; box-shadow: rgba(128, 128, 128, 0.25) 0px 0px 10px; color: #464646; display: inline-block; font-family: Calibri, sans-serif; font-size: 13px; font-weight: bold; padding: 5px 10px; text-decoration-line: none;" title="Instalar-WoeUSB-Ubuntu-20.04-_-Crear-USB-Windows-10-Booteable-con-WoeUSB-27.png - Tamaño: 11,97K"><span class="fa fa-expand icon" style="-webkit-font-smoothing: antialiased; backface-visibility: hidden; display: inline-block; font-family: FontAwesome !important; font-size: 1em; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 0.9em; line-height: 1; margin: 0px 10px 0px 0px; opacity: 1; speak: none; text-align: center; text-decoration: inherit; text-rendering: auto; width: 1.23em;"></span>AMPLIAR</a></div></div><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"> </p><p style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 21px; margin: 0px; padding: 0px;"></p><div class="bbc panel warning" style="background-color: white; border-radius: 4px; border: 1px solid rgb(251, 238, 213); box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px; margin: 0px; padding: 0px;"><div class="panel-heading" style="background-color: #fcf8e3; border-bottom: 1px solid rgb(251, 238, 213); border-left-color: rgb(251, 238, 213); border-radius: 3px 3px 0px 0px; border-right-color: rgb(251, 238, 213); border-top-color: rgb(251, 238, 213); color: #c09853; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 10px 15px;">Nota</div><div class="panel-content" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 15px;">En caso de ver el error de “No responde” de WoeUSB, podemos forzar la expulsión sin problema.</div><div class="panel-content" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 15px;"><br /></div><div class="panel-content" style="color: #656565; font-family: helvetica, arial, sans-serif; font-size: 14px; margin: 0px; padding: 15px;">Fuente:</div><div class="panel-content" style="margin: 0px; padding: 15px;"><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;">https://www.solvetic.com/tutoriales/article/9318-instalar-woeusb-ubuntu-20-04-crear-usb-windows-10-booteable-con-woeusb/</span></span></div><div class="panel-content" style="margin: 0px; padding: 15px;"><span style="color: #656565; font-family: helvetica, arial, sans-serif;"><span style="font-size: 14px;"><br /></span></span></div></div></div></div>German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com1tag:blogger.com,1999:blog-5186791135600544921.post-68484592477191869162020-12-11T01:12:00.006-06:002020-12-11T01:14:16.185-06:00Dominios Dinámicos en Campos One2Many (Odoo 9, 10, 11, 12, 13, 14)<h1 style="text-align: center;"> Creación de un dominio dinámico para Odoo</h1><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhk8sohUPMCiPeX4waDLH57qSOPo4eGawhiQvQhUXOAwJPy0oIV8sYPG50z2JKOoW5QfpOyHAe4cd8iT94_0zGk8y46U4MhTU_nfGEL3S8vvI6Db81R2-pPYfNw-tuwKkpPHLQ7q5OVjU/s500/odoo_57.jpeg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="312" data-original-width="500" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhk8sohUPMCiPeX4waDLH57qSOPo4eGawhiQvQhUXOAwJPy0oIV8sYPG50z2JKOoW5QfpOyHAe4cd8iT94_0zGk8y46U4MhTU_nfGEL3S8vvI6Db81R2-pPYfNw-tuwKkpPHLQ7q5OVjU/s320/odoo_57.jpeg" width="320" /></a></div><p style="text-align: justify;"> Una pregunta y necesidad que tuve hace poco tiempo fue agregar un dominio en una vista de árbol generada por un campo One2many, buscando información y ejemplos finalmente no encontré y lo trate de realizar por medio de JS, un total fracaso, el tiempo que tenia no ayudaba mucho y fue entonces que intente realizarlo por medio de un dominio dinámico y una emulación de botón que retornara mi objeto con el filtro dinámico.</p><p style="text-align: justify;">Primero voy a ejemplificar mis 2 clases, realmente no eran como el siguiente ejemplo pero trato de que sea mas digerible para todos nosotros.</p><p style="text-align: justify;"><br /></p><h3 style="text-align: justify;">Mi Clase Linea:</h3>
<!--HTML generated using hilite.me--><div style="background: rgb(248, 248, 248); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: green; font-weight: bold;">class</span> <span style="color: blue; font-weight: bold;">DescargaAlmacenProducto</span>(models<span style="color: #666666;">.</span>Model):
_name <span style="color: #666666;">=</span> <span style="color: #ba2121;">'descarga.almacen.producto'</span>
_description <span style="color: #666666;">=</span> <span style="color: #ba2121;">'Linea Descarga de Productos'</span>
_rec_name <span style="color: #666666;">=</span> <span style="color: #ba2121;">'product_id'</span>
_order <span style="color: #666666;">=</span> <span style="color: #ba2121;">'id desc'</span>
download_id <span style="color: #666666;">=</span> fields<span style="color: #666666;">.</span>Many2one(<span style="color: #ba2121;">'descarga.almacen'</span>, <span style="color: #ba2121;">'ID Ref'</span>)
product_id <span style="color: #666666;">=</span> fields<span style="color: #666666;">.</span>Many2one(<span style="color: #ba2121;">'product.product'</span>, <span style="color: #ba2121;">'Nombre'</span>, required<span style="color: #666666;">=</span><span style="color: green;">True</span>)
familia_producto <span style="color: #666666;">=</span> fields<span style="color: #666666;">.</span>Char(<span style="color: #ba2121;">'Familia'</span>, size<span style="color: #666666;">=128</span>, related<span style="color: #666666;">=</span><span style="color: #ba2121;">"product_id.familia_producto"</span>)
product_qty <span style="color: #666666;">=</span> fields<span style="color: #666666;">.</span>Float(<span style="color: #ba2121;">'Cantidad'</span>, digits<span style="color: #666666;">=</span>(<span style="color: #666666;">14</span>,<span style="color: #666666;">4</span>))
uom_id <span style="color: #666666;">=</span> fields<span style="color: #666666;">.</span>Many2one(<span style="color: #ba2121;">'product.uom'</span>, <span style="color: #ba2121;">'UdM'</span>)
</pre></div>
<p style="text-align: justify;"><br /></p><h3 style="text-align: justify;">Mi Clase Principal:</h3>
<!--HTML generated using hilite.me--><div style="background: rgb(248, 248, 248); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: green; font-weight: bold;">class</span> <span style="color: blue; font-weight: bold;">DescargaAlmacen</span>(models<span style="color: #666666;">.</span>Model):
_name <span style="color: #666666;">=</span> <span style="color: #ba2121;">'descarga.almacen'</span>
_description <span style="color: #666666;">=</span> <span style="color: #ba2121;">'Asistente Descarga de Productos'</span>
_rec_name <span style="color: #666666;">=</span> <span style="color: #ba2121;">'sequence_name'</span>
_order <span style="color: #666666;">=</span> <span style="color: #ba2121;">'id desc'</span>
<span style="color: green; font-weight: bold;">def</span> <span style="color: blue;">_compute_selection_family</span>(<span style="color: green;">self</span>):
selection_options <span style="color: #666666;">=</span> [(<span style="color: #ba2121;">'no_one'</span>,<span style="color: #ba2121;">'Sin Filtro'</span>)]
cr <span style="color: #666666;">=</span> <span style="color: green;">self</span><span style="color: #666666;">.</span>env<span style="color: #666666;">.</span>cr
context <span style="color: #666666;">=</span> <span style="color: green;">self</span><span style="color: #666666;">.</span>_context
<span style="color: green; font-weight: bold;">if</span> <span style="color: #ba2121;">'family_complete_list_ctx'</span> <span style="color: #aa22ff; font-weight: bold;">in</span> context <span style="color: #aa22ff; font-weight: bold;">and</span> context[<span style="color: #ba2121;">'family_complete_list_ctx'</span>]:
family_complete_list_ctx <span style="color: #666666;">=</span> context[<span style="color: #ba2121;">'family_complete_list_ctx'</span>]
<span style="color: green; font-weight: bold;">if</span> family_complete_list_ctx:
<span style="color: green; font-weight: bold;">for</span> f2 <span style="color: #aa22ff; font-weight: bold;">in</span> family_complete_list_ctx:
selection_options<span style="color: #666666;">.</span>append((f2,f2))
<span style="color: green; font-weight: bold;">return</span> selection_options
<span style="color: green; font-weight: bold;">def</span> <span style="color: blue;">_get_domain_func</span>(<span style="color: green;">self</span>, ):
context <span style="color: #666666;">=</span> <span style="color: green;">self</span><span style="color: #666666;">.</span>_context
<span style="color: green; font-weight: bold;">if</span> <span style="color: #ba2121;">'dynamic_domain'</span> <span style="color: #aa22ff; font-weight: bold;">in</span> context <span style="color: #aa22ff; font-weight: bold;">and</span> context[<span style="color: #ba2121;">'dynamic_domain'</span>]:
<span style="color: green; font-weight: bold;">if</span> <span style="color: #ba2121;">'record_ids'</span> <span style="color: #aa22ff; font-weight: bold;">in</span> context <span style="color: #aa22ff; font-weight: bold;">and</span> context[<span style="color: #ba2121;">'record_ids'</span>]:
self_br <span style="color: #666666;">=</span> <span style="color: green;">self</span><span style="color: #666666;">.</span>browse(context[<span style="color: #ba2121;">'record_ids'</span>])[<span style="color: #666666;">0</span>]
filter_familia_producto <span style="color: #666666;">=</span> self_br<span style="color: #666666;">.</span>filter_familia_producto
<span style="color: green; font-weight: bold;">if</span> <span style="color: #aa22ff; font-weight: bold;">not</span> filter_familia_producto <span style="color: #aa22ff; font-weight: bold;">or</span> filter_familia_producto <span style="color: #666666;">==</span> <span style="color: #ba2121;">'no_one'</span>:
<span style="color: green; font-weight: bold;">return</span> []
domain <span style="color: #666666;">=</span> [(<span style="color: #ba2121;">'familia_producto'</span>, <span style="color: #ba2121;">'='</span>, filter_familia_producto)]
<span style="color: green; font-weight: bold;">return</span> domain
<span style="color: green; font-weight: bold;">return</span> []
filter_familia_producto <span style="color: #666666;">=</span> fields<span style="color: #666666;">.</span>Selection(selection<span style="color: #666666;">=</span><span style="color: green; font-weight: bold;">lambda</span> <span style="color: green;">self</span>: <span style="color: green;">self</span><span style="color: #666666;">.</span>_compute_selection_family(), string<span style="color: #666666;">=</span><span style="color: #ba2121;">"Familia"</span>, default<span style="color: #666666;">=</span><span style="color: #ba2121;">"no_one"</span>)
space_download_line_ids <span style="color: #666666;">=</span> fields<span style="color: #666666;">.</span>One2many(<span style="color: #ba2121;">'descarga.almacen.producto'</span>, <span style="color: #ba2121;">'download_id'</span>, <span style="color: #ba2121;">'Lineas de Descarga'</span>, ondelete<span style="color: #666666;">=</span><span style="color: #ba2121;">"cascade"</span>, domain<span style="color: #666666;">=</span>_get_domain_func)
sequence_name <span style="color: #666666;">=</span> fields<span style="color: #666666;">.</span>Char(<span style="color: #ba2121;">'Secuencia'</span>, size<span style="color: #666666;">=128</span>)
<span style="color: #408080; font-style: italic;">#### Filtro Dinamico ######</span>
<span style="color: green; font-weight: bold;">def</span> <span style="color: blue;">refresh_filter</span>(<span style="color: green;">self</span>):
family_complete_list_ctx <span style="color: #666666;">=</span> []
<span style="color: green; font-weight: bold;">for</span> rec <span style="color: #aa22ff; font-weight: bold;">in</span> <span style="color: green;">self</span>:
<span style="color: green; font-weight: bold;">print</span> (<span style="color: #ba2121;">"## rec.space_download_line_id >>>>> "</span>,rec<span style="color: #666666;">.</span>space_download_line_ids)
<span style="color: green; font-weight: bold;">for</span> line <span style="color: #aa22ff; font-weight: bold;">in</span> rec<span style="color: #666666;">.</span>space_download_line_ids:
line_familia <span style="color: #666666;">=</span> line<span style="color: #666666;">.</span>familia_producto
<span style="color: green; font-weight: bold;">if</span> line_familia <span style="color: #aa22ff; font-weight: bold;">and</span> line_familia <span style="color: #aa22ff; font-weight: bold;">not</span> <span style="color: #aa22ff; font-weight: bold;">in</span> family_complete_list_ctx:
family_complete_list_ctx<span style="color: #666666;">.</span>append(line_familia)
<span style="color: green; font-weight: bold;">return</span> {
<span style="color: #ba2121;">'name'</span>: _(<span style="color: #ba2121;">'Descarga - Familia'</span> <span style="color: #666666;">%</span> <span style="color: green;">self</span><span style="color: #666666;">.</span>filter_familia_producto),
<span style="color: #ba2121;">'view_mode'</span>: <span style="color: #ba2121;">'form'</span>,
<span style="color: #ba2121;">'view_id'</span>: <span style="color: green;">self</span><span style="color: #666666;">.</span>env<span style="color: #666666;">.</span>ref(<span style="color: #ba2121;">'mi_modulo.mi_vista'</span>)<span style="color: #666666;">.</span>id,
<span style="color: #ba2121;">'res_model'</span>: <span style="color: #ba2121;">'descarga.almacen'</span>,
<span style="color: #ba2121;">'context'</span>: <span style="color: #ba2121;">"{'readonly_by_pass': True, 'record_ids': </span><span style="color: #bb6688; font-weight: bold;">%s</span><span style="color: #ba2121;">, 'dynamic_domain': True, 'family_complete_list_ctx': </span><span style="color: #bb6688; font-weight: bold;">%s</span><span style="color: #ba2121;">}"</span> <span style="color: #666666;">%</span> (<span style="color: green;">self</span><span style="color: #666666;">.</span>ids, family_complete_list_ctx), <span style="color: #408080; font-style: italic;"># self.env.context</span>
<span style="color: #ba2121;">'type'</span>: <span style="color: #ba2121;">'ir.actions.act_window'</span>,
<span style="color: #ba2121;">'res_id'</span>: <span style="color: green;">self</span><span style="color: #666666;">.</span>id,
<span style="color: #ba2121;">'flags'</span>: {<span style="color: #ba2121;">'initial_mode'</span>: <span style="color: #ba2121;">'edit'</span>}
}
</pre></div>
<p style="text-align: justify;"><br /></p><p style="text-align: justify;">El campo que utilizare para filtrar los datos es un tipo Selection:</p><p style="text-align: justify;"></p><ul><li> <span style="text-align: left;"><b>filter_familia_producto</b></span></li></ul><p></p><p style="text-align: justify;">Un dato importante es que este campo de tipo "seleccion" es calculado para solo tener los filtros de mis registros, no quisiera mostrar todos por que no traeria información.</p><p style="text-align: justify;">Mi campo One2many que contiene las lineas principales de mi registro tiene por nombre:</p><p style="text-align: justify;"></p><ul><li><b> space_download-line_ids</b></li></ul><p></p><p style="text-align: justify;">Podemos observar que dentro de estas lineas se encuentra mi dominio dinámico:</p><p style="text-align: justify;"><b>domain=_get_domain_func</b></p><p style="text-align: justify;">Estos datos los estoy retornando por medio del contexto en mi función <b>refresh_filter</b></p>
<!--HTML generated using hilite.me--><div style="background: rgb(248, 248, 248); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: #ba2121;">'context'</span>: <span style="color: #ba2121;">"{'readonly_by_pass': True, 'record_ids': </span><span style="color: #bb6688; font-weight: bold;">%s</span><span style="color: #ba2121;">, 'dynamic_domain': True, 'family_complete_list_ctx': </span><span style="color: #bb6688; font-weight: bold;">%s</span><span style="color: #ba2121;">}"</span> <span style="color: #666666;">%</span> (<span style="color: green;">self</span><span style="color: #666666;">.</span>ids, family_complete_list_ctx), <span style="color: #408080; font-style: italic;"># self.env.context</span>
</pre></div>
<p style="text-align: justify;">Para no tener errores con mi funcion domain, dentro del contexto vuelvo a retornar las opciones calculadas en todos mis registros y los ids de estos.</p><p style="text-align: justify;">Para finalizar, agregue en mi vista el campo y el boton que retornara mi objeto con los nuevos filtros:</p>
<!--HTML generated using hilite.me--><div style="background: rgb(248, 248, 248); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: green; font-weight: bold;"><group</span> <span style="color: green; font-weight: bold;">></span>
<span style="color: green; font-weight: bold;"><group></span>
<span style="color: green; font-weight: bold;"><field</span> <span style="color: #7d9029;">name=</span><span style="color: #ba2121;">"filter_familia_producto"</span> <span style="color: #7d9029;">string=</span><span style="color: #ba2121;">"Filtro Familia"</span> <span style="color: green; font-weight: bold;">/></span>
<span style="color: green; font-weight: bold;"></group></span>
<span style="color: green; font-weight: bold;"><group</span> <span style="color: #7d9029;">class=</span><span style="color: #ba2121;">"oe_subtotal_footer oe_right"</span> <span style="color: green; font-weight: bold;">></span>
<span style="color: green; font-weight: bold;"><button</span> <span style="color: #7d9029;">string=</span><span style="color: #ba2121;">"Filtrar"</span> <span style="color: #7d9029;">icon=</span><span style="color: #ba2121;">"fa-search"</span> <span style="color: #7d9029;">name=</span><span style="color: #ba2121;">"refresh_filter"</span> <span style="color: #7d9029;">style=</span><span style="color: #ba2121;">"display: inline-block;</span>
<span style="color: #ba2121;">padding: 5px 15px;</span>
<span style="color: #ba2121;">font-size: 12px;</span>
<span style="color: #ba2121;">cursor: pointer;</span>
<span style="color: #ba2121;">text-align: center;</span>
<span style="color: #ba2121;">text-decoration: none;</span>
<span style="color: #ba2121;">outline: none;</span>
<span style="color: #ba2121;">color: #fff;</span>
<span style="color: #ba2121;">background-color: #b787aa;</span>
<span style="color: #ba2121;">border: none;</span>
<span style="color: #ba2121;">border-radius: 5px;</span>
<span style="color: #ba2121;">box-shadow: 0 5px #999;"</span><span style="color: green; font-weight: bold;">/></span>
<span style="color: green; font-weight: bold;"></group></span>
<span style="color: green; font-weight: bold;"></group></span>
</pre></div>
<p style="text-align: justify;"><br /></p><p style="text-align: justify;">Agregue unos estilos para dar mejor presentación y el resultado se muestra asi:</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8FtylTHf8cfSwWeW7hPd5CNm7YPtNzsio7gmh0GzVJ8BWYV2ES-4Fb5vDqoIrwajlZXAgAr5XnEkcEKtRblVmUAbnkTkkGnf__rkE76hfxq_zhoIqMysN2PCLhk2j2fPahfrd0OVhUxg/s1885/descarga_wms_odoo.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="307" data-original-width="1885" height="104" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8FtylTHf8cfSwWeW7hPd5CNm7YPtNzsio7gmh0GzVJ8BWYV2ES-4Fb5vDqoIrwajlZXAgAr5XnEkcEKtRblVmUAbnkTkkGnf__rkE76hfxq_zhoIqMysN2PCLhk2j2fPahfrd0OVhUxg/w640-h104/descarga_wms_odoo.png" width="640" /></a></div><br /><p style="text-align: justify;"><br /></p><p style="text-align: justify;">Espero sea de su ayuda.</p><p style="text-align: justify;"><br /></p>German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com1tag:blogger.com,1999:blog-5186791135600544921.post-74789702496636317152020-10-23T21:50:00.003-05:002021-04-19T12:56:20.536-05:00Script subida automatica de respaldos<h2 style="text-align: center;"> Subir automáticamente archivos mediante Script Bash</h2><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigk2RJ9CD5jL_cZ8SVnQLg5SxIWBmysSpXsCHK8vPKDXEcPKWL9zqR42xp2uQ3bR3sfx3eyBKa-sdCBmPQ04KGH_hB9G9PeQp6b2uVl-JgcyJpWrynLEpx8ofgi5YXIDeiQ8TyPkCjXsw/s1920/cloud-computing-1990405_1920.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1326" data-original-width="1920" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigk2RJ9CD5jL_cZ8SVnQLg5SxIWBmysSpXsCHK8vPKDXEcPKWL9zqR42xp2uQ3bR3sfx3eyBKa-sdCBmPQ04KGH_hB9G9PeQp6b2uVl-JgcyJpWrynLEpx8ofgi5YXIDeiQ8TyPkCjXsw/s320/cloud-computing-1990405_1920.png" width="320" /></a></div><p>El día de hoy les presento un script sencillo, practico y 100% funcional para poder transferir respaldos mediante un script el cual podemos añadir al servicio cron para gestionar su planificación.</p><p><br /></p><p>Algunos servidores FTP pueden requerir el modo pasivo para la transferencia de archivos:</p>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: #aaaaaa; font-style: italic;">#!/bin/bash</span></pre><pre style="line-height: 125%; margin: 0px;">cd /data/odoo/backups/</pre><pre style="line-height: 125%; margin: 0px;"><span style="color: #aa0000;">HOST</span>=<span style="color: #aa5500;">"ftp.poncesoft.com"</span>
<span style="color: #aa0000;">USER</span>=<span style="color: #aa5500;">"odoo"</span>
<span style="color: #aa0000;">PASS</span>=<span style="color: #aa5500;">"pass123"</span>
<span style="color: #aa0000;">PORT</span>=<span style="color: #aa5500;">"22"</span>
<span style="color: #aaaaaa; font-style: italic;">## Respaldo Base ##</span>
<span style="color: #aa0000;">FILE</span>=<span style="color: #aa5500;">"*.dump"</span>
<span style="color: #aaaaaa; font-style: italic;">## Respaldo de Binarios ##</span>
<span style="color: #aa0000;">FILE2</span>=<span style="color: #aa5500;">"*.tgz"</span>
<span style="color: #aa0000;">REMOTEPATH</span>=<span style="color: #aa5500;">'/data/backups'</span>
<span style="color: #aaaaaa; font-style: italic;">## NOTA ###</span>
<span style="color: #aaaaaa; font-style: italic;">## Este script se debe ejecutar directamente sobre la raiz de los archivos a subir.</span>
ftp -p -inv <span style="color: #aa0000;">$HOST</span> <span style="color: #aa5500;"><< EOF</span>
<span style="color: #aa5500;">user $USER $PASS</span>
<span style="color: #aa5500;">cd $REMOTEPATH</span>
<span style="color: #aa5500;">put $FILE</span>
<span style="color: #aa5500;">put $FILE2</span>
<span style="color: #aa5500;">bye</span>
<span style="color: #aa5500;">EOF</span>
</pre></div>
<p><br /></p><p>En alguno no sera necesario entonces el script no debe contener el parameto -p :</p>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: #008800; font-style: italic;">#!/bin/bash</span>
cd /data/odoo/backups/
HOST=<span style="color: blue;">"ftp.poncesoft.com"</span>
USER=<span style="color: blue;">"odoo"</span>
PASS=<span style="color: blue;">"pass123"</span>
PORT=<span style="color: blue;">"22"</span>
<span style="color: #008800; font-style: italic;">## Respaldo Base ##</span>
FILE=<span style="color: blue;">"*.dump"</span>
<span style="color: #008800; font-style: italic;">## Respaldo de Binarios ##</span>
FILE2=<span style="color: blue;">"*.tgz"</span>
REMOTEPATH=<span style="color: blue;">'/data/backups'</span>
<span style="color: #008800; font-style: italic;">## NOTA ###</span>
<span style="color: #008800; font-style: italic;">## Este script se debe ejecutar directamente sobre la raiz de los archivos a subir.</span>
ftp -inv <span style="background-color: #e3d2d2; color: #a61717;">$</span>HOST << EOF
user <span style="background-color: #e3d2d2; color: #a61717;">$</span>USER <span style="background-color: #e3d2d2; color: #a61717;">$</span>PASS
cd <span style="background-color: #e3d2d2; color: #a61717;">$</span>REMOTEPATH
put <span style="background-color: #e3d2d2; color: #a61717;">$</span>FILE
put <span style="background-color: #e3d2d2; color: #a61717;">$</span>FILE2
bye
EOF
</pre></div>
<p>Gracias por su visita.</p>German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-71267582054477351502020-10-20T11:24:00.005-05:002020-10-20T11:25:02.084-05:00Creacion de usuarios Linux<h2 style="text-align: center;">Crear usuario con privilegios de root</h2><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6CRyNE60Nfv94tw3yxw9aunAV_Yzfx-Mz2HMDQa_CO4jh787Z0ygRkFB1K-CHyH8OEkR_8MlK4sQttEUhWF5ePfTUUyUNanUon54aNGfANUczgEsQEUoeDqr8OgBFozWeVJQlURZjHrw/s1440/1200px-NewTux.svg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1440" data-original-width="1200" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6CRyNE60Nfv94tw3yxw9aunAV_Yzfx-Mz2HMDQa_CO4jh787Z0ygRkFB1K-CHyH8OEkR_8MlK4sQttEUhWF5ePfTUUyUNanUon54aNGfANUczgEsQEUoeDqr8OgBFozWeVJQlURZjHrw/w167-h200/1200px-NewTux.svg.png" width="167" /></a></div><br /><p><br /></p><p>Existen varios métodos para crear un nuevo usuario con privilegios de root en Linux.</p><p><br /></p><h3 style="text-align: left;">Método rápido</h3><p>Se trata de crearlo de golpe añadiéndolo al grupo desde el propio comando useradd.</p><p><br /></p><p>Añadir el usuario:</p>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;">sudo useradd -u 0 -o -g 0 nombreusuario
</pre></div>
<p>Establecer la nueva contraseña:</p>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;">sudo passwd nombreusuario
</pre></div>
<p><br /></p><h3 style="text-align: left;">Método típico</h3><p>Añadir el usuario:</p><!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;">sudo adduser nombreusuario
</pre></div>
<br />
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;">sudo /usr/sbin/visudo
</pre></div>
<p>En este fichero, añadimos después de la línea donde pone ‘root’, el nombre de nuestro usuario, con las líneas de ALL iguales.</p>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: #aaaaaa; font-style: italic;"># User privilege specification</span>
root <span style="color: #aa0000;">ALL</span>=(ALL:ALL) ALL
nombreusuario <span style="color: #aa0000;">ALL</span>=(ALL:ALL) ALL
</pre></div>
<p><br /></p><p>Ante cualquier error podemos eliminar el usuario:</p><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;">sudo userdel nombreusuario
</pre></div>
<p>O también cambiar la contraseña:</p>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;">sudo passwd nombreusuario
</pre></div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com1tag:blogger.com,1999:blog-5186791135600544921.post-80032220711093147322020-10-15T20:18:00.004-05:002020-10-15T20:19:18.406-05:00Trucos Odoo 14<h2 style="text-align: center;"> Trucos Odoo 14</h2><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXKu8uzjsszS_fLDpCS1cBXmStn5jgkMdiO_WhLNtJ1PO4Zneg0R4CocU519qDG3QZ7VYZiqSUBuvXx3T7S6Fv0xduBnvxBF-0fdwjZCtMo1IjFgVHllFARp0WJLqtJ8w-w9G6kM7WXZM/s623/odoo_logo_rgb.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="199" data-original-width="623" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXKu8uzjsszS_fLDpCS1cBXmStn5jgkMdiO_WhLNtJ1PO4Zneg0R4CocU519qDG3QZ7VYZiqSUBuvXx3T7S6Fv0xduBnvxBF-0fdwjZCtMo1IjFgVHllFARp0WJLqtJ8w-w9G6kM7WXZM/s320/odoo_logo_rgb.png" width="320" /></a></div><br /><div><br /></div><h3 id="que-es-odoo" style="background-color: white; color: #a24689; font-family: Helvetica, Arial, sans-serif; font-size: 24.5px; line-height: 40px; margin: 10px 0px; text-align: center; text-rendering: optimizelegibility;">1.1 ¿Qué es Odoo?</h3><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"><span style="font-weight: 700;">Odoo ERP</span> es un software libre que puede ser instalado en la nube y se puede unir con una app para que desde tu celular puedas interactuar con el, tiene varios módulos muy interesantes para la administración de las empresas. Se conocía anteriormente como OpenERP, que es un sistema de ERP integrado de código abierto actualmente producido por la empresa belga Odoo S.A. El fabricante declara su producto como una alternativa de código abierto a SAP ERP y Microsoft Dynamics.</p><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;">Odoo usa una arquitectura cliente servidor donde los clientes se conectan usando un navegador via RPC. Generalmente, la lógica y la extensión de negocio se realizan en el lado del servidor.</p><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"></p><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;">Entre sus principales módulos podemos señalar:</p><ul style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"><li>CRM Customer relationship management</li><li>Módulo de Ventas</li><li>Módulo de Contabilidad</li><li>Módulo de Compras</li></ul><h3 id="git-odoo" style="background-color: white; color: #a24689; font-family: Helvetica, Arial, sans-serif; font-size: 24.5px; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;">1.2 GitHub para Odoo</h3><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;">Lo Básico que tenemos que conocer de GitHub y Linux para Odoo</p><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"></p><pre style="background-color: white; color: #444444; font-size: 18px;"><code class="python hljs" style="background: rgb(40, 42, 54); color: #f8f8f2; display: block; overflow-x: auto; padding: 0.5em;">
git add .
git commit -m <span class="hljs-string" style="color: #f1fa8c;">"Commit message"</span>
git push
<span class="hljs-comment" style="color: #6272a4;"># Saber en que rama estamos</span>
git branch -l
<span class="hljs-comment" style="color: #6272a4;"># Creamos la rama</span>
git checkout -b <span class="hljs-number" style="color: #880000;">10.0</span>
<span class="hljs-comment" style="color: #6272a4;"># Nos movemos a la rama</span>
git checkout <span class="hljs-number" style="color: #880000;">10.0</span>
<span class="hljs-comment" style="color: #6272a4;"># hacer push 10.0</span>
git add .
git commit -m <span class="hljs-string" style="color: #f1fa8c;">"Actualizando"</span>
git push origin <span class="hljs-number" style="color: #880000;">10.0</span>
<span class="hljs-comment" style="color: #6272a4;"># Fusionar ramas </span>
git checkout master
git merge <span class="hljs-number" style="color: #880000;">10.0</span>
</code>
</pre><h3 id="erppeek-odoo" style="background-color: white; color: #a24689; font-family: Helvetica, Arial, sans-serif; font-size: 24.5px; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;">1.3 Erppeek para Odoo</h3><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;">Lo Básico que tenemos que Erppeek</p><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"></p><pre style="background-color: white; color: #444444; font-size: 18px;"> <code class="python hljs" style="background: rgb(40, 42, 54); color: #f8f8f2; display: block; overflow-x: auto; padding: 0.5em;">
<span class="hljs-comment" style="color: #6272a4;"># Conectarse</span>
erppeek -u admin -d db10-chile-sii --server=http://<span class="hljs-number" style="color: #880000;">127.0</span><span class="hljs-number" style="color: #880000;">.0</span><span class="hljs-number" style="color: #880000;">.1</span>:<span class="hljs-number" style="color: #880000;">8069</span>
<span class="hljs-comment" style="color: #6272a4;"># Actualizar Módulo</span>
client.upgrade(<span class="hljs-string" style="color: #f1fa8c;">'l10n_cl_base'</span>)
client.upgrade(<span class="hljs-string" style="color: #f1fa8c;">'base_travel_agency'</span>)
</code>
</pre><h3 id="linux-odoo" style="background-color: white; color: #a24689; font-family: Helvetica, Arial, sans-serif; font-size: 24.5px; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;">1.4 Linux Odoo</h3><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;">Linux comandos Odoo</p><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"></p><pre style="background-color: white; color: #444444; font-size: 18px;"><code class="python hljs" style="background: rgb(40, 42, 54); color: #f8f8f2; display: block; overflow-x: auto; padding: 0.5em;">
<span class="hljs-comment" style="color: #6272a4;"># Cambiar pass root</span>
passwd
<span class="hljs-comment" style="color: #6272a4;"># Borrar todo el contenido de un directorio en Linux</span>
sudo rm -R carpeta
<span class="hljs-comment" style="color: #6272a4;"># Oculta y muetra archivos</span>
CTRL + H
<span class="hljs-comment" style="color: #6272a4;"># Ver estado de salud de nuestro servidor</span>
top
<span class="hljs-comment" style="color: #6272a4;"># log</span>
cd /var/log/odoo
rm odoo-server.log
du -hs
<span class="hljs-comment" style="color: #6272a4;"># Dir con tamaño</span>
ls -lh
df -h
</code>
</pre><h3 id="linux-profile" style="background-color: white; color: #a24689; font-family: Helvetica, Arial, sans-serif; font-size: 24.5px; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;">1.5 Linux Profile</h3><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;">Profile</p><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"></p><pre style="background-color: white; color: #444444; font-size: 18px;"><code class="python hljs" style="background: rgb(40, 42, 54); color: #f8f8f2; display: block; overflow-x: auto; padding: 0.5em;">
nano .profile
source .profile
odoo_actualizar(){
echo Deteniendo Odoo
/etc/init.d/odoo stop
<span class="hljs-keyword" style="color: #8be9fd; font-weight: bold;">for</span> i <span class="hljs-keyword" style="color: #8be9fd; font-weight: bold;">in</span> /opt/odoo/server/extra-addons/*
do
echo Actualizando $i
git -C $i pull
done
<span class="hljs-keyword" style="color: #8be9fd; font-weight: bold;">if</span> [[ ! -z <span class="hljs-string" style="color: #f1fa8c;">"$1"</span> ]]; then
echo <span class="hljs-string" style="color: #f1fa8c;">"Actualizando server odoo"</span>
sudo -u odoo python /opt/odoo/server/odoo-bin -c /etc/odoo/odoo.conf -d $<span class="hljs-number" style="color: #880000;">1</span> -u all --stop-after-init
fi
/etc/init.d/odoo start
echo Finalizado
}
</code>
</pre><h3 id="psql" style="background-color: white; color: #a24689; font-family: Helvetica, Arial, sans-serif; font-size: 24.5px; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;">1.6 Postgres</h3><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;">Profile</p><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"></p><pre style="background-color: white; color: #444444; font-size: 18px;"><code class="python hljs" style="background: rgb(40, 42, 54); color: #f8f8f2; display: block; overflow-x: auto; padding: 0.5em;">
<span class="hljs-comment" style="color: #6272a4;"># Cambiar pass admin</span>
sudo -u postgres psql -d db10-chile-sii
UPDATE res_users SET password=<span class="hljs-string" style="color: #f1fa8c;">'x1234567890'</span>, password_crypt=<span class="hljs-string" style="color: #f1fa8c;">'HASH'</span> WHERE login=<span class="hljs-string" style="color: #f1fa8c;">'admin'</span>;
</code>
</pre><h3 id="linux-update" style="background-color: white; color: #a24689; font-family: Helvetica, Arial, sans-serif; font-size: 24.5px; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;">1.7 Acualizar Odoo</h3><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;">Profile</p><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"></p><pre style="background-color: white; color: #444444; font-size: 18px;"><code class="python hljs" style="background: rgb(40, 42, 54); color: #f8f8f2; display: block; overflow-x: auto; padding: 0.5em;">
/etc/init.d/odoo stop
su - odoo -s /bin/bash
python /opt/odoo/server/odoo-bin -c /etc/odoo/odoo.conf -d erp -u all --stop-after-init
</code>
</pre><h3 id="datos" style="background-color: white; color: #a24689; font-family: Helvetica, Arial, sans-serif; font-size: 24.5px; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;"><span style="color: #444444; font-size: 18px;">Fuente:</span></h3><p style="background-color: white; color: #444444; font-family: Helvetica, Arial, sans-serif; font-size: 18px;"></p><pre style="background-color: white; color: #444444; font-size: 18px;"><code class="python hljs" style="background: rgb(40, 42, 54); color: #f8f8f2; display: block; overflow-x: auto; padding: 0.5em;">
Marlon Falcon Hernández / http://falconsolutions.cl/odoo-precios
</code>
</pre><h3 id="my-links" style="background-color: white; color: #a24689; font-family: Helvetica, Arial, sans-serif; font-size: 24.5px; line-height: 40px; margin: 10px 0px; text-rendering: optimizelegibility;"><br /></h3>German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-32147786316838061362020-10-06T23:14:00.006-05:002020-10-06T23:16:39.568-05:00Solucion al Error : bus.Bus unavailable<p> </p><div class="dslc-modules-section" style="background-attachment: scroll; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border-color: rgb(238, 238, 238); border-image: initial; border-style: hidden hidden solid; border-width: 1px; box-sizing: border-box; margin: 0px; padding: 0px; position: relative;"><div class="dslc-modules-section-wrapper dslc-clearfix" style="box-sizing: border-box; margin: 0px auto; max-width: 100%; padding: 0px; width: 1200px;"><div class="dslc-modules-area dslc-col dslc-10-col dslc-first-col" data-size="10" style="box-sizing: border-box; clear: both; float: left; margin: 0px 25.5312px 0px 0px; padding: 0px; width: 995.734px;"><div class="dslc-module-front dslc-module-DSLC_TP_Title dslc-in-viewport-check dslc-in-viewport-anim-none dslc-col dslc-12-col dslc-last-col dslc-module-handle-like-regular dslc-in-viewport" data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-anim="none" data-dslc-module-id="DSLC_TP_Title" data-dslc-module-size="12" data-dslc-preset="none" data-module-id="4550" id="dslc-module-4550" style="animation: 0.65s ease 0s 1 normal none running forwards; box-sizing: border-box; float: left; margin: 0px; padding: 0px; position: relative; width: 995.734px;"><div class="dslc-tp-title" style="border: 0px solid transparent; box-sizing: border-box; margin: 0px; padding: 0px;"><h1 style="border-radius: 0px; border: 0px solid transparent; box-sizing: border-box; color: #46484b; font-family: Roboto; font-size: 50px; font-weight: 200; line-height: 55px; margin: 0px; min-height: 0px; padding: 0px;">Error : bus.Bus unavailable<br /></h1></div></div></div><div class="dslc-modules-area dslc-col dslc-12-col dslc-last-col" data-size="12" style="box-sizing: border-box; float: left; margin: 0px; padding: 0px; width: 1200px;"><div class="dslc-module-front dslc-module-DSLC_Separator dslc-in-viewport-check dslc-in-viewport-anim-none dslc-col dslc-12-col dslc-last-col dslc-module-handle-like-regular dslc-in-viewport" data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-anim="none" data-dslc-module-id="DSLC_Separator" data-dslc-module-size="12" data-dslc-preset="none" data-module-id="4554" id="dslc-module-4554" style="animation: 0.65s ease 0s 1 normal none running forwards; box-sizing: border-box; float: left; margin: 0px; padding: 0px; position: relative; width: 1200px;"><div class="dslc-separator-wrapper" style="background-attachment: scroll; background-position: 0% 0%; background-repeat: repeat; border-radius: 0px; border-style: solid; border-width: 0px; box-sizing: border-box; margin: 0px; padding: 0px 0px 1px;"><div style="box-sizing: border-box; margin: 0px; padding: 0px;"></div></div></div></div></div></div><div class="dslc-modules-section" style="background-attachment: scroll; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border-color: transparent; border-image: initial; border-style: solid hidden; border-width: 0px; box-sizing: border-box; margin: 0px; padding: 0px; position: relative;"><div class="dslc-modules-section-wrapper dslc-clearfix" style="box-sizing: border-box; margin: 0px auto; max-width: 100%; padding: 0px; width: 1200px;"><div class="dslc-modules-area dslc-col dslc-12-col dslc-last-col" data-size="12" style="box-sizing: border-box; float: left; margin: 0px; padding: 0px; width: 1200px;"><div class="dslc-module-front dslc-module-DSLC_Separator dslc-in-viewport-check dslc-in-viewport-anim-none dslc-col dslc-12-col dslc-last-col dslc-module-handle-like-regular dslc-in-viewport" data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-anim="none" data-dslc-module-id="DSLC_Separator" data-dslc-module-size="12" data-dslc-preset="none" data-module-id="5346" id="dslc-module-5346" style="animation: 0.65s ease 0s 1 normal none running forwards; box-sizing: border-box; float: left; margin: 0px; padding: 0px; position: relative; width: 1200px;"><div class="dslc-separator-wrapper" style="background-attachment: scroll; background-position: 0% 0%; background-repeat: repeat; border-radius: 0px; border-style: solid; border-width: 0px; box-sizing: border-box; margin: 0px; padding: 0px 0px 1px;"><div class="dslc-separator dslc-separator-style-invisible" style="border-color: rgb(237, 237, 237); border-width: 1px; box-sizing: border-box; clear: both; height: 1px; margin: 0px 0px 25px; padding: 0px 0px 25px; text-align: center; width: 1200px;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjklnfUj7qFH3WG-ZpxqnsQumqbLD2Am2VgVYMJqtYv-1yqoysPgtn-ddgPvGRmCIS6RYtUCEmCCNKrEV8Vs9DEA8NKOY6-WwYM1Fcat7d2ZjFjBzUraBzBZ3364vgRGLJAdnkJEBO4X7w/s280/odoo-experience-2015-4-l-280x280.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="280" data-original-width="280" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjklnfUj7qFH3WG-ZpxqnsQumqbLD2Am2VgVYMJqtYv-1yqoysPgtn-ddgPvGRmCIS6RYtUCEmCCNKrEV8Vs9DEA8NKOY6-WwYM1Fcat7d2ZjFjBzUraBzBZ3364vgRGLJAdnkJEBO4X7w/w200-h200/odoo-experience-2015-4-l-280x280.png" width="200" /></a></div><br /><div class="dslc-separator dslc-separator-style-invisible" style="border-color: rgb(237, 237, 237); border-width: 1px; box-sizing: border-box; clear: both; height: 1px; margin: 0px 0px 25px; padding: 0px 0px 25px; text-align: left; width: 1200px;"><br /></div><div style="box-sizing: border-box; margin: 0px; padding: 0px;"></div></div></div></div><div class="dslc-modules-area dslc-col dslc-8-col dslc-first-col" data-size="8" style="box-sizing: border-box; clear: both; float: left; margin: 0px 25.5312px 0px 0px; padding: 0px; width: 791.484px;"><div class="dslc-module-front dslc-module-DSLC_TP_Content dslc-in-viewport-check dslc-in-viewport-anim-none dslc-col dslc-12-col dslc-last-col dslc-module-handle-like-regular dslc-in-viewport" data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-anim="none" data-dslc-module-id="DSLC_TP_Content" data-dslc-module-size="12" data-dslc-preset="none" data-module-id="5347" id="dslc-module-5347" style="animation: 0.65s ease 0s 1 normal none running forwards; background-color: white; box-sizing: border-box; color: #41484d; float: left; font-family: Roboto, Helvetica, Arial, "DejaVu Sans", "Liberation Sans", Freesans, sans-serif; font-size: 17px; margin: 0px; padding: 0px; position: relative; width: 791.484px;"><div class="dslc-tp-content" style="border: 0px solid transparent; box-sizing: border-box; margin: 0px; padding: 0px;"><div id="dslc-theme-content" style="box-sizing: border-box; margin: 0px; padding: 0px;"><div id="dslc-theme-content-inner" style="box-sizing: border-box; margin: 0px; padding: 0px;"><p style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">Este error ocurre cuando activamos los Workers para resolverlo tenemos que </p><p style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">hacer lo siguiente en el archivo: nano /etc/odoo/odoo.conf</p><pre class="prettyprint prettyprinted" style="background-color: #272822; border: 1px solid rgb(39, 40, 34); box-sizing: border-box; font-family: monospace, monospace; font-size: 1em; margin-bottom: 20px; margin-top: 0px; overflow: auto; padding: 8px;"><span class="pln" style="box-sizing: border-box; color: #66d9ef;">proxy_mode </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="kwd" style="box-sizing: border-box; color: #f92659;">True</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
longpolling_port </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">8072</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
xmlrpc_port </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">8069</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
xmlrpc_interface </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">127.0</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">0.1</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
netrpc_interface </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">127.0</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">0.1</span></pre><p style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">Luego en el archivo : nano /etc/nginx/sites-available/default</p><pre class="prettyprint prettyprinted" style="background-color: #272822; border: 1px solid rgb(39, 40, 34); box-sizing: border-box; font-family: monospace, monospace; font-size: 1em; margin-bottom: 20px; margin-top: 0px; overflow: auto; padding: 8px;"><span class="pln" style="box-sizing: border-box; color: #66d9ef;">upstream odoochat</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">{</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
server </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">127.0</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">0.1</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">:</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">8072</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">}</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
location </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">longpolling </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">{</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_pass http</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">:</span><span class="com" style="box-sizing: border-box; color: #93a1a1;">//odoochat;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">}</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span></pre><p style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">Si mostramos los archivos completos quedaría</p><p style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">nano /etc/odoo/odoo.conf</p><pre class="prettyprint prettyprinted" style="background-color: #272822; border: 1px solid rgb(39, 40, 34); box-sizing: border-box; font-family: monospace, monospace; font-size: 1em; margin-bottom: 20px; margin-top: 0px; overflow: auto; padding: 8px;"><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">[</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">options</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">]</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
addons_path </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="str" style="box-sizing: border-box; color: #e6db74;">/opt/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">odoo</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">server</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">addons
admin_passwd </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> odoo14
db_host </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="kwd" style="box-sizing: border-box; color: #f92659;">False</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
db_name </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="kwd" style="box-sizing: border-box; color: #f92659;">False</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
db_password </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> odoo14
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">db_port </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">5432</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
db_user </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> odoo
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">dbfilter </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.*</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
list_db </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="kwd" style="box-sizing: border-box; color: #f92659;">True</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
log_db </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="kwd" style="box-sizing: border-box; color: #f92659;">False</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
logfile </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="str" style="box-sizing: border-box; color: #e6db74;">/var/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">log</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">odoo</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">odoo</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">-</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">server</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">log
logrotate </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="kwd" style="box-sizing: border-box; color: #f92659;">True</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">log_level </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> warn
proxy_mode </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="kwd" style="box-sizing: border-box; color: #f92659;">True</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
longpolling_port </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">8072</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
xmlrpc_port </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">8069</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
xmlrpc_interface </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">127.0</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">0.1</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
netrpc_interface </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">127.0</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">0.1</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
workers </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">17</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
limit_time_real </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">1200</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
limit_time_cpu </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">=</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">600</span></pre><p style="box-sizing: border-box; margin: 0px 0px 20px; padding: 0px;">nano /etc/nginx/sites-available/default</p><pre class="prettyprint prettyprinted" style="background-color: #272822; border: 1px solid rgb(39, 40, 34); box-sizing: border-box; font-family: monospace, monospace; font-size: 1em; margin-bottom: 20px; margin-top: 0px; overflow: auto; padding: 8px;"><span class="pln" style="box-sizing: border-box; color: #66d9ef;">upstream odoo</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">{</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
server localhost</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">:</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">8069</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">}</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
upstream odoochat</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">{</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
server </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">127.0</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">0.1</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">:</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">8072</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">}</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
server </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">{</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
listen </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">80</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="kwd" style="box-sizing: border-box; color: #f92659;">default</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
server_name erp</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">yourdomain</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">com </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">50.69</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">84.113</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
keepalive_timeout </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">600</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
client_header_timeout </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">600</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
client_max_body_size </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">200M</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
client_body_timeout </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">600</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_connect_timeout </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">600</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_send_timeout </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">600</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_read_timeout </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">600</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
send_timeout </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">600</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
root </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">usr</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">share</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">nginx</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">html</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
index index</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">html index</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">.</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">htm</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_buffers </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">16</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">64k</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_buffer_size </span><span class="lit" style="box-sizing: border-box; color: #ae81ff;">128k</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
location </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">{</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_pass http</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">:</span><span class="com" style="box-sizing: border-box; color: #93a1a1;">//odoo;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_redirect off</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_set_header </span><span class="typ" style="box-sizing: border-box; color: #a6e22e;">Host</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> $host</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_set_header X</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">-</span><span class="typ" style="box-sizing: border-box; color: #a6e22e;">Real</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">-</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">IP $remote_addr</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_set_header X</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">-</span><span class="typ" style="box-sizing: border-box; color: #a6e22e;">Forwarded</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">-</span><span class="typ" style="box-sizing: border-box; color: #a6e22e;">For</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> $proxy_add_x_forwarded_for</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_set_header X</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">-</span><span class="typ" style="box-sizing: border-box; color: #a6e22e;">Forwarded</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">-</span><span class="typ" style="box-sizing: border-box; color: #a6e22e;">Proto</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;"> https</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span><span class="com" style="box-sizing: border-box; color: #93a1a1;"># invento mio</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_set_header X</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">-</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">ODOO_DBFILTER db</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_pass_request_headers on</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">}</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
tiny_mce_marker_
location </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">/</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">longpolling </span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">{</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
proxy_pass http</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">:</span><span class="com" style="box-sizing: border-box; color: #93a1a1;">//odoochat;</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">}</span><span class="pln" style="box-sizing: border-box; color: #66d9ef;">
</span><span class="pun" style="box-sizing: border-box; color: #f8f8f2;">}</span></pre></div></div></div></div><div class="dslc-module-front dslc-module-DSLC_Separator dslc-in-viewport-check dslc-in-viewport-anim-none dslc-col dslc-12-col dslc-last-col dslc-module-handle-like-regular dslc-in-viewport" data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-anim="none" data-dslc-module-id="DSLC_Separator" data-dslc-module-size="12" data-dslc-preset="none" data-module-id="5348" id="dslc-module-5348" style="animation: 0.65s ease 0s 1 normal none running forwards; background-color: white; box-sizing: border-box; color: #41484d; float: left; font-family: Roboto, Helvetica, Arial, "DejaVu Sans", "Liberation Sans", Freesans, sans-serif; font-size: 17px; margin: 0px; padding: 0px; position: relative; width: 791.484px;"><div class="dslc-separator-wrapper" style="background-attachment: scroll; background-color: transparent; background-position: 0% 0%; background-repeat: repeat; border-radius: 0px; border-style: solid; border-width: 0px; box-sizing: border-box; margin: 0px; padding: 0px 0px 1px;"><div class="dslc-separator dslc-separator-style-invisible" style="border-color: rgb(237, 237, 237); border-width: 1px; box-sizing: border-box; clear: both; height: 1px; margin: 0px 0px 20px; padding: 0px 0px 20px; width: 791.484px;"></div><div class="dslc-separator dslc-separator-style-invisible" style="border-color: rgb(237, 237, 237); border-width: 1px; box-sizing: border-box; clear: both; height: 1px; margin: 0px 0px 20px; padding: 0px 0px 20px; width: 791.484px;">Fuente: <a href="https://falconsolutions.cl/error-bus-bus-unavailable/" style="background-color: transparent;">https://falconsolutions.cl/error-bus-bus-unavailable/</a></div><div style="box-sizing: border-box; margin: 0px; padding: 0px;"></div></div></div><div class="dslc-module-front dslc-module-DSLC_Html dslc-in-viewport-check dslc-in-viewport-anim-none dslc-col dslc-12-col dslc-last-col dslc-module-handle-like-regular dslc-in-viewport" data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-anim="none" data-dslc-module-id="DSLC_Html" data-dslc-module-size="12" data-dslc-preset="none" data-module-id="5349" id="dslc-module-5349" style="animation: 0.65s ease 0s 1 normal none running forwards; background-color: white; box-sizing: border-box; color: #41484d; float: left; font-family: Roboto, Helvetica, Arial, "DejaVu Sans", "Liberation Sans", Freesans, sans-serif; font-size: 17px; margin: 0px; padding: 0px; position: relative; width: 791.484px;"><div class="dslc-html-module-content" style="background-color: transparent; border-radius: 0px; border-style: solid; border-width: 0px; box-sizing: border-box; line-height: 27px; margin: 0px 0px 30px; min-height: 0px; padding: 0px;"></div></div><div class="dslc-module-front dslc-module-DSLC_TP_Meta dslc-in-viewport-check dslc-in-viewport-anim-none dslc-col dslc-12-col dslc-last-col dslc-module-handle-like-regular dslc-in-viewport" data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-anim="none" data-dslc-module-id="DSLC_TP_Meta" data-dslc-module-size="12" data-dslc-preset="none" data-module-id="5350" id="dslc-module-5350" style="animation: 0.65s ease 0s 1 normal none running forwards; background-color: white; box-sizing: border-box; color: #41484d; float: left; font-family: Roboto, Helvetica, Arial, "DejaVu Sans", "Liberation Sans", Freesans, sans-serif; font-size: 17px; margin: 0px; padding: 0px; position: relative; width: 791.484px;"><div class="dslc-tp-meta dslc-tp-meta-horizontal" style="background-color: transparent; border-radius: 0px; border: 1px solid rgb(241, 241, 241); box-sizing: border-box; margin: 0px; min-height: 0px; padding: 20px 30px;"></div></div></div></div></div>German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-66597989367024971342020-08-05T11:20:00.003-05:002020-08-05T11:20:46.359-05:00Revision Bloqueos de Base de datos por medio de una Vista<h2 style="text-align: center;">
Generación de una vista para Monitorear bloqueos de tablas en nuestra Base de Datos</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrKhB7In6lW6I7C2nO6KZh9eKoWvYA1rPf4W7g-P4e5rTsRuqCfaFQP7cqYUoZ3UWLNp-mPiTLp1TOnCqc8LOXHXFMMyKlNOBKhLTIi1S5PtHacfz1Vo66v68dmhKsQKcba5PS2feyPlo/s1600/pgelephant_jigsaw.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="557" data-original-width="540" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrKhB7In6lW6I7C2nO6KZh9eKoWvYA1rPf4W7g-P4e5rTsRuqCfaFQP7cqYUoZ3UWLNp-mPiTLp1TOnCqc8LOXHXFMMyKlNOBKhLTIi1S5PtHacfz1Vo66v68dmhKsQKcba5PS2feyPlo/s200/pgelephant_jigsaw.png" width="193" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
El primer punto seria conectarnos a nuestra base de datos, exportando nuestros accesos o de la forma tradicional:</div>
<div style="text-align: left;">
<br /></div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">sudo su postgres
psql MI_BASE
</pre>
</div>
<br />
Ejecutamos el sig. fragmento:
<br />
<div style="text-align: left;">
<br /></div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #aa22ff; font-weight: bold;">CREATE</span> <span style="color: #aa22ff; font-weight: bold;">VIEW</span> lock_monitor <span style="color: #aa22ff; font-weight: bold;">AS</span>(
<span style="color: #aa22ff; font-weight: bold;">SELECT</span>
<span style="color: #aa22ff; font-weight: bold;">COALESCE</span>(blockingl<span style="color: #666666;">.</span>relation<span style="color: #666666;">::</span>regclass<span style="color: #666666;">::</span><span style="color: #aa22ff;">text</span>,blockingl<span style="color: #666666;">.</span>locktype) <span style="color: #aa22ff; font-weight: bold;">as</span> locked_item,
now() <span style="color: #666666;">-</span> blockeda<span style="color: #666666;">.</span>query_start <span style="color: #aa22ff; font-weight: bold;">AS</span> waiting_duration, blockeda<span style="color: #666666;">.</span>pid <span style="color: #aa22ff; font-weight: bold;">AS</span> blocked_pid,
blockeda<span style="color: #666666;">.</span>query <span style="color: #aa22ff; font-weight: bold;">as</span> blocked_query, blockedl<span style="color: #666666;">.</span><span style="color: #aa22ff; font-weight: bold;">mode</span> <span style="color: #aa22ff; font-weight: bold;">as</span> blocked_mode,
blockinga<span style="color: #666666;">.</span>pid <span style="color: #aa22ff; font-weight: bold;">AS</span> blocking_pid, blockinga<span style="color: #666666;">.</span>query <span style="color: #aa22ff; font-weight: bold;">as</span> blocking_query,
blockingl<span style="color: #666666;">.</span><span style="color: #aa22ff; font-weight: bold;">mode</span> <span style="color: #aa22ff; font-weight: bold;">as</span> blocking_mode
<span style="color: #aa22ff; font-weight: bold;">FROM</span> pg_catalog<span style="color: #666666;">.</span>pg_locks blockedl
<span style="color: #aa22ff; font-weight: bold;">JOIN</span> pg_stat_activity blockeda <span style="color: #aa22ff; font-weight: bold;">ON</span> blockedl<span style="color: #666666;">.</span>pid <span style="color: #666666;">=</span> blockeda<span style="color: #666666;">.</span>pid
<span style="color: #aa22ff; font-weight: bold;">JOIN</span> pg_catalog<span style="color: #666666;">.</span>pg_locks blockingl <span style="color: #aa22ff; font-weight: bold;">ON</span>(
( (blockingl<span style="color: #666666;">.</span>transactionid<span style="color: #666666;">=</span>blockedl<span style="color: #666666;">.</span>transactionid) <span style="color: #aa22ff; font-weight: bold;">OR</span>
(blockingl<span style="color: #666666;">.</span>relation<span style="color: #666666;">=</span>blockedl<span style="color: #666666;">.</span>relation <span style="color: #aa22ff; font-weight: bold;">AND</span> blockingl<span style="color: #666666;">.</span>locktype<span style="color: #666666;">=</span>blockedl<span style="color: #666666;">.</span>locktype)
) <span style="color: #aa22ff; font-weight: bold;">AND</span> blockedl<span style="color: #666666;">.</span>pid <span style="color: #666666;">!=</span> blockingl<span style="color: #666666;">.</span>pid)
<span style="color: #aa22ff; font-weight: bold;">JOIN</span> pg_stat_activity blockinga <span style="color: #aa22ff; font-weight: bold;">ON</span> blockingl<span style="color: #666666;">.</span>pid <span style="color: #666666;">=</span> blockinga<span style="color: #666666;">.</span>pid
<span style="color: #aa22ff; font-weight: bold;">AND</span> blockinga<span style="color: #666666;">.</span>datid <span style="color: #666666;">=</span> blockeda<span style="color: #666666;">.</span>datid
<span style="color: #aa22ff; font-weight: bold;">WHERE</span> <span style="color: #aa22ff; font-weight: bold;">NOT</span> blockedl<span style="color: #666666;">.</span><span style="color: #aa22ff; font-weight: bold;">granted</span>
<span style="color: #aa22ff; font-weight: bold;">AND</span> blockinga<span style="color: #666666;">.</span>datname <span style="color: #666666;">=</span> current_database()
);
</pre>
</div>
<br />
<br />
Ahora para visualizar los bloqueos en tiempo real solo tendremos que ejecutar la vista:
<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #aa22ff; font-weight: bold;">SELECT</span> <span style="color: #666666;">*</span> <span style="color: #aa22ff; font-weight: bold;">from</span> lock_monitor;
</pre>
</div>
<br />
Si en algún momento decidimos eliminar el proceso que esta bloqueando nuestra tabla, ya sea por que se ciclo en Odoo o nos esta provocando un retraso en la operación el comando seria el siguiente:
<br />
<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #aa22ff; font-weight: bold;">SELECT</span> pg_terminate_backend();
</pre>
</div>
<br />
Dentro de los parentesis tendremos que meter el PID (ID del proceso) que queremos matar o eliminar este nos los arroja la vita del monitor.<br />
<br />
<br />German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-30555916879107778122020-08-04T16:44:00.002-05:002020-08-04T16:46:38.333-05:00Demonio - Servicio para Odoo13 Ubuntu 17.x Ubuntu 18.x Ubuntu 20.x<h2 style="text-align: center;">
Servicio Systemctl en Ubuntu para nuestra instalación de Odoo<br />Fácil y Rápido</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRzKBfGfm9eHU1Xc1j0auVjet40-dh1TpvxAN7GJU3DxRqYhKZycte1JYu434hFD0Vpkqp_tQwdNebBo_ybS_FZySqO9ioPZfy8lf2uufViY4MDals3RRRwwWosjb_z7pPpOYb68AAQ3s/s1600/Screenshot-from-2019-11-03-21-11-11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="322" data-original-width="614" height="208" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRzKBfGfm9eHU1Xc1j0auVjet40-dh1TpvxAN7GJU3DxRqYhKZycte1JYu434hFD0Vpkqp_tQwdNebBo_ybS_FZySqO9ioPZfy8lf2uufViY4MDals3RRRwwWosjb_z7pPpOYb68AAQ3s/s400/Screenshot-from-2019-11-03-21-11-11.png" width="400" /></a></div>
<br />
Creamos el servicio en la ruta: <b>/usr/lib/systemd/system</b><br />
<br />
Usamos el comando<b> nano /usr/lib/systemd/system/odoo-server.service</b> y pegamos la instrucción en mi caso mi Odoo esta en el directorio<b> /odoo13</b><br />
<b><br /></b>
<!-- HTML generated using hilite.me --><br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;"> 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23</pre>
</td><td><pre style="line-height: 125%; margin: 0;"><span style="color: #666666;">[</span>Unit<span style="color: #666666;">]</span>
<span style="color: darkgoldenrod;">Description</span><span style="color: #666666;">=</span>Servicio Arranque Odoo13
<span style="color: darkgoldenrod;">After</span><span style="color: #666666;">=</span>network.target
<span style="color: #666666;">[</span>Service<span style="color: #666666;">]</span>
<span style="color: darkgoldenrod;">Type</span><span style="color: #666666;">=</span>simple
<span style="color: darkgoldenrod;">Restart</span><span style="color: #666666;">=</span>always
<span style="color: darkgoldenrod;">RestartSec</span><span style="color: #666666;">=</span>1
<span style="color: darkgoldenrod;">User</span><span style="color: #666666;">=</span>odoo
<span style="color: darkgoldenrod;">ExecStart</span><span style="color: #666666;">=</span>/usr/bin/python3 /odoo13/odoo-bin -c /odoo13/odoo-server.conf
<span style="color: #666666;">[</span>Install<span style="color: #666666;">]</span>
<span style="color: darkgoldenrod;">WantedBy</span><span style="color: #666666;">=</span>multi-user.target
</pre>
</td></tr>
</tbody></table>
</div>
<br />
<b>Reiniciamos los para ctualziar los nuevos servicios disponibles:</b><br />
<br />
systemctl daemon-reload<br />
<br />
<b>Iniciamos como prueba nuestro servicio:</b><br />
<br />
systemctl start odoo-server<br />
<br />
<b>Habilitamos con el servicio para iniciar con el Sistema Operativo:</b><br />
<br />
systemctl enable odoo-server<br />
<div>
<br /></div>
<br />
<b>NOTAS:</b><br />
El directorio de Python es obligatorio, se tiene que escribir la ruta completa del binario de python ya sea que este en la ruta por defecto o que lo hayamos compilado manualmente.<br />
<br />German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-61389301085613622772020-07-14T00:23:00.003-05:002020-07-14T00:23:48.449-05:00Obtener registros Hijos de un registro Padre en Odoo<h2 style="text-align: center;">
Como utilizar child of para buscar registros hijos en Odoo</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXKu8uzjsszS_fLDpCS1cBXmStn5jgkMdiO_WhLNtJ1PO4Zneg0R4CocU519qDG3QZ7VYZiqSUBuvXx3T7S6Fv0xduBnvxBF-0fdwjZCtMo1IjFgVHllFARp0WJLqtJ8w-w9G6kM7WXZM/s1600/odoo_logo_rgb.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="199" data-original-width="623" height="63" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXKu8uzjsszS_fLDpCS1cBXmStn5jgkMdiO_WhLNtJ1PO4Zneg0R4CocU519qDG3QZ7VYZiqSUBuvXx3T7S6Fv0xduBnvxBF-0fdwjZCtMo1IjFgVHllFARp0WJLqtJ8w-w9G6kM7WXZM/s200/odoo_logo_rgb.png" width="200" /></a></div>
<div style="text-align: center;">
<br /></div>
<br />
Algo muy frecuente y que estoy seguro que te as preguntado es como poder obtener las categorías hijas de un registro, por ejemplo en los modelos:<br />
<br />
<ul>
<li>Ubicaciones</li>
<li>Categorias</li>
<li>Partners</li>
</ul>
<div>
<br /></div>
<div>
Existen columnas dentro de los lineamientos de Odoo que nos permiten tener un control en un esquema de arbol:</div>
<div>
<ul>
<li>Parent Left</li>
<li>Parent Right</li>
<li>Parent ID</li>
</ul>
<div>
<br /></div>
</div>
<div>
Con estos campos podemos saber de donde la estructura de la que se compone nuestro registro y por medio de ellas buscar sus hijos:</div>
<div>
<br /></div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;"> 1
2
3
4
5
6
7
8
9
10</pre>
</td><td><pre style="line-height: 125%; margin: 0;"><span style="color: green;">## Iniciamos nuestra lista final ###</span>
all_record_ids = []
<span style="color: green;">#### La variable que usare como ejemplo es record, que es una instancia de un registro de X tabla que usa el esquema de hijos ###</span>
<span style="color: green;">#### Iniciamos nuestro dominio, en este ejemplo usare una variable para no tener todo en una sola linea ####</span>
child_dom = [(<span style="color: #a31515;">'parent_left'</span>, <span style="color: #a31515;">'>'</span>, record.parent_left), (<span style="color: #a31515;">'parent_left'</span>, <span style="color: #a31515;">'<'</span>, record.parent_right)]
<span style="color: green;">#### Buscamos los registros que cumplen mi condicion ####</span>
child_records = self.search(child_dom)
<span style="color: green;">#### Agregamos a mi lista final, el registro principal (record) y agregamos los hijos ####</span>
all_record_ids.append(record.id)
all_record_ids=all_record_ids+child_records.ids
</pre>
</td></tr>
</tbody></table>
</div>
<br />
<br />
Yo por ejemplo, necesitaba saber las categorías hijas de un registro en donde mi variable era category:
<!-- HTML generated using hilite.me --><br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;">1
2
3</pre>
</td><td><pre style="line-height: 125%; margin: 0;">product_category = self.env[<span style="color: #a31515;">'product.category'</span>]
child_dom = [(<span style="color: #a31515;">'parent_left'</span>, <span style="color: #a31515;">'>'</span>, category.parent_left), (<span style="color: #a31515;">'parent_left'</span>, <span style="color: #a31515;">'<'</span>, category.parent_right)]
child_categs = product_category.search(child_dom)
</pre>
</td></tr>
</tbody></table>
</div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-6247912321976707782020-07-09T00:01:00.001-05:002020-07-15T02:16:07.895-05:00Descomprimir lista de archivos ZIP Bash<h2 style="background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, "helvetica neue", sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;">
#1: Descomprimir utilizando un comodin (instrucción corta)</h2>
<div style="background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, "helvetica neue", sans-serif; font-size: 14px; margin-bottom: 1.75em;">
La sintaxis es la siguiente:</div>
<div class="wp_syntax" style="background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, "helvetica neue", sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: auto;">
<table style="border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 607px;"><tbody style="box-sizing: inherit;">
<tr style="box-sizing: inherit;"><td class="code" style="background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 607px;"><pre class="bash" style="background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;"><span style="box-sizing: inherit; color: #c20cb9; font-weight: bold;">unzip</span> <span style="box-sizing: inherit; color: red;">'*.zip'</span></pre>
</td></tr>
</tbody></table>
</div>
<div style="background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, "helvetica neue", sans-serif; font-size: 14px; margin-bottom: 1.75em;">
Un ejemplo facil:<br />
<code style="background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;">$ cd /disk2/images/<br style="box-sizing: inherit;" />$ unzip '*.zip'<br style="box-sizing: inherit;" />$ ls -l</code></div>
<div class="note" style="background: url("assets/images/note.png") 1.75em 50% no-repeat rgb(230, 243, 254); box-sizing: inherit; color: #216093; font-family: montserrat, "helvetica neue", sans-serif; font-size: 14px; margin-bottom: 1.75em; padding: 0.7em 1.75em 0.7em 4em;">
<span style="box-sizing: inherit; font-weight: 700;">Nota</span>: <kbd style="box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;"><span style="box-sizing: inherit; font-weight: 700;">*.zip se encuentra dentro de comillas simples</span></kbd>.</div>
<h2 style="background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, "helvetica neue", sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;">
#2: Descomprimir utilizando un bucle (instrucción larga)</h2>
<div style="background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, "helvetica neue", sans-serif; font-size: 14px; margin-bottom: 1.75em;">
La Sintaxis es la siguiente:</div>
<div class="wp_syntax" style="background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, "helvetica neue", sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: auto;">
<table style="border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 607px;"><tbody style="box-sizing: inherit;">
<tr style="box-sizing: inherit;"><td class="code" style="background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 607px;"><pre class="bash" style="background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;"> <span style="box-sizing: inherit; font-weight: bold;">for</span> z <span style="box-sizing: inherit; font-weight: bold;">in</span> <span style="box-sizing: inherit; font-weight: bold;">*</span>.zip; <span style="box-sizing: inherit; font-weight: bold;">do</span> <span style="box-sizing: inherit; color: #c20cb9; font-weight: bold;">unzip</span> <span style="box-sizing: inherit; color: #007800;">$z</span>; <span style="box-sizing: inherit; font-weight: bold;">done</span></pre>
</td></tr>
</tbody></table>
</div>
<h5 style="background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, "helvetica neue", sans-serif; font-size: 1.1875rem; line-height: 1.10526; margin: 2.94737em 0px 1.47368em; text-rendering: optimizelegibility;">
</h5>
<div>
Gracias.</div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-52614808590958726642020-07-08T23:55:00.000-05:002020-07-08T23:55:25.545-05:00Numero a Letra Correspondiente (Excel) - Función Python<div style="text-align: center;">
<h2>
Función para transformar un indice a su letra correspondiente
<br />(Similar a las columnas en Excel)</h2>
</div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBW0g-rEllT0kLzKEwrknD1cRHoMQIrSVU3koSowK0TW28gs9fbbnaK7t9WmqQM4bqLKS_1H1SV61pODs2xFYv_CmNMyvoIVHI-OUaZkhlBBi0bjiuyWPLDoFiXXX8me7_UybQeNIUmCk/s1600/61SA0Wq1P1L.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="512" data-original-width="512" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBW0g-rEllT0kLzKEwrknD1cRHoMQIrSVU3koSowK0TW28gs9fbbnaK7t9WmqQM4bqLKS_1H1SV61pODs2xFYv_CmNMyvoIVHI-OUaZkhlBBi0bjiuyWPLDoFiXXX8me7_UybQeNIUmCk/s200/61SA0Wq1P1L.png" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
El siguiente método me resulto muy útil al momento de realizar un reporte en Excel con columnas dinámicas, por medio de un indice que podia incrementar el no. de columnas a insertar, con ello logre tener un reporte muy dinamico, mi problema era conocer que letra le correspondía al indice, ya que desconocía el no. de columnas finales.</div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Mi problema lo solucione con el siguiente metodo:</div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;">1
2
3
4
5
6
7
8</pre>
</td><td><pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">indice_to_column_string</span>(n):
string = <span style="background-color: #fff0f0; color: #dd2200;">""</span>
<span style="color: #008800; font-weight: bold;">while</span> n > <span style="color: #0000dd; font-weight: bold;">0</span>:
n, remainder = <span style="color: #003388;">divmod</span>(n - <span style="color: #0000dd; font-weight: bold;">1</span>, <span style="color: #0000dd; font-weight: bold;">26</span>)
string = <span style="color: #003388;">chr</span>(<span style="color: #0000dd; font-weight: bold;">65</span> + remainder) + string
<span style="color: #008800; font-weight: bold;">return</span> string
<span style="color: #008800; font-weight: bold;">print</span>(indice_to_column_string(<span style="color: #0000dd; font-weight: bold;">28</span>))
</pre>
</td></tr>
</tbody></table>
</div>
<br />
<br />
La variable que recibe mi metodo es el indice del cual quisiera saber la columna correspondiente.<br />
<br />
<br />German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-65704008640257474522020-07-08T23:48:00.002-05:002020-07-08T23:48:39.331-05:00IPV6 Linux check - Visualizar nuestra IP V6 Linux<h2 style="text-align: center;">
Show IPv6 - Mostra IPv6 Linux</h2>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsQ0BanE7SQMz136fnptoV2jlBPhtVuDJSXyJUzbNI21B7LPmdWXy-LUZYWQWL9D-44d6dJ93jg0JIDWVs8k02oqJjGtxUeDk4EhyuXIWks8afUANCwTB4Hrhm1BfFUUqp3fzpUTqMgJU/s1600/1200px-NewTux.svg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1440" data-original-width="1200" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsQ0BanE7SQMz136fnptoV2jlBPhtVuDJSXyJUzbNI21B7LPmdWXy-LUZYWQWL9D-44d6dJ93jg0JIDWVs8k02oqJjGtxUeDk4EhyuXIWks8afUANCwTB4Hrhm1BfFUUqp3fzpUTqMgJU/s200/1200px-NewTux.svg.png" width="166" /></a></div>
<pre style="border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: consolas, menlo, monaco, "lucida console", "liberation mono", "dejavu sans mono", "bitstream vera sans mono", "courier new", monospace, sans-serif; font-size: 13px; font-stretch: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; text-align: center; vertical-align: baseline; width: auto;"><span style="font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;">
</span></pre>
<pre style="border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><span style="font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;">Existen varias formas, por ejemplo el siguiente comando:</span></pre>
<br />
<!-- HTML generated using hilite.me -->
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;">1</pre>
</td><td><pre style="line-height: 125%; margin: 0;">ip addr show dev eth0 | sed -e<span style="background-color: #fff0f0; color: #dd2200;">'s/^.*inet6 \([^ ]*\)\/.*$/\1/;t;d'</span>
</pre>
</td></tr>
</tbody></table>
</div>
<pre style="border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"></pre>
<pre style="border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;">Otro comando que nos arroja la IPv6:</pre>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;">1</pre>
</td><td><pre style="line-height: 125%; margin: 0;">/sbin/ifconfig | grep inet6
</pre>
</td></tr>
</tbody></table>
</div>
<br />
<pre style="border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: consolas, menlo, monaco, "lucida console", "liberation mono", "dejavu sans mono", "bitstream vera sans mono", "courier new", monospace, sans-serif; font-size: 13px; font-stretch: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;">El caso de tener error al utilizar ifconfig, debemos instalar las aplicaciones de net-tools:</pre>
<pre style="border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: consolas, menlo, monaco, "lucida console", "liberation mono", "dejavu sans mono", "bitstream vera sans mono", "courier new", monospace, sans-serif; font-size: 13px; font-stretch: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"></pre>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;">1</pre>
</td><td><pre style="line-height: 125%; margin: 0;">sudo apt-get install net-tools
</pre>
</td></tr>
</tbody></table>
</div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-72649026966429081742020-07-08T23:40:00.002-05:002020-07-08T23:41:38.286-05:00 RSA KEY (PRIVATE KEY) TO PPK KEY<div style="text-align: center;">
</div>
<div style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #111111; font-family: "open sans", sans-serif; font-size: 1.1em; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0.618em; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;">
</div>
<br />
<h2 style="-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: black; font-family: "open sans", sans-serif; font-size: 1.618em; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; letter-spacing: normal; line-height: 1.387em; margin: 0px 0px 0.618em; orphans: 2; padding: 0px; text-align: center; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;">
Llave RSA a PPK</h2>
<h2 style="background-color: white; border: 0px; font-family: "Open Sans", sans-serif; font-size: 1.618em; line-height: 1.387em; margin: 0px 0px 0.618em; padding: 0px; vertical-align: baseline;">
How to use puttygen</h2>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
On <a href="https://haydenjames.io/quick-tips-stable-arch-linux-experience/" style="border: 0px; color: #2279b7; font-size: 15.4px; margin: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;">Arch Linux</a> its simple…</div>
<pre class="lang:default decode:true" style="background: silver; border: 0px; color: #111111; font-size: 1.2em; margin-bottom: 10px; overflow-wrap: break-word; padding: 8px; vertical-align: baseline; white-space: pre-wrap;">pacman -S putty</pre>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
<br /></div>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
On RHEL/Centos:</div>
<pre style="background: silver; border: 0px; color: #111111; font-size: 1.2em; margin-bottom: 10px; overflow-wrap: break-word; padding: 8px; vertical-align: baseline; white-space: pre-wrap;">yum install putty</pre>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
<br /></div>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
Fedora:</div>
<pre style="background: silver; border: 0px; color: #111111; font-size: 1.2em; margin-bottom: 10px; overflow-wrap: break-word; padding: 8px; vertical-align: baseline; white-space: pre-wrap;">dnf install putty</pre>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
<br /></div>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
Debian/Ubuntu try…</div>
<pre class="lang:default decode:true" style="background: silver; border: 0px; color: #111111; font-size: 1.2em; margin-bottom: 10px; overflow-wrap: break-word; padding: 8px; vertical-align: baseline; white-space: pre-wrap;">apt-get install putty-tools</pre>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
<br /></div>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
Then cd to path of key(s):</div>
<pre class="lang:default decode:true" style="background: silver; border: 0px; color: #111111; font-size: 1.2em; margin-bottom: 10px; overflow-wrap: break-word; padding: 8px; vertical-align: baseline; white-space: pre-wrap;">puttygen keyname -o keyname.ppk</pre>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
Make sure you’ve replaced the “keyname” with your private key filename.</div>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
<br /></div>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
<strong style="border: 0px; font-size: 15.4px; margin: 0px; padding: 0px; vertical-align: baseline;">Reference:</strong><br />
<a href="https://www.ssh.com/ssh/putty/" rel="noopener" style="border: 0px; color: #2279b7; font-size: 15.4px; margin: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank">https://www.ssh.com/ssh/putty/</a> – Putty official page.<br />
<a href="https://www.ssh.com/ssh/keygen/" rel="noopener" style="border: 0px; color: #2279b7; font-size: 15.4px; margin: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank">https://www.ssh.com/ssh/keygen/</a> – ssh-keygen tool.<br />
<a href="https://www.ssh.com/ssh/putty/linux/puttygen" rel="noopener" style="border: 0px; color: #2279b7; font-size: 15.4px; margin: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank">https://www.ssh.com/ssh/putty/linux/puttygen</a> – Command line.<br />
<a href="https://www.ssh.com/ssh/putty/windows/puttygen" rel="noopener" style="border: 0px; color: #2279b7; font-size: 15.4px; margin: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank">https://www.ssh.com/ssh/putty/windows/puttygen</a> – PuTTYgen Windows.</div>
<div style="-webkit-hyphenate-character: "‐"; background-color: white; border: 0px; color: #111111; font-family: "Open Sans", sans-serif; font-size: 1.1em; margin-bottom: 0.618em; orphans: 3; padding: 0px; vertical-align: baseline; widows: 3;">
<br /></div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-26581124408193922102020-07-08T20:52:00.004-05:002020-07-08T20:54:40.851-05:00Crear Parches con Github / Gitlab<h2 style="background-color: white; border: 0px; font-family: dosis, helvetica, times, serif; font-size: 28px; font-stretch: inherit; font-weight: normal; letter-spacing: -0.05em; line-height: inherit; margin: 0px 0px 20px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
GESTIÓN DE PARCHES CON GIT</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTDFP4MPVztDL1rO0M-IZw2_rmflTjKBK95cSTZwT8z13dtvrMahEo6GaGwt8wjfGODNvFevoEN8bwrtx5d-aR-BcmORgfTc8hDTJIHu_Ba1cppMHBLlkHygWP_5Nagquz173LU4_NfSU/s1600/python-1-562x309%25402x-op-800x404.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="404" data-original-width="800" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTDFP4MPVztDL1rO0M-IZw2_rmflTjKBK95cSTZwT8z13dtvrMahEo6GaGwt8wjfGODNvFevoEN8bwrtx5d-aR-BcmORgfTc8hDTJIHu_Ba1cppMHBLlkHygWP_5Nagquz173LU4_NfSU/s320/python-1-562x309%25402x-op-800x404.png" width="320" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<h2 style="background-color: white; border: 0px; font-family: Dosis, Helvetica, Times, serif; font-size: 28px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: normal; letter-spacing: -0.05em; line-height: inherit; margin: 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;">
1. Creación del parche.</h2>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
Además quizás no necesitamos hacer un merge completo sino aplicar un commit en especifico, si tenemos derecho de escritura en ambos branches podríamos hacer uso del git cherry-pick como se muestra a continuación.</div>
<div style="background-color: white; border: 0px; font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<div class="syntaxhighlighter bash" id="highlighter_737674" style="background-color: rgb(27, 36, 38) !important; border: 0px; font-family: inherit; font-size: 1em !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 1em 0px !important; outline: 0px; overflow: auto !important; padding: 5px; position: relative !important; vertical-align: baseline; width: 660px;">
<div class="toolbar" style="background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; font-stretch: inherit; font-variant: inherit; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;">
<span style="border: 0px; font: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a class="toolbar_item command_help help" href="http://7sabores.com/blog/generar-un-parche-git#" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; display: block !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">?</a></span></div>
<table border="0" cellpadding="0" cellspacing="0" style="background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 660px;"><tbody style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
2</div>
</td><td class="code" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 629px;"><div class="container" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">git checkout master</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">git cherry-pick b0429c202bafde0bae7439d4ce70480b1b5604b3</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
En el ejemplo anterior se utiliza la llave <a href="http://git-scm.com/book/ch6-1.html" style="border: 0px; color: #b20000; font: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;" target="_blank">SHA-1</a> que se le asigna a cada commit.</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
Sin embargo esto no soluciona el problema de que no tengamos derechos de escritura en el branch de destino. Para esto creamos un parche utilizando el comando format-patch como se puede apreciar en el siguiente comando:</div>
<div style="background-color: white; border: 0px; font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<div class="syntaxhighlighter bash" id="highlighter_80929" style="background-color: rgb(27, 36, 38) !important; border: 0px; font-family: inherit; font-size: 1em !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 1em 0px !important; outline: 0px; overflow: auto !important; padding: 5px; position: relative !important; vertical-align: baseline; width: 660px;">
<div class="toolbar" style="background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; font-stretch: inherit; font-variant: inherit; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;">
<span style="border: 0px; font: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a class="toolbar_item command_help help" href="http://7sabores.com/blog/generar-un-parche-git#" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; display: block !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">?</a></span></div>
<table border="0" cellpadding="0" cellspacing="0" style="background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 660px;"><tbody style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
2</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
3</div>
</td><td class="code" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 629px;"><div class="container" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">git </code><code class="bash functions" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">format</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">-patch -1 e99b2cd8bafc5efc9d9b353d6fb5530e61a8c3ae</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">0001-Lmessages-theming.patch</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
En anterior comando tomara todo los cambios y generara un archivo cuyo nombre sera el comentario del commit.</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
Ahora bien si tenemos 99 commits y deseamos aplicar todo a master tenemos dos opciones.</div>
<h3 style="background-color: white; border: 0px; font-family: Dosis, Helvetica, Times, serif; font-size: 21px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: normal; letter-spacing: -0.05em; line-height: inherit; margin: 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;">
1.1 Crear un patch por cada commit.</h3>
<div style="background-color: white; border: 0px; font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<div class="syntaxhighlighter bash" id="highlighter_781155" style="background-color: rgb(27, 36, 38) !important; border: 0px; font-family: inherit; font-size: 1em !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 1em 0px !important; outline: 0px; overflow: auto !important; padding: 5px; position: relative !important; vertical-align: baseline; width: 660px;">
<div class="toolbar" style="background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; font-stretch: inherit; font-variant: inherit; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;">
<span style="border: 0px; font: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a class="toolbar_item command_help help" href="http://7sabores.com/blog/generar-un-parche-git#" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; display: block !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">?</a></span></div>
<table border="0" cellpadding="0" cellspacing="0" style="background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 660px;"><tbody style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
2</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
3</div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
4</div>
</td><td class="code" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 629px;"><div class="container" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">git </code><code class="bash functions" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">format</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">-patch master</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">0001-site_name-variable.patch</code></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">0002-wizard-and-preview.patch</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
Se aumentara el numero de consecutivo desde 0001 hasta llegar al ultimo en nuestro ejemplo a 0099-message-commit.patch</div>
<h3 style="background-color: white; border: 0px; font-family: Dosis, Helvetica, Times, serif; font-size: 21px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: normal; letter-spacing: -0.05em; line-height: inherit; margin: 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;">
2.1 Crear un solo patch para todos los commits</h3>
<div style="background-color: white; border: 0px; font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<div class="syntaxhighlighter bash" id="highlighter_23947" style="background-color: rgb(27, 36, 38) !important; border: 0px; font-family: inherit; font-size: 1em !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 1em 0px !important; outline: 0px; overflow: auto !important; padding: 5px; position: relative !important; vertical-align: baseline; width: 660px;">
<div class="toolbar" style="background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; font-stretch: inherit; font-variant: inherit; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;">
<span style="border: 0px; font: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a class="toolbar_item command_help help" href="http://7sabores.com/blog/generar-un-parche-git#" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; display: block !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">?</a></span></div>
<table border="0" cellpadding="0" cellspacing="0" style="background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 660px;"><tbody style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
</td><td class="code" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 629px;"><div class="container" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">git </code><code class="bash functions" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(255, 170, 62) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">format</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">-patch master --stdout > fix_master.patch</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
De esta forma en el archivo fix_master estarían todos los cambios.</div>
<h2 style="background-color: white; border: 0px; font-family: Dosis, Helvetica, Times, serif; font-size: 28px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: normal; letter-spacing: -0.05em; line-height: inherit; margin: 0px 0px 20px; outline: 0px; padding: 0px; vertical-align: baseline;">
2. Aplicar el parche.</h2>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
Con el parche en nuestras manos y posicionados en el branch que deseamos aplicar el parche por ejemplo master debemos hacer algunas revisiones.</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
Primero verificar que archivos se van a modificar, para esto debemos obtener alguna estadísticas como se muestra a continuación.</div>
<div style="background-color: white; border: 0px; font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<div class="syntaxhighlighter bash" id="highlighter_19004" style="background-color: rgb(27, 36, 38) !important; border: 0px; font-family: inherit; font-size: 1em !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 1em 0px !important; outline: 0px; overflow: auto !important; padding: 5px; position: relative !important; vertical-align: baseline; width: 660px;">
<div class="toolbar" style="background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; font-stretch: inherit; font-variant: inherit; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;">
<span style="border: 0px; font: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a class="toolbar_item command_help help" href="http://7sabores.com/blog/generar-un-parche-git#" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; display: block !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">?</a></span></div>
<table border="0" cellpadding="0" cellspacing="0" style="background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 660px;"><tbody style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
2</div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
3</div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
4</div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
5</div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
6</div>
</td><td class="code" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 629px;"><div class="container" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">git apply --stat fix_master.patch</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">...</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/sites/default/themes/fancy/css/fancy</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.css | 14 +++++++++</code></div>
<div class="line number3 index2 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">...</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/sites/default/themes/fancy/js/main</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.js | 31 ++++++++++++++++++++</code></div>
<div class="line number4 index3 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">...</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/sites/default/themes/fancy/sass/fancy</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.sass | 14 +++++++++</code></div>
<div class="line number5 index4 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">...</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/sites/default/themes/fancy/templates/page</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.tpl.php | 2 +</code></div>
<div class="line number6 index5 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash spaces" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">4 files changed, 60 insertions(+), 1 deletion(-)</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
Si estamos seguros de que los cambios son los deseados debemos verificar que todos los cambios se aplicaran correctamente, esto porque quizás entre que se creo el parche y el estado actual las lineas de referencia en el archivo de destino utilizadas para aplicar el cambio hayan cambiado, esto lo hacemos con el siguiente comando.</div>
<div style="background-color: white; border: 0px; font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<div class="syntaxhighlighter bash" id="highlighter_606008" style="background-color: rgb(27, 36, 38) !important; border: 0px; font-family: inherit; font-size: 1em !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 1em 0px !important; outline: 0px; overflow: auto !important; padding: 5px; position: relative !important; vertical-align: baseline; width: 660px;">
<div class="toolbar" style="background: rgb(67, 90, 95) !important; border-radius: 0px !important; border: none !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; font-stretch: inherit; font-variant: inherit; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;">
<span style="border: 0px; font: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a class="toolbar_item command_help help" href="http://7sabores.com/blog/generar-un-parche-git#" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: white !important; display: block !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration-line: none !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">?</a></span></div>
<table border="0" cellpadding="0" cellspacing="0" style="background: none !important; border-collapse: collapse; border-radius: 0px !important; border-spacing: 0px; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 660px;"><tbody style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<tr style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><td class="gutter" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
1</div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-color: initial !important; border-bottom-style: initial !important; border-image: initial !important; border-left-color: initial !important; border-left-style: initial !important; border-radius: 0px !important; border-right-color: rgb(67, 90, 95) !important; border-right-style: solid !important; border-top-color: initial !important; border-top-style: initial !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
2</div>
</td><td class="code" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 629px;"><div class="container" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div class="line number1 index0 alt2" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">git apply --check 0001-LM-messages-theming.patch</code></div>
<div class="line number2 index1 alt1" style="background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">error: patch failed: ...</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/sites/default/themes/fancy/template</code><code class="bash plain" style="background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(185, 189, 182) !important; float: none !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; font-stretch: inherit; font-variant: inherit; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: auto !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.php:4</code></div>
</div>
</td></tr>
</tbody></table>
</div>
</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; color: black; font: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
Si la salida en vacía significa que se aplicara sin problemas y si es similar al ejemplo anterior nos indicara donde esta el problema, para lo cual tendremos dos opciones generar de nuevo el parche o ajustar el parche para remover las lineas erróneas.</div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
<br /></div>
<div style="background-color: white; border: 0px; color: #444444; font-family: arial; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 10px; outline: 0px; padding: 0px; vertical-align: baseline;">
<b>FUENTE: <a href="http://7sabores.com/blog/generar-un-parche-git">http://7sabores.com/blog/generar-un-parche-git</a></b></div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-91149148973453524972020-07-08T14:27:00.003-05:002020-07-08T14:48:11.319-05:00Instalar Python-Pip Ubuntu 20.04/18.04<div style="text-align: center;">
<h2>
Instalación de Python PIP en Ubuntu 20.04</h2>
<br />
<div style="text-align: justify;">
Solución al Error E: Unable to locate package python-pip</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
sudo apt-get install software-properties-common</div>
<div style="text-align: justify;">
sudo apt-add-repository universe</div>
<div style="text-align: justify;">
sudo apt-get update</div>
<div style="text-align: justify;">
sudo apt-get install python-pip</div>
<div style="text-align: justify;">
<br /></div>
</div>
<h2 style="text-align: center;">
Instalación Alternativa</h2>
<pre class="lang-py prettyprint prettyprinted" style="border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="pln" style="border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><pre class="terminal" style="--bg-opacity: 1; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; color: #2d3748; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.75rem; margin-bottom: 1rem; margin-top: 1rem; min-width: 0px; overflow: auto; padding: 1rem; position: relative;"><code class="terminal-line" prefix="$" style="--bg-opacity: 1; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; display: block; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1rem; line-height: 1.5; min-width: 0px; padding: 0px; word-break: break-word;"><span style="background-color: #edf2f7; font-family: "roboto mono" , "menlo" , "monaco" , "consolas" , "liberation mono" , "courier new" , monospace;">sudo add-apt-repository universe</span></code><code class="terminal-line" prefix="$" style="--bg-opacity: 1; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; display: block; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1rem; line-height: 1.5; min-width: 0px; padding: 0px; word-break: break-word;">sudo apt update </code><code class="terminal-line" prefix="$" style="--bg-opacity: 1; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; display: block; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1rem; line-height: 1.5; min-width: 0px; padding: 0px; word-break: break-word;">sudo apt install python2</code></pre>
<div style="background-color: white; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; color: #2d3748; font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 18px; line-height: 1.58; margin-bottom: 1rem; margin-top: 1rem; min-width: 0px; white-space: normal;">
Usamos <a href="https://linuxize.com/post/curl-command-examples/" style="background-color: transparent; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; color: #1a73e8; min-width: 0px; transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) 0s;"><code style="--bg-opacity: 1; background-color: rgba(237,242,247,var(--bg-opacity)); border: 0px solid rgb(226, 232, 240); box-sizing: border-box; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1rem; line-height: 1.5; min-width: 0px; padding: 0.25rem; word-break: break-word;">curl</code></a> para descargar el <code style="--bg-opacity: 1; background-color: rgba(237,242,247,var(--bg-opacity)); border: 0px solid rgb(226, 232, 240); box-sizing: border-box; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1rem; line-height: 1.5; min-width: 0px; padding: 0.25rem; word-break: break-word;">get-pip.py</code> script:</div>
<pre class="terminal" style="--bg-opacity: 1; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; color: #2d3748; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.75rem; margin-bottom: 1rem; margin-top: 1rem; min-width: 0px; overflow: auto; padding: 1rem; position: relative;"><code class="terminal-line" prefix="$" style="--bg-opacity: 1; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; display: block; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1rem; line-height: 1.5; min-width: 0px; padding: 0px; word-break: break-word;">curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py</code></pre>
<div style="background-color: white; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; color: #2d3748; font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 18px; line-height: 1.58; margin-bottom: 1rem; margin-top: 1rem; min-width: 0px; white-space: normal;">
Una ves descargado el script lo instalamos:</div>
<pre class="terminal" style="--bg-opacity: 1; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; color: #2d3748; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.75rem; margin-bottom: 1rem; margin-top: 1rem; min-width: 0px; overflow: auto; padding: 1rem; position: relative;"><code class="terminal-line" prefix="$" style="--bg-opacity: 1; border: 0px solid rgb(226, 232, 240); box-sizing: border-box; display: block; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1rem; line-height: 1.5; min-width: 0px; padding: 0px; word-break: break-word;">sudo python2 get-pip.py</code></pre>
</span></code></pre>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-41123176634328539942020-07-02T00:47:00.000-05:002020-07-02T00:53:22.873-05:00Tabla HTML a Imagen con Python<h2 style="text-align: center;">
Codigo HTML volcado a una imagen con Python</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKT4FdpqflvU69SqYEDRm2m7I1DooZLrka3l7oUOKoMD4cotO3uaM-tLhrTQd5o5zKTldrXoWSTQSXnQMN5Xmbs7v99TyCOUB7GWnEv11hBsdHWPAjjkqftI7FMSlkosuWyE1_CRUHXnM/s1600/tabla.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="296" data-original-width="350" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKT4FdpqflvU69SqYEDRm2m7I1DooZLrka3l7oUOKoMD4cotO3uaM-tLhrTQd5o5zKTldrXoWSTQSXnQMN5Xmbs7v99TyCOUB7GWnEv11hBsdHWPAjjkqftI7FMSlkosuWyE1_CRUHXnM/s200/tabla.png" width="200" /></a></div>
<br />
<a href="https://pypi.org/project/imgkit/">https://pypi.org/project/imgkit/</a><br />
<br />
<br />
<br />
<h3>
EJEMPLO:</h3>
<br />
import imgkit<br />
<br />
<pre style="background-color: #f9f9f9; border: 1px solid rgb(211, 211, 211); box-sizing: inherit; color: #6c6c6c; font-family: "Source Code Pro", monospace; font-size: 0.85rem; margin-top: 30px; overflow: auto; padding: 15px;"><span class="n" style="box-sizing: inherit;">body</span> <span class="o" style="box-sizing: inherit;">=</span> <span class="s2" style="box-sizing: inherit; color: #d52d40;">"""
<html>
<head>
<meta name="imgkit-format" content="png"/>
<meta name="imgkit-orientation" content="Landscape"/>
</head>
Hello World!
</html>
"""</span>
<span class="n" style="box-sizing: inherit;">imgkit</span><span class="o" style="box-sizing: inherit;">.</span><span class="n" style="box-sizing: inherit;">from_string</span><span class="p" style="box-sizing: inherit;">(</span><span class="n" style="box-sizing: inherit;">body</span><span class="p" style="box-sizing: inherit;">,</span> <span class="s1" style="box-sizing: inherit; color: #d52d40;">'out.png'</span><span class="p" style="box-sizing: inherit;">)</span></pre>
<br />
<br />
<h3>
EJEMPLO CON UNA TABLA:</h3>
<br />
<br />
<br />
body_html="""<br />
<pre class="line-numbers language-markup" style="background: rgb(255, 255, 255); border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.15); direction: ltr; line-height: 20px; margin-bottom: 0.5em; margin-top: 0.5em; max-height: 25em; overflow-wrap: normal; overflow: auto; padding: 1em 1em 1em 3.8em; position: relative; text-shadow: rgb(255, 255, 255) 0px 1px; word-break: normal;" title="Double click to select all"><span style="color: #999999; font-family: "ubuntu mono" , "monaco" , "menlo" , "consolas" , monospace;"><span style="font-size: 14px;"><style type="text/css">
.tg {border-collapse:collapse;border-color:#aabcfe;border-spacing:0;}
.tg td{background-color:#e8edff;border-color:#aabcfe;border-style:solid;border-width:1px;color:#669;
font-family:Arial, sans-serif;font-size:14px;overflow:hidden;padding:15px 15px;word-break:normal;}
.tg th{background-color:#b9c9fe;border-color:#aabcfe;border-style:solid;border-width:1px;color:#039;
font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;}
.tg .tg-0lax{text-align:left;vertical-align:top}
</style>
<table class="tg">
<tbody>
<tr>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
</tr>
<tr>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
</tr>
<tr>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
</tr>
<tr>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
</tr>
<tr>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
</tr>
<tr>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
</tr>
<tr>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
</tr>
<tr>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
</tr>
<tr>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
<td class="tg-0lax"></td>
</tr>
</tbody>
</table></span></span></pre>
"""
<br />
<br />
<br />
imgkit.from_string(body_html, '/tmp/tabla.png')<br />
<br />
<br />
<h3>
<b>Para Ajustar el tamaño de la Imagen podemos enviar el parámetro options:</b></h3>
<br />
options = {'width': 350, 'disable-smart-width': ''}<br />
<div>
<br /></div>
<div>
<div>
imgkit.from_string(body_html, '/tmp/tabla.png', options=options)</div>
</div>
<div>
<br /></div>
<div>
<br />
<h3>
La librería depende de la utilidad WKHTMLTOPDF asi que asegurense de tenerla instalada antes de descargarla.</h3>
<br /></div>
<div>
sudo apt-get install wkhtmltox<br />
<br />
<br /></div>
<br />
<div>
<br /></div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-81151038851060210382020-06-25T00:57:00.001-05:002020-06-25T00:59:05.926-05:00Añadir Firmas en Reportes Qweb Odoo<h2 style="text-align: center;">
Firmas en Reporte Qweb</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMtTa5h9ymtP44-WbZzKl3jRz6FjVHaf-89T2RXlipMp1WjrHLmT6df4TWV9Yq9bBV7sOSQp5dSmjEYXlJQIBXE_aXmbX4odmY_ujqxK_1R1V77DIrv4oVxFQW235l-dq6bhgwM5to_mY/s1600/reportes-qweb-odoo.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="54" data-original-width="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMtTa5h9ymtP44-WbZzKl3jRz6FjVHaf-89T2RXlipMp1WjrHLmT6df4TWV9Yq9bBV7sOSQp5dSmjEYXlJQIBXE_aXmbX4odmY_ujqxK_1R1V77DIrv4oVxFQW235l-dq6bhgwM5to_mY/s1600/reportes-qweb-odoo.jpg" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: justify;">
Es muy común que algunos documentos puedan ser requeridos con firmas de autorización o responsables o la firma de la recepción del cliente en un Albarán, esto es muy sencillo a continuación voy a emplear un ejemplo hecho en el reporte de Licitaciones:</div>
<div style="text-align: justify;">
<br /></div>
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #272822; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #f92672;"><template</span> <span style="color: #a6e22e;">id=</span><span style="color: #e6db74;">"report_purchaserequisitions_signatures"</span> <span style="color: #a6e22e;">inherit_id=</span><span style="color: #e6db74;">"purchase_requisition.report_purchaserequisitions"</span><span style="color: #f92672;">></span>
<span style="color: #f92672;"><xpath</span> <span style="color: #a6e22e;">expr=</span><span style="color: #e6db74;">"//div[@class='oe_structure'][2]"</span> <span style="color: #a6e22e;">position=</span><span style="color: #e6db74;">"after"</span><span style="color: #f92672;">></span>
<span style="color: #f92672;"><div</span> <span style="color: #a6e22e;">style=</span><span style="color: #e6db74;">"position:absolute;top:850px; page-break-inside: avoid;"</span><span style="color: #f92672;">></span>
<span style="color: #f92672;"><table</span> <span style="color: #a6e22e;">border=</span><span style="color: #e6db74;">"0"</span> <span style="color: #a6e22e;">style=</span><span style="color: #e6db74;">"border-collapse:collapse;color:000000;width:100%"</span> <span style="color: #a6e22e;">cellpadding=</span><span style="color: #e6db74;">"3"</span> <span style="color: #a6e22e;">cellspacing=</span><span style="color: #e6db74;">"3"</span><span style="color: #f92672;">></span>
<span style="color: #f92672;"><tr></span>
<span style="color: #f92672;"><td</span> <span style="color: #a6e22e;">class=</span><span style="color: #e6db74;">"text-center"</span><span style="color: #f92672;">></span>
<span style="color: #f92672;"><strong</span> <span style="color: #a6e22e;">style=</span><span style="color: #e6db74;">"font-size:12px;"</span><span style="color: #f92672;">></span>Responsable<span style="color: #f92672;"></strong></span>
<span style="color: #f92672;"></td></span>
<span style="color: #f92672;"><td</span> <span style="color: #a6e22e;">class=</span><span style="color: #e6db74;">"text-center"</span><span style="color: #f92672;">></span>
<span style="color: #f92672;"><strong</span> <span style="color: #a6e22e;">style=</span><span style="color: #e6db74;">"font-size:12px;"</span><span style="color: #f92672;">></span>Autorizó<span style="color: #f92672;"></strong></span>
<span style="color: #f92672;"></td></span>
<span style="color: #f92672;"></tr></span>
<span style="color: #f92672;"><tr></span>
<span style="color: #f92672;"><td><br/></td></span>
<span style="color: #f92672;"><td><br/></td></span>
<span style="color: #f92672;"></tr></span>
<span style="color: #f92672;"><tr></span>
<span style="color: #f92672;"><td</span> <span style="color: #a6e22e;">class=</span><span style="color: #e6db74;">"text-center"</span><span style="color: #f92672;">></span>________________________<span style="color: #f92672;"></td></span>
<span style="color: #f92672;"><td</span> <span style="color: #a6e22e;">class=</span><span style="color: #e6db74;">"text-center"</span><span style="color: #f92672;">></span>________________________<span style="color: #f92672;"></td></span>
<span style="color: #f92672;"></tr></span>
<span style="color: #f92672;"><tr></span>
<span style="color: #f92672;"><td</span> <span style="color: #a6e22e;">class=</span><span style="color: #e6db74;">"text-center"</span><span style="color: #f92672;">></span>
<span style="color: #f92672;"><strong</span> <span style="color: #a6e22e;">style=</span><span style="color: #e6db74;">"font-size:12px;"</span><span style="color: #f92672;">><span</span> <span style="color: #a6e22e;">t-field=</span><span style="color: #e6db74;">"o.user_id.partner_id"</span><span style="color: #f92672;">/></strong></span>
<span style="color: #f92672;"></td></span>
<span style="color: #f92672;"><td</span> <span style="color: #a6e22e;">class=</span><span style="color: #e6db74;">"text-center"</span><span style="color: #f92672;">></span>
<span style="color: #f92672;"><strong</span> <span style="color: #a6e22e;">style=</span><span style="color: #e6db74;">"font-size:12px;"</span><span style="color: #f92672;">><span</span> <span style="color: #a6e22e;">t-field=</span><span style="color: #e6db74;">"o.user_approved_id.partner_id"</span><span style="color: #f92672;">/></strong></span>
<span style="color: #f92672;"></td></span>
<span style="color: #f92672;"></tr></span>
<span style="color: #f92672;"></table></span>
<span style="color: #f92672;"></div></span>
<span style="color: #f92672;"></xpath></span>
<span style="color: #f92672;"></template></span>
</pre>
</div>
<br />
<div style="text-align: justify;">
En el ejemplo anterior de autorización lo mas importante es mencionar que el campo user_approve_id es un campo añadido por medio de herencia de clases y este valor se ingresa al confirmar una Licitación.</div>
<div style="text-align: justify;">
<br /></div>
El estilo empleado:<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">style="position:absolute;top:850px; page-break-inside: avoid;"
</pre>
</div>
<br />
Tiene como función que las firmas aparezcan al final del documento
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-70722027442120843762020-06-18T01:01:00.001-05:002020-07-08T23:38:20.110-05:00Install OpenJDK 11 Linux - Instalar OpenJDK 11 en Linux<h2 class="heading1" style="background-color: white; border-bottom-color: rgb(207, 202, 202); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #50317b; font-family: "Roboto Condensed", Arial, sans-serif; font-size: 26px; letter-spacing: -0.5px; line-height: 34px; margin: 45px 0px 18px; opacity: 1; outline: 0px; padding: 0px 0px 4px; transition: opacity 0.24s ease-in-out 0s; vertical-align: baseline; visibility: visible;">
Step 1 – Search OpenJDK Packages</h2>
<div style="background-color: white; border: 0px; color: #4a4949; font-family: Verdana, Geneva, sans-serif; font-size: 17px; margin-bottom: 20px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
OpenJDK packages are available under native apt repositories. You can simply use <green style="color: green;">apt-cache search</green> command to search the available java version for your Ubuntu system.</div>
<pre style="background-color: #edf2f7; border-color: rgb(162, 162, 162); border-image: initial; border-style: solid; border-width: 0px 1px 0px 4px; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 15px; line-height: 1.5em; margin-bottom: 24px; margin-top: 24px; outline: 0px; overflow-wrap: break-word; overflow: auto hidden; padding: 12px; vertical-align: baseline;"><dprompt>apt-cache search openjdk
</dprompt></pre>
<div style="background-color: white; border: 0px; color: #4a4949; font-family: Verdana, Geneva, sans-serif; font-size: 17px; margin-bottom: 20px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
As per above output, you can see <green style="color: green;">openjdk-11-*</green> and <green style="color: green;">openjdk-8-*</green> is available in the package manager.</div>
<h2 class="heading1" style="background-color: white; border-bottom-color: rgb(207, 202, 202); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #50317b; font-family: "Roboto Condensed", Arial, sans-serif; font-size: 26px; letter-spacing: -0.5px; line-height: 34px; margin: 45px 0px 18px; opacity: 1; outline: 0px; padding: 0px 0px 4px; transition: opacity 0.24s ease-in-out 0s; vertical-align: baseline; visibility: visible;">
Step 2 – Install JAVA (OpenJDK)</h2>
<div style="background-color: white; border: 0px; color: #4a4949; font-family: Verdana, Geneva, sans-serif; font-size: 17px; margin-bottom: 20px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Use the below command to install OpenJDK on your Debian based systems using the package manager from the default repository. The below commands will install Java Development Kit (JDK) and Java Runtime Environment (JRE) both on your system. You can install JRE package only to setup Runtime Environment only.</div>
<div style="background-color: white; border: 0px; color: #4a4949; font-family: Verdana, Geneva, sans-serif; font-size: 17px; margin-bottom: 20px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
<span style="border: 0px; font-size: 15px; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">OpenJDK 11</span></div>
<pre style="background-color: #edf2f7; border-color: rgb(162, 162, 162); border-image: initial; border-style: solid; border-width: 0px 1px 0px 4px; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 15px; line-height: 1.5em; margin-bottom: 24px; margin-top: 24px; outline: 0px; overflow-wrap: break-word; overflow: auto hidden; padding: 12px; vertical-align: baseline;"><dprompt>sudo apt-get install openjdk-11-jre openjdk-11-jdk
</dprompt></pre>
<div style="background-color: white; border: 0px; color: #4a4949; font-family: Verdana, Geneva, sans-serif; font-size: 17px; margin-bottom: 20px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
<span style="border: 0px; font-size: 15px; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">OpenJDK 8</span></div>
<pre style="background-color: #edf2f7; border-color: rgb(162, 162, 162); border-image: initial; border-style: solid; border-width: 0px 1px 0px 4px; font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 15px; line-height: 1.5em; margin-bottom: 24px; margin-top: 24px; outline: 0px; overflow-wrap: break-word; overflow: auto hidden; padding: 12px; vertical-align: baseline;"><dprompt>sudo apt-get install openjdk-8-jre openjdk-8-jdk</dprompt></pre>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-84335335508165643052020-06-12T17:03:00.003-05:002020-06-12T17:20:14.271-05:00Campos solo lectura en grupos especificos<h2 style="text-align: center;">
Como visualizar campos en solo lectura dependiendo de un grupo de usuarios</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjklnfUj7qFH3WG-ZpxqnsQumqbLD2Am2VgVYMJqtYv-1yqoysPgtn-ddgPvGRmCIS6RYtUCEmCCNKrEV8Vs9DEA8NKOY6-WwYM1Fcat7d2ZjFjBzUraBzBZ3364vgRGLJAdnkJEBO4X7w/s1600/odoo-experience-2015-4-l-280x280.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="280" data-original-width="280" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjklnfUj7qFH3WG-ZpxqnsQumqbLD2Am2VgVYMJqtYv-1yqoysPgtn-ddgPvGRmCIS6RYtUCEmCCNKrEV8Vs9DEA8NKOY6-WwYM1Fcat7d2ZjFjBzUraBzBZ3364vgRGLJAdnkJEBO4X7w/s200/odoo-experience-2015-4-l-280x280.png" width="200" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Lo primero es crear tu grupo:<br />
<br /></div>
<div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"> <span style="color: #204a87; font-weight: bold;"><record</span> <span style="color: #c4a000;">id=</span><span style="color: #4e9a06;">"purchase_fields_readonly"</span> <span style="color: #c4a000;">model=</span><span style="color: #4e9a06;">"res.groups"</span><span style="color: #204a87; font-weight: bold;">></span>
<span style="color: #204a87; font-weight: bold;"><field</span> <span style="color: #c4a000;">name=</span><span style="color: #4e9a06;">"name"</span><span style="color: #204a87; font-weight: bold;">></span>Compras - Campos en solo lectura<span style="color: #204a87; font-weight: bold;"></field></span>
<span style="color: #204a87; font-weight: bold;"></record></span>
</pre>
</div>
<div>
<br />
Posterior heredar tu vista y poner dentro de la vista heredada los grupos que podrán visualizarla:</div>
<div>
<br /></div>
<!-- HTML generated using hilite.me --><br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"> <span style="color: #204a87; font-weight: bold;"><record</span> <span style="color: #c4a000;">model=</span><span style="color: #4e9a06;">"ir.ui.view"</span> <span style="color: #c4a000;">id=</span><span style="color: #4e9a06;">"purchase_fields_readonly"</span><span style="color: #204a87; font-weight: bold;">></span>
<span style="color: #204a87; font-weight: bold;"><field</span> <span style="color: #c4a000;">name=</span><span style="color: #4e9a06;">"name"</span><span style="color: #204a87; font-weight: bold;">></span>purchase.order<span style="color: #204a87; font-weight: bold;"></field></span>
<span style="color: #204a87; font-weight: bold;"><field</span> <span style="color: #c4a000;">name=</span><span style="color: #4e9a06;">"model"</span><span style="color: #204a87; font-weight: bold;">></span>purchase.order<span style="color: #204a87; font-weight: bold;"></field></span>
<span style="color: #204a87; font-weight: bold;"><field</span> <span style="color: #c4a000;">name=</span><span style="color: #4e9a06;">"inherit_id"</span> <span style="color: #c4a000;">ref=</span><span style="color: #4e9a06;">"purchase.purchase_order_form"</span><span style="color: #204a87; font-weight: bold;">/></span>
<span style="color: #204a87; font-weight: bold;"><field</span> <span style="color: #c4a000;">name=</span><span style="color: #4e9a06;">"groups_id"</span> <span style="color: #c4a000;">eval=</span><span style="color: #4e9a06;">"[(6, 0, [ref('purchase_readonly_fields.purchase_fields_readonly') ])]"</span> <span style="color: #204a87; font-weight: bold;">/></span>
<span style="color: #204a87; font-weight: bold;"><field</span> <span style="color: #c4a000;">name=</span><span style="color: #4e9a06;">"arch"</span> <span style="color: #c4a000;">type=</span><span style="color: #4e9a06;">"xml"</span><span style="color: #204a87; font-weight: bold;">></span>
<span style="color: #204a87; font-weight: bold;"><xpath</span> <span style="color: #c4a000;">expr=</span><span style="color: #4e9a06;">"//field[@name='order_line']/tree/field[@name='date_planned']"</span> <span style="color: #c4a000;">position=</span><span style="color: #4e9a06;">"attributes"</span><span style="color: #204a87; font-weight: bold;">></span>
<span style="color: #204a87; font-weight: bold;"><attribute</span> <span style="color: #c4a000;">name=</span><span style="color: #4e9a06;">"context"</span><span style="color: #204a87; font-weight: bold;">></span>{'readonly_by_pass': True}<span style="color: #204a87; font-weight: bold;"></attribute></span>
<span style="color: #204a87; font-weight: bold;"><attribute</span> <span style="color: #c4a000;">name=</span><span style="color: #4e9a06;">"readonly"</span><span style="color: #204a87; font-weight: bold;">></span>1<span style="color: #204a87; font-weight: bold;"></attribute></span>
<span style="color: #204a87; font-weight: bold;"><attribute</span> <span style="color: #c4a000;">name=</span><span style="color: #4e9a06;">"required"</span><span style="color: #204a87; font-weight: bold;">></span>False<span style="color: #204a87; font-weight: bold;"></attribute></span>
<span style="color: #204a87; font-weight: bold;"></xpath></span>
<span style="color: #204a87; font-weight: bold;"></field></span>
<span style="color: #204a87; font-weight: bold;"></record></span>
</pre>
</div>
<div>
<br />
Del resto se encarga Odoo al renderizar las vistas por usuario y los permisos de acceso a determinadas vistas.</div>
</div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-15774198636701089052020-06-06T02:04:00.001-05:002020-06-10T12:36:11.374-05:00Mineria del archivo log de Odoo<h2 style="text-align: center;">
Comando para obtener información del archivo de registro (log)</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWSSB_pXPgsrva_26PelSV7xVoFto5LunwZh-JDNyZl1jo_N5d_IjndmT8z77V9-wDW3-FZdh_qUsXmfrfCzhGvFCrdUQSZ8Fu-gQ3XcQbrsxGSUyV25Gp05P9VrHICksaNKUN1PHvy38/s1600/images.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="204" data-original-width="204" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWSSB_pXPgsrva_26PelSV7xVoFto5LunwZh-JDNyZl1jo_N5d_IjndmT8z77V9-wDW3-FZdh_qUsXmfrfCzhGvFCrdUQSZ8Fu-gQ3XcQbrsxGSUyV25Gp05P9VrHICksaNKUN1PHvy38/s200/images.png" width="200" /></a></div>
<div>
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Alguna ves te has visto en la necesitad de saber quien elimino ciertos registros de una tabla en el sistema Odoo, esto no lo podemos conocer en una base de datos de postgres o no sin tener los conocimientos avanzados que nos permitan realizar una consulta o una configuración dentro del gestor de base de datos ya que Odoo no guarda esa información dentro del sistema, una opción muy facil es utilizar nuestro archivo log, para ello podemos utilizar el siguiente comando:</div>
<div style="text-align: justify;">
<br /></div>
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #202020; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #d0d0d0;">find</span> <span style="color: #d0d0d0;">/var/log/odoo/odoo-server.log</span> <span style="color: #d0d0d0;">-</span><span style="color: #6ab825; font-weight: bold;">exec</span> <span style="color: #d0d0d0;">grep</span> <span style="color: #ed9d13;">'deleted mail.message'</span> <span style="color: #ed9d13;">'{}'</span> <span style="color: #d0d0d0;">+</span>
</pre>
</div>
<br />
<br />
Lo mas importante dentro del comando es el mensaje que queremos buscar dentro de nuestro archivo log, por ejemplo quien elimino los registros de la tabla de mensajería, esto al final arrojara tanta información de acuerdo al tamaño de nuestra base de datos, podemos minimizar los registros añadiendo mas filtros a la búsqueda como por ejemplo un periodo de x a y fechas:<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-50191976776584465872020-06-05T12:00:00.001-05:002022-10-11T10:51:30.457-05:00Separar parte numérica de una secuencia establecida<h2 style="text-align: center;">
<b>Separar la parte numérica y cadena en un valor de secuencia</b></h2>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEpae-LUTmnD0qMXOBZiu-DtO2f0SutWO0VDLEsHDVlgzpwyjkLhJb7GvmfcTHrCYrEFHBjFR3_rs6smNhW-bEVw3U86a5qG5brrwVieF3gqEncPOkYmi-7d5pasgCxXNBGa8eaoyTfRU/s1600/61SA0Wq1P1L.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="512" data-original-width="512" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEpae-LUTmnD0qMXOBZiu-DtO2f0SutWO0VDLEsHDVlgzpwyjkLhJb7GvmfcTHrCYrEFHBjFR3_rs6smNhW-bEVw3U86a5qG5brrwVieF3gqEncPOkYmi-7d5pasgCxXNBGa8eaoyTfRU/s200/61SA0Wq1P1L.png" width="200" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: justify;">
El titulo suena un poco extraño lo se, pero la idea principal es tratar de separar la parte numerica dentro de una secuencia o una cadena de caracteres, esto lo tuve que realizar para una modificación dentro de Odoo para obtener el folio y la secuencia, para lograrlo solo utilize una expresión regular que espero les pueda servir:</div>
<div style="text-align: center;">
<br /></div>
<br />
<br />
<!--HTML generated using hilite.me--><br />
<div style="background: rgb(32, 32, 32); border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0px;"> <span style="color: #999999; font-style: italic;">#### Division Caracteres y Enteros ####</span>
<span style="color: #6ab825; font-weight: bold;">import</span> <span style="color: #447fcf; text-decoration: underline;">re</span>
<span style="color: #d0d0d0;">folio_invoice</span> <span style="color: #d0d0d0;">=</span> <span style="color: #ed9d13;">'FAC04445'</span>
<span style="color: #d0d0d0;">expresion_re</span> <span style="color: #d0d0d0;">=</span> <span style="color: #d0d0d0;">re.compile(</span><span style="color: #ed9d13;">"([a-zA-Z]+)([0-9]+)"</span><span style="color: #d0d0d0;">)</span>
<span style="color: #d0d0d0;">m_re</span> <span style="color: #d0d0d0;">=</span> <span style="color: #d0d0d0;">expresion_re.match(folio_invoice)</span>
<span style="color: #d0d0d0;">group_1</span> <span style="color: #d0d0d0;">=</span> <span style="color: #d0d0d0;">m_re.group(</span><span style="color: #3677a9;">1</span><span style="color: #d0d0d0;">)</span>
<span style="color: #d0d0d0;">group_2</span> <span style="color: #d0d0d0;">=</span> <span style="color: #d0d0d0;">m_re.group(</span><span style="color: #3677a9;">2</span><span style="color: #d0d0d0;">)</span>
</pre>
</div>
<br /><div><br /></div><div><br /><h2 style="text-align: left;">Alternativa:</h2><div><br /></div><div><pre class="language-python" style="background: rgb(252, 252, 252); border-radius: 3px; border: 1px solid rgb(231, 231, 231); box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 14px; hyphens: none; line-height: 1.5; margin-bottom: 25px; margin-top: 15px; overflow-wrap: normal; overflow: auto; padding: 8px 1em; position: relative; tab-size: 4; text-shadow: rgb(255, 255, 255) 0px 1px; word-break: normal;"><code class="language-python" style="background: 0px 0px; border-radius: 0px; box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0px; tab-size: 4; text-shadow: rgb(255, 255, 255) 0px 1px; word-break: normal; word-spacing: normal;">temp_string <span class="token operator" style="background: rgba(255, 255, 255, 0.5); box-sizing: border-box; color: #a67f59;">=</span> <span class="token string" style="box-sizing: border-box; color: #669900;">"Hi my age is 32 years and 250 days12"</span>
<span class="token keyword" style="box-sizing: border-box; color: #0077aa;">print</span><span class="token punctuation" style="box-sizing: border-box; color: #999999;">(</span>temp_string<span class="token punctuation" style="box-sizing: border-box; color: #999999;">)</span>
numbers <span class="token operator" style="background: rgba(255, 255, 255, 0.5); box-sizing: border-box; color: #a67f59;">=</span> <span class="token punctuation" style="box-sizing: border-box; color: #999999;">[</span>int<span class="token punctuation" style="box-sizing: border-box; color: #999999;">(</span>temp<span class="token punctuation" style="box-sizing: border-box; color: #999999;">)</span><span class="token keyword" style="box-sizing: border-box; color: #0077aa;">for</span> temp <span class="token keyword" style="box-sizing: border-box; color: #0077aa;">in</span> temp_string<span class="token punctuation" style="box-sizing: border-box; color: #999999;">.</span>split<span class="token punctuation" style="box-sizing: border-box; color: #999999;">(</span><span class="token punctuation" style="box-sizing: border-box; color: #999999;">)</span> <span class="token keyword" style="box-sizing: border-box; color: #0077aa;">if</span> temp<span class="token punctuation" style="box-sizing: border-box; color: #999999;">.</span>isdigit<span class="token punctuation" style="box-sizing: border-box; color: #999999;">(</span><span class="token punctuation" style="box-sizing: border-box; color: #999999;">)</span><span class="token punctuation" style="box-sizing: border-box; color: #999999;">]</span>
<span class="token keyword" style="box-sizing: border-box; color: #0077aa;">print</span><span class="token punctuation" style="box-sizing: border-box; color: #999999;">(</span>numbers<span class="token punctuation" style="box-sizing: border-box; color: #999999;">)</span>
</code></pre><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 18px; margin: 0px 0px 10px;">Resultado:</p><pre class="language-text" style="background: rgb(252, 252, 252); border-radius: 3px; border: 1px solid rgb(231, 231, 231); box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 14px; hyphens: none; line-height: 1.5; margin-bottom: 25px; margin-top: 15px; overflow-wrap: normal; overflow: auto; padding: 8px 1em; position: relative; tab-size: 4; text-shadow: rgb(255, 255, 255) 0px 1px; word-break: normal;"><code class="language-text" style="background: 0px 0px; border-radius: 0px; box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0px; tab-size: 4; text-shadow: rgb(255, 255, 255) 0px 1px; word-break: normal; word-spacing: normal;">Hi my age is 32 years and 250 days12
[32, 250]</code></pre></div></div>
<br /><h2 style="text-align: left;">
Mi función Final:</h2><div>
<br />
<!--HTML generated using hilite.me--><div style="background: rgb(39, 40, 34); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: #66d9ef;">def</span> <span style="color: #a6e22e;">get_split_integer_part</span><span style="color: #f8f8f2;">(</span> <span style="color: #f8f8f2;">cadena):</span>
<span style="color: #f8f8f2;">cadena</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">cadena</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">replace(</span><span style="color: #e6db74;">'-'</span><span style="color: #f8f8f2;">,</span><span style="color: #e6db74;">' '</span><span style="color: #f8f8f2;">)</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">replace(</span><span style="color: #e6db74;">'/'</span><span style="color: #f8f8f2;">,</span><span style="color: #e6db74;">' '</span><span style="color: #f8f8f2;">)</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">replace(</span><span style="color: #e6db74;">'_'</span><span style="color: #f8f8f2;">,</span><span style="color: #e6db74;">' '</span><span style="color: #f8f8f2;">)</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">replace(</span><span style="color: #e6db74;">'*'</span><span style="color: #f8f8f2;">,</span><span style="color: #e6db74;">' '</span><span style="color: #f8f8f2;">)</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">replace(</span><span style="color: #e6db74;">'+'</span><span style="color: #f8f8f2;">,</span><span style="color: #e6db74;">' '</span><span style="color: #f8f8f2;">)</span>
<span style="color: #f8f8f2;">numbers</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">[int(temp)</span><span style="color: #66d9ef;">for</span> <span style="color: #f8f8f2;">temp</span> <span style="color: #f92672;">in</span> <span style="color: #f8f8f2;">cadena</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">split()</span> <span style="color: #66d9ef;">if</span> <span style="color: #f8f8f2;">temp</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">isdigit()]</span>
<span style="color: #66d9ef;">if</span> <span style="color: #f92672;">not</span> <span style="color: #f8f8f2;">numbers:</span>
<span style="color: #f8f8f2;">expresion_re</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">re</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">compile(</span><span style="color: #e6db74;">"([a-zA-Z]+)([0-9]+)"</span><span style="color: #f8f8f2;">)</span>
<span style="color: #f8f8f2;">m_re</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">expresion_re</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">match(cadena)</span>
<span style="color: #66d9ef;">try</span><span style="color: #f8f8f2;">:</span>
<span style="color: #f8f8f2;">group_1</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">m_re</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">group(</span><span style="color: #ae81ff;">1</span><span style="color: #f8f8f2;">)</span>
<span style="color: #f8f8f2;">group_2</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">m_re</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">group(</span><span style="color: #ae81ff;">2</span><span style="color: #f8f8f2;">)</span>
<span style="color: #f8f8f2;">numbers</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">[group_2]</span>
<span style="color: #66d9ef;">except</span><span style="color: #f8f8f2;">:</span>
<span style="color: #f8f8f2;">expresion_re</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">re</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">compile(</span><span style="color: #e6db74;">"([0-9]+)([a-zA-Z]+)"</span><span style="color: #f8f8f2;">)</span>
<span style="color: #f8f8f2;">m_re</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">expresion_re</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">match(cadena)</span>
<span style="color: #66d9ef;">try</span><span style="color: #f8f8f2;">:</span>
<span style="color: #f8f8f2;">group_1</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">m_re</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">group(</span><span style="color: #ae81ff;">1</span><span style="color: #f8f8f2;">)</span>
<span style="color: #f8f8f2;">group_2</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">m_re</span><span style="color: #f92672;">.</span><span style="color: #f8f8f2;">group(</span><span style="color: #ae81ff;">2</span><span style="color: #f8f8f2;">)</span>
<span style="color: #f8f8f2;">numbers</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">[group_1]</span>
<span style="color: #66d9ef;">except</span><span style="color: #f8f8f2;">:</span>
<span style="color: #f8f8f2;">numbers</span> <span style="color: #f92672;">=</span> <span style="color: #f8f8f2;">[]</span>
<span style="color: #66d9ef;">if</span> <span style="color: #f92672;">not</span> <span style="color: #f8f8f2;">numbers:</span>
<span style="color: #66d9ef;">return</span> <span style="color: #f8f8f2;">[</span><span style="color: #ae81ff;">0</span><span style="color: #f8f8f2;">]</span>
<span style="color: #66d9ef;">return</span> <span style="color: #f8f8f2;">numbers</span>
</pre></div>
</div>German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0tag:blogger.com,1999:blog-5186791135600544921.post-50170291792871300532020-06-04T01:10:00.001-05:002020-06-06T01:48:59.486-05:00Validar un rango de fechas en Odoo por medio de atributos en la vistas<h2 style="text-align: center;">
Restricción en periodo de fechas</h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHGSUVnnnJXgV8unSaVh1oGQtfbmHhayZvwYeiVzwzORkldpmisFcqu12PuzCUhFlMotmbLAm-7rDrFfyoNF_o7mkGebMFob-tiuiFSkFsa70-a7iTOCiNmrA5y6da2SIC2avQnKntGCI/s1600/Captura+de+pantalla+de+2020-06-04+00-54-28.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="286" data-original-width="560" height="163" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHGSUVnnnJXgV8unSaVh1oGQtfbmHhayZvwYeiVzwzORkldpmisFcqu12PuzCUhFlMotmbLAm-7rDrFfyoNF_o7mkGebMFob-tiuiFSkFsa70-a7iTOCiNmrA5y6da2SIC2avQnKntGCI/s320/Captura+de+pantalla+de+2020-06-04+00-54-28.png" width="320" /></a></div>
<div style="text-align: center;">
<br /></div>
<br />
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Dentro de Odoo muchas veces requerimos tener un asistente que nos obtenga información dentro de un periodo establecido por el usuario o para determinar la validez de un documento dentro del mismo periodo. Al realizar este tipo de modificaciones o asistentes muchas veces descartamos o llegamos a ignorar la validación del periodo que el usuario introduce que en ocasiones puede ser un Bug que no permita la funcionalidad correcta al buscar información, una solución simple seria añadir un constraint para que por medio de python validaríamos la información pero dentro de las mismas vistas podemos determinar esta validación sin programar nada adicional.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
La sintaxis es la siguiente:</div>
<div style="text-align: justify;">
<br /></div>
<pre style="background: rgb(33, 39, 43); border-radius: 4px; border: none; box-sizing: border-box; color: #dcddde; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 0.8em; font-weight: 600; line-height: 1.42857; max-width: 100%; overflow-wrap: break-word; overflow: auto; padding: 10.5px; position: relative; word-break: break-all;"><span class="nt" style="box-sizing: border-box; color: #21b799;"><field</span> <span class="na" style="box-sizing: border-box; color: #06b6ef;">name=</span><span class="s" style="box-sizing: border-box; color: #48b685;">"start_date"</span> <span class="na" style="box-sizing: border-box; color: #06b6ef;">widget=</span><span class="s" style="box-sizing: border-box; color: #48b685;">"daterange"</span> <span class="na" style="box-sizing: border-box; color: #06b6ef;">options=</span><span class="s" style="box-sizing: border-box; color: #48b685;">'{"related_end_date": "end_date"}'</span><span class="nt" style="box-sizing: border-box; color: #21b799;">/></span></pre>
<br />
<br />
El parámetro o campo <span style="background-color: #21272b; color: #48b685; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace; font-size: 0.8em; font-weight: 600;">start_date</span> hace referencia a nuestra fecha inicial y para la fecha final tenemos <span style="background-color: #21272b; color: #48b685; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace; font-size: 0.8em; font-weight: 600;">end_date</span>
<br />
<br />
<br />
Para realizar la validacion basta con añadir las opciones que podemos visualizar en la sintaxis:<br />
<br />
<pre style="background: rgb(33, 39, 43); border-radius: 4px; border: none; box-sizing: border-box; color: #dcddde; font-family: menlo, monaco, consolas, "courier new", monospace; font-size: 0.8em; font-weight: 600; line-height: 1.42857; max-width: 100%; overflow-wrap: break-word; overflow: auto; padding: 10.5px; position: relative; word-break: break-all;"><span class="na" style="box-sizing: border-box; color: #06b6ef;">options=</span><span class="s" style="box-sizing: border-box; color: #48b685;">'{"related_end_date": "end_date"}'</span></pre>
<br />
Recordemos que start_date y end_date son los nombres con los cuales generamos los campos en Odoo, pero no es obligatorio que se llamen exactamente como en el ejemplo.German Poncehttp://www.blogger.com/profile/13226479965817207389noreply@blogger.com0