This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<record id="select_training_participant_view_form" model="ir.ui.view"> | |
<field name="name">Select Training Participant</field> | |
<field name="model">hr.select_training_participant</field> | |
<field name="arch" type="xml"> | |
<form> | |
<group name="group_1" colspan="4" col="2" string="Select Employees"> | |
<field name="employee_ids" nolabel="1" colspan="4"/> | |
</group> | |
<footer> | |
<button string="Select" name="action_select_participant" type="object" class="oe_highlight" confirm="Select participant. Are you sure?"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<record id="select_training_participant_action" model="ir.actions.act_window"> | |
<field name="name">Select Participant</field> | |
<field name="res_model">hr.select_training_participant</field> | |
<field name="view_type">form</field> | |
<field name="view_mode">form</field> | |
<field name="view_id" ref="select_training_participant_view_form"/> | |
<field name="target">new</field> | |
</record> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<record id="hr_training_view_form" model="ir.ui.view"> | |
<field name="name">hr.training form</field> | |
<field name="model">hr.training</field> | |
<field name="mode">primary</field> | |
<field name="arch" type="xml"> | |
<form> | |
<header> | |
<button name="button_confirm" string="Confirm" class="oe_highlight" type="object" attrs="{'invisible':['|',('state','!=','draft'),('confirm_ok','=',False)]}" confirm="Confirm training. Are you sure?"/> | |
<button name="%(select_training_participant_action)d" string="Select Participant" type="action" states="draft,start"/> | |
<button name="%(accomplish_participant_action)d" string="Accomplish Participants" type="action" states="start"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
sys.path.append("/home/andhit_r/odoo8/odoo") | |
import openerp | |
DB_NAME="vertical-manufacture" | |
ODOO_CONF="/home/andhit_r/.dotfiles/.oe8.conf" | |
UID=openerp.SUPERUSER_ID | |
openerp.tools.config.parse_config(["--config=%s" % ODOO_CONF]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[options] | |
; This is the password that allows database operations: | |
admin_passwd = <password admin *default:admin> | |
db_host = False | |
db_port = False | |
db_user = odoo | |
db_password = <password database admin> | |
addons_path = /opt/odoo/odoo/addons |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#starting of file | |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: openerp-server | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Should-Start: $network | |
# Should-Stop: $network | |
# Default-Start: 2 3 4 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head><title>Contoh Koneksi Mesin Absensi Mengunakan SOAP Web Service</title></head> | |
<body bgcolor="#caffcb"> | |
<H3>Download Log Data</H3> | |
<? | |
$IP=$HTTP_GET_VARS["ip"]; | |
$Key=$HTTP_GET_VARS["key"]; | |
if($IP=="") $IP="192.168.1.201"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.2 | |
env: | |
variables: | |
VERSION: "12.0" | |
TESTS: "1" | |
LINT_CHECK: "0" | |
TRANSIFEX: "0" | |
ODOO_REPO: "open-synergy/odoo" | |
CODECOV_TOKEN: "4e8aa9fe-b463-4f7d-8a4a-91d382989c06" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.2 | |
env: | |
variables: | |
VERSION: "12.0" | |
TESTS: "0" | |
LINT_CHECK: "1" | |
TRANSIFEX: "0" | |
ODOO_REPO: "open-synergy/odoo" | |
phases: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Copyright 2020 OpenSynergy Indonesia | |
# Copyright 2020 PT. Simetri Sinergi Indonesia | |
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | |
from openerp import models, fields, api | |
class LatihanQtyUom(models.Model): | |
_name = "latihan.qty_uom" |
OlderNewer