Blog

.info.yml file

name: Hello World Module<br />
description: Creates a page showing &quot;Hello World&quot;.<br />
package: Custom<br />
type: module<br />
version: 1.0<br />
core: 8.x

 

 

 

$ php core/scripts/password-hash.sh 'your-new-pass-here'

password: your-new-pass-here    hash: $S$EV4QAYSIc9XNZD9GMNDwMpMJXPJzz1J2dkSH6KIGiAVXvREBy.9E

 

UPDATE users_field_data SET pass='$S$E5j59pCS9kjQ8P/...
  1. En linea de comandos, ir a la carpeta del modulo
  2. # npm init
    Will create package.json file.
  3. # npm install grunt --save-dev
    Will create node_modules folder
  4. Add to .gitignore:
    > .node_modules
  5. # npm install grunt-contrib-watch --save-dev
  6. # npm install grunt-contrib-concat --save-dev
  7. # npm install grunt-contrib-jshint --save-dev
  8. Grunt file:

    module.exports = function (grunt) {
      "use strict";

      // Config...
      grunt.initConfig({
        pkg:

  9. ...
 
Example:
 
$form['my_new_field_name'] = array (
      '#type' => 'textfield',
      '#title' => t ('My new field is before the others'),
      '#weight' => 99,
      '#element_validate' => array('element_validate_integer_positive'), 
    );
 
 ...
<?php
function pool_dashboard_form_alter(&$form, &$form_state, $form_id) {
  if (
$form_id==
...

http://www.theopensourcerer.com/2014/09/how-to-install-openerp-odoo-8-on...

 

Configuracion: /etc/odoo-server.conf

Configuracion recomendada:

db_host = localhost
db_port = 5432
db_user = odoo
db_password = <password>
addons_path = /opt/odoo/addons
logfile = /var/log/odoo/odoo-server.log

 

<code>Addons: /opt/odoo/addons

Log: /var/log/odoo/odoo-server.log...

box-sizing: border-box;

webkit-box-sizing: border-box;

Aliquam erat volutpat. Maecenas leo eros, varius non nulla eget, fermentum scelerisque velit. Praesent et molestie purus. Quisque eget justo vel lectus tincidunt ultrices a eget dolor. Cras rutrum, purus nec luctus aliquet, velit purus mattis nulla, eget mattis risus magna sed velit. Nunc fermentum ipsum eros, at porta velit condimentum quis. Etiam dictum faucibus iaculis.

Vivamus pulvinar feugiat nulla. Suspendisse ut felis odio. Duis congue vehicula elementum. Quisque sed mollis justo. Suspendisse sed sem et enim viverra viverra sit amet quis ante. Quisque euismod sit amet tortor...

En settings.php:

 
<?php
error_reporting
(E_ALL);
ini_set('display_errors', TRUE);
ini_set
...

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam id fermentum nulla, sit amet posuere purus. Curabitur lectus elit, viverra eget diam ac, consectetur posuere dolor. Nam dolor neque, tempus in malesuada quis, varius in justo. Proin id varius nulla, ut elementum dolor. Praesent a est vulputate, ultrices lectus vitae, ornare ante. Curabitur dapibus euismod nunc, ut gravida nisi tempor non. Sed eget elit lorem. Nulla dictum nibh non pellentesque volutpat. Curabitur lacinia lectus nec massa tincidunt, et commodo justo pretium.

Aliquam erat volutpat. Maecenas

...

Páginas