Skip to content

Instantly share code, notes, and snippets.

View mahmudamen's full-sized avatar
💭
I may be slow to respond.

MAHMOUD MOHAMED AMEN mahmudamen

💭
I may be slow to respond.
  • new aswan
  • Egypt
View GitHub Profile
@mahmudamen
mahmudamen / cron.xml
Created June 11, 2023 21:02 — forked from 3mrdev/cron.xml
How to make a cron job in Odoo? (Recurrent Background Service)
<odoo>
<data noupdate="0">
<record id="cron_id" forcecreate='True' model="ir.cron">
<field name="name">Cron Name</field>
<field eval="True" name="active"/>
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">5</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field name="model_id" ref="model_your_model_name"/>
@mahmudamen
mahmudamen / add_fields_signup.xml
Created June 11, 2023 21:02 — forked from 3mrdev/add_fields_signup.xml
How to add more fields to the sign up page in Odoo?
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Inherit Form View to Modify it -->
<record id="kod_res_partner_inherit" model="ir.ui.view">
<field name="name">kod.res.partner.form.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
@mahmudamen
mahmudamen / component.js
Created June 11, 2023 20:59 — forked from 3mrdev/component.js
Odoo OWL Component Example + Owl Component Inheritance (Patching Owl Components)
odoo.define('my.component', function (require) {
"use strict";
const { Component, useState } = owl;
const { xml } = owl.tags;
const { patch } = require('web.utils');
// import { patch } from "@web/core/utils/patch";
class MyComponent extends Component {
@mahmudamen
mahmudamen / README-Template.md
Created May 22, 2018 20:17 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@mahmudamen
mahmudamen / AndroidManifest.xml
Created February 9, 2018 23:47 — forked from vikrum/AndroidManifest.xml
Firebase+Android sample app with background Service + local notifications.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.bgfirebaseapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="17" />