Contact Us  +1 (650) 307-6736 +32 81813700

Community News


L’événement OpenERP de l’année au Canada

ShareThis !
May 14, 2013 3:44 AM
Savoir Faire Linux

Logo OpenERPSavoir-faire Linux co-organise l’événement OpenERP de l’année au Canada. Cette demi-journée de conférence consacrée au progiciel de gestion intégré distribué sous licence libre OpenERP se déroulera en anglais, à Montréal, le 5 juin prochain. C’est une opportunité unique de réseautage et d’apprentissage, tant pour les intégrateurs intéressés par cette solution que pour ses clients actuels ou potentiels, qui pourront ainsi mieux comprendre le fonctionnement d’un écosystème complet de développement et de soutien technique en mode ouvert.

Savoir-faire Linux a lancé le OpenERP Meetup Montréal l’an dernier. C’est l’un des partenaires canadiens les plus actifs de cet éditeur et son seul partenaire de formation (voir Training Centers) au Canada. Les consultants de Savoir-faire Linux livreront d’ailleurs la moitié des présentations de la conférence. Au programme : découverte du modèle d’affaires d’OpenERP s.a., de son programme de partenariat, démonstration de la dernière version du progiciel et études de cas.

Venez découvrir les avantages d’un modèle d’affaires fondé sur l’ouverture, la collaboration, la mutualisation des efforts et des gains :

Programme détaillé et inscription gratuite sur Eventbrite


Protected: Installing your Custom Pentaho Report file into OpenERP’s v7 interface

ShareThis !
May 10, 2013 3:50 PM
Knowledgement

There is no excerpt because this is a protected post.

Protected: Using Pentaho Report Designer to Create Reports for OpenERP v7

ShareThis !
May 09, 2013 5:06 PM
Knowledgement

There is no excerpt because this is a protected post.

Setting up Pentaho Report Designer for OpenERP v7 on your Windows Computer

ShareThis !
May 09, 2013 4:53 PM
Knowledgement

In order to generate reports from OpenERP v7 you need to have Pentaho Report Designer downloaded from Pentaho’s website and unzipped on your computer. The package is a binary package which doesn’t need installation on your computer and hence you can run it from the folder where you unzipped it. Here are the steps that [...]

OpenERP – Counties of Ireland and States of India List to Upload

ShareThis !
May 05, 2013 3:52 PM
Knowledgement

OpenERP keeps a list of all the states for a country. In earlier versions this list used to be only restricted to United States but this can and should be expanded to have the states of all the countries. To start with Ireland counties are not there in the database and in order to create [...]

Seminar giới thiệu OpenERP

ShareThis !
April 11, 2013 12:19 PM
OpenERP Vietnam

Chào mọi người,

Hôm seminar giới thiệu OpenERP (16/03/2013) tại trường Đại Học Quốc Tế thuộc Đại Học Quốc Gia HCM do cộng đồng OpenERP Việt Nam (terp.vn, openerpvietnam.org) tổ chức, đã chụp lại rất nhiều hình ảnh của các thành viên. Hôm nay mình đưa lên đây để mọi người xem chung nhé. Hôm đó ai tham gia thì vào nhận hàng hen :)

Poster

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

[IMG]

Xin cảm ơn trường các thầy cô trường Đại Học Quốc Tế đã tạo điều kiện cho chúng tôi tổ chức buổi seminar này.

Xin cảm ơn bạn Đức Minh Trần, twinlady_1612, anlh, quanvm, openerpvietnam, chblien, Lê Trường Thanh, Giang, mrkhuongcc, loanloan, haynguyen, xuanlap … vì những sự đóng góp và chia sẻ kinh nghiệm của các bạn.

Cảm ơn các bạn đã tham gia buổi seminar, cảm ơn những nhận xét, đóng góp ý kiến rất thực, rất chân tình và hữu ích từ các bạn; chúng mình sẽ cố gắng khắc phục các khuyết điểm để có những buổi seminar sau này ngày càng hay hơn, hữu ích và hấp dẫn nhiều hơn nữa.

Một lần nữa, cảm ơn các bạn đã đóng góp để buổi seminar thành công tốt đẹp :D

Vì hình ảnh quá nhiều, nên các bạn có thể xem thêm tại facebook của diễn đàn mình nhé! (http://www.facebook.com/openerp.vietnam.7)


WebServices – XML​​-RPC

ShareThis !
April 10, 2013 12:52 PM
OpenERP Vietnam

WebServices – XML​​-RPC

Bạn có thể truy xuất OpenERP thông qua XML-RPC; thư viện để dùng XML-RPC đều có trong các ngôn ngữ lập trình.

Ví dụ Python :

[IMG]

 

Ví dụ PHP:

[IMG]

(Ghi rõ nguồn gốc khi bạn copy, trích dẫn từ terp.vn)


[Video] Import data directly into PostgreSQL – Python Script

ShareThis !
April 10, 2013 12:49 PM
OpenERP Vietnam

httpv://www.youtube.com/watch?feature=player_embedded&v=tWFZWw3uY4k


Cài đặt, cấu hình Eclipse để lập trình OpenERP 7 trên Windows 7

ShareThis !
April 10, 2013 12:45 PM
OpenERP Vietnam

[IMG]

    • Nhấn Next

[IMG]

    • Nhập tên project vào ô Project name
    • Lúc chọn Project contents, bỏ dấu check Use default, chọn thư mục OpenERP 7.0 source mà bạn đã giải nén ra, trong trường hợp này là C:/source/openerp7 /thư mục bạn đã giải nén/
    • Chọn Grammar Version phù hợp với bản Python bạn đã cài
    • Chọn Interpreter
      • Nếu bạn đã cấu hình Python Interpreter thì chọn cái bạn đã cấu hình
      • Còn nếu chưa thì: Nhấn vào: Click here to configure interpreter not listed.

[IMG]

      • Nhấn vào nút New, dẫn tới nơi Python được cài đặt.

[IMG]

      • Nhấn Ok, sau đó nhấn Finish trong hộp thoại tiếp theo.

[IMG]

    • Sửa tên file openerp-server thành openerp-server.py
    • Copy file openerp-server.conf trong thư mục install (ở trong cùng thư mục với file openerp-server), để ra cùng với openerp-server.py
    • Mở file openerp-server.conf ra, sửa nội dung lại như sau:
      • [CODE=python][options]
        ; This is the password that allows database operations:
        ; admin_passwd = admin
        db_host = localhost
        db_port = 5432 # cổng kết nối với PostgreSQL
        db_user = openerp # username của role mới tạo trong PostgreSQL
        db_password = openerp123 # password của role[/CODE]
    • Chạy file openerp-server.py

[IMG]

    • Mở trình duyệt web, gõ vào địa chỉ: localhost:8069, là được như hình sau:

[IMG]

  • Bước 4: Cài đặt cơ sở dữ liệu mới, hoàn thành :)

Thân chào!


Tìm hiểu sequence trong OpenERP

ShareThis !
April 10, 2013 12:41 PM
OpenERP Vietnam

Trong bài viết này, chúng ta sẽ tìm hiểu cách cấu hình và thiết lập Sequence trong OpenERP.

Vào thiết lập Sequence Codes (Setting – Sequences & Identifiers – Sequence Codes)

  • Field name (dùng lựa chọn cho field code khi thiết lập Sequence)
  • Field code (dùng áp dụng trong đoạn code thuộc object mà ta cần sinh mã tự động)
    • Vào thiết lập Sequence (Setting – Sequences & Identifiers – Sequences)
  • Field Prefix (Trước số thứ tự) và field Suffix (Sau số thứ tự) như chỉ dẫn của màn hình:
    • Current Year with Century: %(year)s
    • Current Year without Century: %(y)s
    • Month: %(month)s
    • Day: %(day)s
    • Day of the Year: %(doy)s
    • Week of the Year: %(woy)s
    • Day of the Week (0:Monday): %(weekday)s
    • Hour 00->24: %(h24)s
    • Hour 00->12: %(h12)s
    • Minute: %(min)s
    • Second: %(sec)s
  • Field Number Padding : chính là số kí tự sẽ xuất hiện (ví dụ 3 thì số thứ tự của ta sẽ là 001)
  • Field Increment Number : là phần khoảng cách của 2 số thứ tự (ví dụ 2 thì sau số 001 sẽ là 003)
  • Field Next Number : số thứ tự sinh tự động kế tiếp.
  • Field Implementation : sẽ có 2 giá trị cho ta lựa chọn,
    • Standard : ta không thấy được số thứ tự tiếp theo Next Number khi sinh mã (dùng hàm sinh số tự động nextval() trong Postgresql http://www.postgresql.org/docs/8.1/static/functions-sequence.html)
    • No gap : hiển thị số thứ tự tiếp theo khi phát sinh, số thứ tự kế tiếp khi sinh mã là số này.
  • Field Code : Chọn tên Sequence Codes mà bạn đã thiết lập bên trên.
    • Sau khi thiết lập xong tại Object cần sinh mã tự động, các bạn sẽ dùng self.pool.get(‘ir.sequence’).get(cr, uid, ‘d_a_o’) (trong đó ‘d_a_o’ là field code đã tạo khi thiết lập Sequence Codes bên trên) và dùng hàm create hoặc gán default cho để sinh mã tự động cho field thuộc object mà ta cần sinh mã.

Thân chào!


Cấu hình định mức nguyên vật liệu (BoM) trong OpenERP

ShareThis !
April 10, 2013 12:33 PM
OpenERP Vietnam

Trong bài viết này, chúng ta sẽ tìm hiểu cách thông tin, và cách cấu hình, thiết lập định mức nguyên vật liệu (Bill of Material) trong OpenERP.

Màn hình biểu mẫu của BoM

[IMG]

  • Product : Thành phẩm được cấu thành.
  • Name: Tên BOM.
  • Reference: Mã BOM.
  • Product qty: số lượng thành phẩm cấu thành từ nguyên vật liệu định ra
  • Product UOM: đơn vị tính của thành phẩm sản xuất ra.
  • Routing: quy trình sản xuất, định ra các công việc trung tâm (work center) với số chu trình (cycles) + số giờ tương ứng để sản xuất ra 1 đơn vị sản phẩm. Định ra lượng work center tương ứng trên đơn hàng sản xuất đó.

Màn hình biểu mẫu của routing:

[IMG]

  • Name: tên qui trình sản xuất
  • Code: mã qui trình sản xuất
  • Product Location: khi áp dụng qui trình này cho đơn hàng sản xuất nào thì vị trí kho này được sử dụng để xuất nguyên vật liệu này đi sản xuất (chỉ là theo dự tính khi ta xác nhận đơn hàng sản xuất đó)
  • BOM Type: Loại BOM, bao gồm 2 loại:
    • Normal BoM : nguyên vật liệu trực tiếp để sản xuất.
    • Sets / Phantom: nguyên vật liệu gián tiếp, nguyên vật liệu trực tiếp là các thành phần được định nghĩa trong BOM tạo nguyên vật liệu gián tiếp. Chỉ áp dụng đối với các dòng component trong BOM chính.
  • Tab Component: Chứa thông tin các nguyên vật liệu cấu thành nên thành phẩm đó. Bao gồm:
    • Tên nguyên vật liệu (product)
    • Số lượng nguyên vật liệu (product qty)
    • Đơn vị tính (product UOM)
    • Ngày áp dụng (Valid From)
    • Áp dụng đến ngày (Valid Until)
  • Tab revision: chứa thông tin lịch sử cập nhật BOM.
  • Tab Properties: chứa thông tin về các thuộc tính của BOM đó. Bao gồm:
    • Internal Reference (Vị trí)
    • Active (Đang áp dụng)
    • Sequence (Thứ tự ưu tiên)
    • Parent BOM (BOM cha)
    • Valid From (Áp dụng từ ngày)
    • Valid Until (Áp dụng đến ngày)
    • Product Rounding (Làm tròn số trong quá trình định số nguyên vật liệu)
    • Manufacturing Efficiency (Hiệu quả sử dụng nguyên vật liệu, nếu số này nhỏ hơn 1 thì sẽ mất đi một số lượng nguyên vật liệu, tính theo công thức : lấy số nguyên vật liệu dự tính chia cho tỉ lệ hiệu suất đạt được)
    • Properties : chứa thông tin các thuộc tính của thành phẩm, các thuộc tính này dùng làm tiêu chí để hệ thống chọn tự động BOM tương ứng khi tạo đơn sản xuất thành phẩm tự động (procument, sale order, …)
  • Tab Sub Product: (Cài thêm module mrp_subproduct) chứa thông tin các phụ phẩm phát sinh trong quá trình sản xuất ra thành phẩm đó. Khi tiến hành Produce thành phẩm, lượng sản phẩm phụ này sẽ phát sinh thêm dựa vào số lượng sản phẩm chính trên đơn hàng sản xuất và số lượng phụ phẩm định trên BOM tương ứng.

Thân chào!


Thiết lập phương thức thanh toán (Payment Term)

ShareThis !
April 10, 2013 12:25 PM
OpenERP Vietnam

Trong bài này, chúng ta sẽ tìm hiểu về cách thiết lập, cấu hình cho phương thức thanh toán (payment term) trong OpenERP. Để cấu hình, thiết lập ; các bạn vào menu:

  • Accountting – Miscellaneous – Payment Terms.

 

Các thông tin chi tiết như sau:

  • Payment Term: Tên phương thức thanh toán.
  • Active: phương thức thanh toán này có được sử dụng hay không?
  • Computation: Các dòng phương pháp thanh toán được áp dụng.
    • Percent: thanh toán dựa theo tỉ lệ % nhập vào Amount To Pay.
    • Balance: thanh toán hết trong 1 lần, nếu có 2 dòng phương pháp thanh toán đều balance thì sẽ áp dụng dòng có số ngày thanh toán (Number of Days) thấp hơn.
    • Fixed Amount: thanh toán theo giá trị nhập vào Amount To Pay.
  • Number of Days: Ngày đến hạn thanh toán, tính từ ngày hóa đơn được Validate cộng cho số ngày nhập vào nếu Day of the Month bằng 0.
  • Day of the Month: bằng 0 ngày đến hạn thanh toán được tính như trên Number of Days, bằng -1 thì ngày đến hạn sẽ là ngày cuối cùng trong tháng sau khi lấy ngày hóa đơn Validate cộng cho số ngày nhập vào Number of Days.

Thân ái!


Tìm hiểu mô đun sale_forcast

ShareThis !
April 10, 2013 12:18 PM
OpenERP Vietnam

Dự báo bán hàng trong DNTM đóng vai trò quan trọng trong chiến lược ổn định về mặt tiêu thụ hàng hóa của DN nhằm cung ứng và đáp ứng nhu cẩu tiêu dùng của khách hàng trong thị trường kinh doanh . OpenERP có module (sale_forcast) để hỗ trợ cho việc dự báo doanh số của nhân viên kinh doanh. Các bạn có thể download tại http://v6apps.openerp.com/

Sau khi cài đặt, vào mô đun Sale, các bạn sẽ thấy như hình sau:

[IMG]

Các thông tin trong from

  • Sales Forecast : Bảng dự báo
  • Responsible : Người thực hiện dự báo
  • Start Period ; End Period : Khoảng thởi gian xét đến

[IMG]

Các thông tin line :

  • Forecast
    • Salesman : Dự báo doanh số của nhân viên nào ?
    • Computation Base On : Các lựa chọn các dự báo trên các mục tiêu nào
    • Value Forecasted : Giá trị dự đoán
  • Results
    • Real Value : Giá trị nhân nhân viên đạt được
    • Performance : Nhận xét
  • Forecast details
    • Filter on States : Các trạng thái của các mục tiêu lựa chọn
    • Filter on Product : Lựa chọn dự báo sàn phẩm nào ?
    • Filter on Product Categories : Lựa chọn dự báo danh mục sàn phẩm nào ?

Thân ái!

 


Tìm hiểu mô đun sale_commission

ShareThis !
April 10, 2013 12:12 PM
OpenERP Vietnam

Ở trong bài viết này, mình sẽ giải thích, hướng dẩn về module sale comission trong OpenERP . Các bạn có thể download ở trang apps.openerp.com . Module này giúp các tổ chức kinh doanh dễ dàng quản lý hoa hồng cho các nhân viên hoặc các đại lý liên kết, hợp tác.

Các bước của workflow sẽ được thực hiện như sau :

  1. Thiết lập loại hoa hồng
  • Sale Management -> Configuration -> Commission -> Commission Types
  • [IMG]
    • Name : Tên loại hoa hồng
    • Type : Loại hoa hồng
      • Fix percentage : Tính theo %
      • By sections : tính theo từng giai đoạn
    • Defineition of rate : Thiết lập mức chiết khấu
  1. Tạo đại lý bán hàng
  • Sale Management -> Commissions -> Sales Agents
  • [IMG]
    • Saleagent Name : Tên đại lý
    • Type : Commercial /Adviser
    • Related entity or employee:
      • Associated Employee : (type = Commercial) Nhân viên thực hiện
      • Partner : (type = Adviser) Đối tác thực hiện
    • Applied retention : Thuế kèm theo
    • Commission
      • Period settlement : thời gian thực hiện hoa hồng theo tháng / kỳ / quý / năm
      • Commission by default : cách tính hoa hồng
  1. Gán đại lý hoa hồng theo khách hàng
  • Sale Management -> Address Book -> Customers
  • [IMG]
  1. Tạo đơn bán hàng và payment
  • Đơn bán hàng
    • [IMG]
  • Tạo hóa đơn
    • [IMG]
  • Thanh toán
    • [IMG]
  1. Thực hiện thanh toán hoa hồng
  • Ở from Sale agents ta thấy có 2 action thực hiện 2 wizard :
    • Perform agents settlements : thực hiện hoa hồng cho các đại lý bán hàng
      • [IMG]
    • Recalculate agents commissions : thực hiện xem đại lý này quản lý các khách hàng nào ?
      • [IMG]

Hoàn thành!


Tìm hiểu mô đun quản lý phương tiện (fleet) trong OpenERP

ShareThis !
April 10, 2013 11:52 AM
OpenERP Vietnam

Nếu như trước đây các doanh nghiệp giao thông vận tải phải vất vả trong việc quản lý phương tiện thì hiện nay họ có thể tạm yên tâm khi sử dung module quản lý phương tiện đi lại của OpenERP . Với module này , doanh nghiệp có thể theo dõi vị trí địa lý và lượng nhiên liệu sử dụng của các phương tiện vận chuyển

Trong phần này mình sẽ giới thiệu cho các bạn về phần quản lý thông tin về phương tiện của doanh nghiệp.

  1. Quản lý phương tiện

[IMG]

  • Tạo mới phương tiện

[IMG]

    • Model : Thuộc thể loại xe nào
    • License Plate : Biển số xe
    • General Properties
    • Driver : Tài xế sử dụng
    • Location : Khu vực / vị trí xe
    • Chassis Number : Số khung , số máy xe
    • Last Odometer : Cây số
    • Acquisition Date : Ngày mua
    • Car Value : Giá trị
    • Additional Properties
    • Seats Number : Số ghế
    • Doors Number : Số cửa
    • Color : Màu sắc
    • Engine Options
    • Transmission : Hộp số (tự động/bán tự động)
    • Fuel Type : Sử dụng loại nhiên liệu nào
    • CO2 Emissions : Mức dộ CO2
    • Horsepower, Horsepower Taxation, Power (kW) : Công xuất của máy
  • Quản lý việc hợp đồng sử dụng phương tiện

[IMG]

    • Contract details
    • Vehicle : Sử dụng phương tiện nào
    • Type : Hình thức sử dụng
    • Activation Cost : Giá cả
    • Recurring Cost Amount : Trả tiền có đều đặn hay không
    • Invoice Date : Ngày lập HĐ
    • Contract Start Date : Ngày có hiệu lực
    • Contract Expiration Date : Ngày hết hạn
    • Contractor : Người ký HĐ
    • Included Services : Các dịch vụ kèm theo
    • Generated Costs : Các chi phí cơ bản
    • Các button
      • Terminate Contract : Kết thúc HĐ
      • Renew Contract : Gia hạn HĐ thêm
  • Quản lý quãng đường di chuyển

[IMG]

  • Quàn lý lượng nhiên liệu sử dụng

[IMG]

    • Vehicle Details
    • Vehicle : Phương tiện nào sử dụng
    • Odometer Details
    • Odometer Value : Quãng đường đi
    • Refueling Details
    • Liter : Số lượng nhiên liệu sử dụng
    • Price Per Liter : Giá tiền/lit
    • Total Price : Tổng giá trị
    • Additional Details
    • Date : Ngày tiếp nhiên liệu
    • Purchaser : Người nào mua
    • Invoice Reference : Chứng từ hóa đơn
    • Supplier : Đơn vị cung cấp

Thân ái!


Développeurs Web, vous reconnaissez-vous dans ces offres d’emploi ?

ShareThis !
March 13, 2013 5:48 AM
Savoir Faire Linux

Man with a hat

Les développeurs Web expérimentés sont très en demande, ces temps-ci. Ce ne sont pas les offres d’emploi qui manquent et Savoir-faire Linux n’échappe pas à la règle, ayant grand besoin de recruter plusieurs bons développeurs Web, tant pour le développement des interfaces de navigation (frontend) que pour la programmation d’applications Web (backend). Mais nous avons aussi beaucoup d’expertise à partager et des avantages qui ne se retrouvent nulle part ailleurs.

Bref, nous sommes actuellement à la recherche de deux profils particuliers :

Développeur frontend expérimenté
Man with a hatDéveloppeur frontend

Au menu : responsive designconception adaptative, HTML5, CSS3 et Javascript intégrés à des solutions logicielles libres variées (WordPress, Drupal, Plone, Liferay, Django, Magento). Travail en étroite collaboration avec le designer UI/UX, les développeurs backend et le client. Ambiance de travail et projets stimulants, à Montréal ou à Québec.

Développeur backend expérimenté
Mage hindouDéveloppeur backend

Au programme : Architecture de projet, utilisation de technologies variées en PHP, Python et Java dont WordPress, Drupal, Plone, Liferay, Django, Magento et OpenERP, développement Agile, contributions. Travail avec des collèges expérimentés. Ambiance de travail et projets tout aussi stimulants, à Montréal ou à Québec.

Vous reconnaissez-vous dans l’une de ces annonces ?

Si oui, suivez le lien du profil technique ci-dessous qui correspond le mieux à votre situation actuelle, puis cliquez sur le bouton Postuler maintenant. Nous examinerons votre dossier dans les meilleurs délais.

Sinon, vous avez peut-être dans votre entourage une connaissance prête à relever à nos côtés les défis posés par la construction d’une économie numérique fondée sur le développement durable, l’équité et la liberté. Envoyez-lui tout de suite un message !

Pourquoi travailler chez Savoir-faire Linux ?

Savoir-faire Linux | L3i n’est pas une agence Web comme les autres ! Notre studio Web est imbriqué dans un centre d’expertise sur les logiciels libres et les technologies ouvertes qui croît régulièrement depuis 1999. Notre équipe offre la plus grande concentration de consultants professionnels spécialisés en logiciels libres du Canada. Le Web, nous le bâtisssons du noyau de l’OS jusqu’à l’interface de navigation en passant par toutes les applications !

Savoir-faire Linux vous offre des salaires compétitifs, des bureaux à Montréal et à Québec, des collègues passionnés provenant d’horizons variés, la possibilité de toucher à plusieurs technologies, de suivre des formations professionnelles, de côtoyer des ingénieurs chevronnés, d’avoir le meilleur support technique, de participer à des projets d’envergure, de contribuer au code source de vos applications préférées, etc..


Les contributions de Savoir-faire Linux sont acceptées dans le module d’intégration avec UPS

ShareThis !
February 28, 2013 1:17 AM
Savoir Faire Linux

openerpAprès un an d’effort et d’attente, les contributions de Savoir-faire Linux au module d’intégration avec l’API d’UPS ont été acceptées et font partie de :

  • la version 1.1.0 du module ups_shipping
  • la version 0.4.3 de la librairie PyUPS

Grâce à Joao Alfredo Gama Batista, le module permet désormais de fournir tous les documents nécessaires à la vérification effectuée par UPS lors de l’activation de votre compte.

Tous les détails sont disponibles sur Git Hub :

Piste complémentaire


Create Quotations And Sales Orders in OpenERP v7

ShareThis !
February 23, 2013 4:14 PM
Knowledgement

Hello everyone, in this blog we will go through how to create Quotations and Sales Orders In OpenERP7, Quotations and Orders are handled by the same Object, but in different states.  You can consider an Order to be a Quotation that has ‘evolved’, in the same way as a Lead becomes an Opportunity, because it [...]

Instalación de entorno para Pentaho Reports OpenERP – Ubuntu

ShareThis !
February 17, 2013 7:55 AM
Ecuador

Pentaho reports es un modulo desarrollado por WillowIt Partner de OpenERP en Australia, el repositorio se encuentra en

https://github.com/WillowIT/Pentaho-reports-for-OpenERP

Posee 3 ramas, la principal(master) que esta enfocada en la version 6.1 del open, y sus respectivas versiones para la 6.0 y 7.0

El concepto del módulo es el siguiente, posee un modulo para openerp llamado pentaho_reports, y una carpeta llamada java_server que tiene que ser compilada de modo que quede como una aplicacion web(archivo .war) para desplegarlo en un servidor web que soporte java, tal como tomcat, jboss, glassfish, etc. En este caso usamos directamente el tomcat, pasos para instalar en ubuntu

sudo apt-get install tomcat6 tomcat6-admin

Luego de terminar la instalación para poder acceder al panel de administración debemos editar el archivo tomcat-users.xml, en ubuntu se encuentra en

sudo gedit /etc/tomcat6/tomcat-users.xml

antes de la etiqueta </tomcat-users> pegar

<role rolename="admin"/>
<role rolename="manager"/>
<user username="admin" password="admin" roles="admin,manager"/>

Con esto tendras acceso como administrador a tomcat despues de reiniciar el servicio

sudo service tomcat6 restart

Para poder compilar el archivo war, deberas instalar jdk, en este punto la primera ves que lo instale no tuve problemas, pero en unas maquinas que tenian instalado una versión de jre y jdk diferente me dio un error, por lo cual es recomendable que se use la misma versión, me refiero a la versión del core no de las actualizaciones, es decir si el jre es la versión 6.x la versión del jdk deberá ser 6.x

Para esto deberas instalar las dependencias

sudo apt-get install ant openjdk-6-jdk

El paquete que debe ser construido generalmente se ejecuta en la raiz del directorio donde se encuentra el archivo build.xml, pero este paquete en particular no trae sus librerias y dependencias, para lo cual debemos descargar una librería de ant que se llama apache ivy

cd ~/.ant
mkdir lib
cd lib
wget http://www.bizdirusa.com/mirrors/apache//ant/ivy/2.3.0/apache-ivy-2.3.0-bin.tar.gz

el archivo jar debe ser descompreso en la ruta ~/.ant/lib

Luego de agregar esa dependencia de ant, te ubicas en la ruta donde tenga el repositorio en la carpeta java_server, en ella ejecutas el código

ant war

El se encargara de descargar todas las librerias necesarias para construir el war, particularmente prefiero maven, pero igual funciona bien

Despues de esto abrimos un browser y colocamos la siguiente url, nos logueamos

http://localhost:8080/manager/html

Y despues en la parte que dice “Archivos war a desplegar” seleccionamos el archivo a desplegar que fue el que se creo anteriormente, despues dar clic en desplegar

Descargas el diseñador de reportes en

https://bitbucket.org/cormaza/pentaho_report_designer

Para ver el uso del prd por favor seguir los respectivos tutoriales, es muy fácil de usar, ademas que para ver la conexión con el openerp pueden ver el vídeo en la página

http://www.youtube.com/playlist?list=PLLB1LZ2mxz0XvDaL9oy1XbrYy5B4q5FHu

A Disfrutar

Christopher Ormaza


Localización Ecuatoriana OpenERP

ShareThis !
February 17, 2013 7:48 AM
Ecuador

Es un placer para mi invitarlos a participar en el desarrollo de la localización de Openerp para Ecuador, puedes revisar el proyecto en

https://launchpad.net/openerp-ecuador

Vamos a publicar regularmente tutoriales sobre su uso, y de esta manera se pueda usar esta herramienta en Empresas ecuatorianas

Christopher Ormaza


OpenERP 7 Create Leads And Convert Them Into Opportunities

ShareThis !
February 01, 2013 7:03 PM
Knowledgement

Welcome back, today we will go through the steps needed on how to create Leads, and convert them into Opportunities in OpenERP 7. Firstly, what is OpenERP? OpenERP is a web based open source Enterprise Resource Planning software, created with the goal to homogenize, shape and capture the raw information (or data) of a company by providing [...]

Nuevo Motor de Reportes OpenERP

ShareThis !
January 10, 2013 11:13 PM
Ecuador

He sido un fiel usuario de los reportes hechos en Aeroo Reports, desde que comence en OpenERP, pero hace poco tiempo navegando por el  Twiteer me enteré que existe otra alternativa bastante interesante para los motores de reporte que ya posee el Open

Videos:

http://www.youtube.com/playlist?list=PLLB1LZ2mxz0XvDaL9oy1XbrYy5B4q5FHu

Repositorio:

https://github.com/WillowIT/Pentaho-reports-for-OpenERP

El uso es fantástico  tienes el navegador de datos directo desde la plataforma de reportes(ORM), itera directamente sobre los campos o2m, m2m, puedes usar los campos calculados, le puedes pasar SQL directamente con parametros, en fin es una joya, yo hice mi fork para el OpenERP 7, la voy a publicar pronto, por ahora enjoy it!!!

Esperemos que tal como el webkit algún día este motor sea parte del core del Open!!!

 

Christopher


How to install OpenERP 7.0 on Ubuntu 12.04 LTS

ShareThis !
December 22, 2012 11:35 PM
The Open Sourcerer

OpenERP Logo

Introduction

Welcome to the latest of our very popular OpenERP installation “How Tos”.

The new release of OpenERP 7.0 is a major upgrade and a new Long Term Support release; the 7.0 Release Notes extend to over 90 pages! The most noticeable change is a complete re-write of the User Interface that features a much more modern look and feel.

OpenERP 7.0 is not only better looking and easier to use, it also brings many improvements to the existing feature-set and adds a number of brand new features which extend the scope of the business needs covered by OpenERP. Integration of social network capabilities, integration with Google Docs and LinkedIn, new Contract Management, new Event Management, new Point of Sale, new Address Book, new Fleet Management,… are only some of the many enhancements in OpenERP 7.0.

The How To

Following that introduction, I bet you can’t wait to get your hands dirty…

Just one thing before we start: You can simply download a “.deb” package of OpenERP and install that on Ubuntu. Unfortunately that approach doesn’t provide us (Libertus Solutions) with enough fine-grained control over where things get installed, and it restricts our flexibility to modify & customise, hence I prefer to do it a slightly more manual way (this install process below should only take about 10-15 minutes once the host machine has been built).

So without further ado here we go:

Step 1. Build your server

I install just the bare minimum from the install routine (you may want to install the openssh-server during the install procedure or install subsequently depending on your needs).

After the server has restarted for the first time I install the openssh-server package (so we can connect to it remotely) and denyhosts to add a degree of brute-force attack protection. There are other protection applications available: I’m not saying this one is the best, but it’s one that works and is easy to configure and manage. If you don’t already, it’s also worth looking at setting up key-based ssh access, rather than relying on passwords. This can also help to limit the potential of brute-force attacks. [NB: This isn't a How To on securing your server...]

sudo apt-get install openssh-server denyhosts

Now make sure your server has all the latest versions & patches by doing an update:

sudo apt-get update
sudo apt-get dist-upgrade

Although not always essential it’s probably a good idea to reboot your server now and make sure it all comes back up and you can login via ssh.

Now we’re ready to start the OpenERP install.

Step 2. Create the OpenERP user that will own and run the application

sudo adduser --system --home=/opt/openerp --group openerp

This is a “system” user. It is there to own and run the application, it isn’t supposed to be a person type user with a login etc. In Ubuntu, a system user gets a UID below 1000, has no shell (it’s actually /bin/false) and has logins disabled. Note that I’ve specified a “home” of /opt/openerp, this is where the OpenERP server code will reside and is created automatically by the command above. The location of the server code is your choice of course, but be aware that some of the instructions and configuration files below may need to be altered if you decide to install to a different location.

[Note: If you want to run multiple versions of OpenERP on the same server, the way I do it is to create multiple users with the correct version number as part of the name, e.g. openerp70, openerp61 etc. If you also use this when creating the Postgres users too, you can have full separation of systems on the same server. I also use similarly named home directories, e.g. /opt/openerp70, /opt/openerp61 and config and start-up/shutdown files. You will also need to configure different ports for each instance or else only the first will start.]

A question I have been asked a few times is how to run the OpenERP server as the openerp system user from the command line if it has no shell. This can be done quite easily:

sudo su - openerp -s /bin/bash

This will su your current terminal login to the openerp user (the “-” between su and openerp is correct) and use the shell /bin/bash. When this command is run you will be in openerp’s home directory: /opt/openerp.

When you have done what you need you can leave the openerp user’s shell by typing exit.

Step 3. Install and configure the database server, PostgreSQL

sudo apt-get install postgresql

Then configure the OpenERP user on postgres:

First change to the postgres user so we have the necessary privileges to configure the database.

sudo su - postgres

Now create a new database user. This is so OpenERP has access rights to connect to PostgreSQL and to create and drop databases. Remember what your choice of password is here; you will need it later on:

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp
Enter password for new role: ********
Enter it again: ********

Finally exit from the postgres user account:

exit

Step 4. Install the necessary Python libraries for the server

sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata \
python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \
python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \
python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \
python-webdav python-werkzeug python-xlwt python-yaml python-zsi

With that done, all the dependencies for installing OpenERP 7.0 are now satisfied (note that there are some new packages required since 6.1).

Step 5. Install the OpenERP server

I tend to use wget for this sort of thing and I download the files to my home directory.

Make sure you get the latest version of the application: at the time of writing this it’s 7.0. I got the download links from their download pages (note there are also deb, rpm and exe builds in this area too). There isn’t a static 7.0 release tarball as such anymore, but there is a nightly build of the 7.0 source tree which should be just as good and will contain patches as and when things get fixed. The link below is to the source tarball for the 7.0 branch.

Note: As an alternative method of getting the code onto your server, Jerome added a very useful comment showing how to get it straight from launchpad. Thanks!

wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz

Now install the code where we need it: cd to the /opt/openerp/ directory and extract the tarball there.

cd /opt/openerp
sudo tar xvf ~/openerp-7.0-latest.tar.gz

Next we need to change the ownership of all the the files to the OpenERP user and group we created earlier.

sudo chown -R openerp: *

And finally, the way I have done this is to copy the server directory to something with a simpler name so that the configuration files and boot scripts don’t need constant editing (I called it, rather unimaginatively, server). I started out using a symlink solution, but I found that when it comes to upgrading, it seems to make more sense to me to just keep a copy of the files in place and then overwrite them with the new code. This way you keep any custom or user-installed modules and reports etc. all in the right place.

sudo cp -a openerp-7.0 server

As an example, should OpenERP 7.0.1 come out soon, I can extract the tarballs into /opt/openerp/ as above. I can do any testing I need, then repeat the copy command so that the modified files will overwrite as needed and any custom modules, report templates and such will be retained. Once satisfied the upgrade is stable, the older 7.0 directories can be removed if wanted.

That’s the OpenERP server software installed. The last steps to a working system is to set up the configuration file and associated boot script so OpenERP starts and stops automatically when the server itself stops and starts.

Step 6. Configuring the OpenERP application

The default configuration file for the server (in /opt/openerp/server/install/) is actually very minimal and will, with only one small change work fine so we’ll simply copy that file to where we need it and change it’s ownership and permissions:

sudo cp /opt/openerp/server/install/openerp-server.conf /etc/
sudo chown openerp: /etc/openerp-server.conf
sudo chmod 640 /etc/openerp-server.conf

The above commands make the file owned and writeable only by the openerp user and group and only readable by openerp and root.

To allow the OpenERP server to run initially, you should only need to change one line in this file. Toward to the top of the file change the line db_password = False to the same password you used back in step 3. Use your favourite text editor here. I tend to use nano, e.g.

sudo nano /etc/openerp-server.conf

One other line we might as well add to the configuration file now, is to tell OpenERP where to write its log file. To complement my suggested location below add the following line to the openerp-server.conf file:

logfile = /var/log/openerp/openerp-server.log

Once the configuration file is edited and saved, you can start the server just to check if it actually runs.

sudo su - openerp -s /bin/bash
/opt/openerp/server/openerp-server

If you end up with a few lines eventually saying OpenERP is running and waiting for connections then you are all set.

On my system I noticed the following warning:

2012-12-19 11:53:51,613 6586 WARNING ? openerp.addons.google_docs.google_docs: Please install latest gdata-python-client from http://code.google.com/p/gdata-python-client/downloads/list

The Ubuntu 12.04 packaged version of the python gdata client library is not quite recent enough, so to install a more up-to-date version I did the following (exit from the openerp user’s shell if you are still in it first):

sudo apt-get install python-pip
sudo pip install gdata --upgrade

Going back and repeating the commands to start the server resulted in no further warnings

sudo su - openerp -s /bin/bash
/opt/openerp/server/openerp-server

If there are errors, you’ll need to go back and find out where the problem is.

Otherwise simply enter CTL+C to stop the server and then exit to leave the openerp user account and go back to your own shell.

Step 7. Installing the boot script

For the final step we need to install a script which will be used to start-up and shut down the server automatically and also run the application as the correct user. There is a script you can use in /opt/openerp/server/install/openerp-server.init but this will need a few small modifications to work with the system installed the way I have described above. Here’s a link to the one I’ve already modified for 7.0.

Similar to the configuration file, you need to either copy it or paste the contents of this script to a file in /etc/init.d/ and call it openerp-server. Once it is in the right place you will need to make it executable and owned by root:

sudo chmod 755 /etc/init.d/openerp-server
sudo chown root: /etc/init.d/openerp-server

In the configuration file there’s an entry for the server’s log file. We need to create that directory first so that the server has somewhere to log to and also we must make it writeable by the openerp user:

sudo mkdir /var/log/openerp
sudo chown openerp:root /var/log/openerp

Step 8. Testing the server

To start the OpenERP server type:

sudo /etc/init.d/openerp-server start

You should now be able to view the logfile and see that the server has started.

less /var/log/openerp/openerp-server.log

If there are any problems starting the server you need to go back and check. There’s really no point ploughing on if the server doesn’t start…

OpenERP 7 Database Management Screen

OpenERP 7 Database Management Screen

If the log file looks OK, now point your web browser at the domain or IP address of your OpenERP server (or localhost if you are on the same machine) and use port 8069. The url will look something like this:

http://IP_or_domain.com:8069

What you should see is a screen like this one (it is the Database Management Screen because you have no OpenERP databases yet):

What I do recommend you do at this point is to change the super admin password to something nice and strong (Click the “Password” menu). By default this password is just “admin” and knowing that, a user can create, backup, restore and drop databases! This password is stored in plain text in the /etc/openerp-server.conf file; hence why we restricted access to just openerp and root. When you change and save the new password the /etc/openerp-server.conf file will be re-written and will have a lot more options in it.

Now it’s time to make sure the server stops properly too:

sudo /etc/init.d/openerp-server stop

Check the logfile again to make sure it has stopped and/or look at your server’s process list.

Step 9. Automating OpenERP startup and shutdown

If everything above seems to be working OK, the final step is make the script start and stop automatically with the Ubuntu Server. To do this type:

sudo update-rc.d openerp-server defaults

You can now try rebooting you server if you like. OpenERP should be running by the time you log back in.

If you type ps aux | grep openerp you should see a line similar to this:

openerp 1491 0.1 10.6 207132 53596 ? Sl 22:23 0:02 python /opt/openerp/server/openerp-server -c /etc/openerp-server.conf

Which shows that the server is running. And of course you can check the logfile or visit the server from your web browser too.

OpenERP 70 Main Setup Screen

OpenERP 70 Main Setup Screen

That’s it! Next I would suggest you create a new database filling in the fields as desired. Once the database is initialised, you will be directed straight to the new main configuration screen which gives you a fell for the new User Interface in OpenERP 7 and shows you how easy it is to set up a basic system.


New Community Organization for OpenERP

ShareThis !
November 16, 2012 9:16 PM
Camptocamp

Dear Community,

We recently talked about joining our efforts to develop new OpenERP modules. For that purpose, we decided to create on Launchpad new projects sorted by topic with new teams to manage them.

The goals are:

  • To get rid of the big extra-addons branch

  • To join efforts on the same topic in order to avoid too many modules for a same feature

  • To become more aware of the developments that have been done by others

  • To start working with merge proposal between us

  • To improve the quality of our code

  • Camptocamp took time to create missing projects and their respective teams on Launchpad. When possible, we tried to reuse the existing ones. All listed projects provide a short description of the kind of modules you can find/merge into.

    We do welcome you on board to join our efforts ! In order to add your own modules in the appropriate project, we suggest “merge proposals”. Depending on the volume, we might need some time at the beginning to review everything. We therefore want to thank you all in advance for your patience during this transition period. In some of these projects, we still need to push a branch on the existing series since we still need to extract our work.

    For all of these projects, the rules we expect you to adhere to and respect are:

  • No company-related prefix or suffix in the module names (like c2c-account-something);

  • Always make merge proposal for any bugfix or improvement so that everyone can take note of it and eventually ask for a different approach;

  • Nobody merge his/her own work into the branch. Another member of the team must do it. Exceptions may be accepted if the merge proposal has been strongly approved by the rest of the team;

  • If your module doesn’t fit into any of the available projects, or you found no related team, please post a request on the framework expert mailing list so that we can create an specific one for you (openerp-expert-framework@lists.launchpad.net);

  • When at least one of your modules has been approved in the branch, you may ask to be part of the team. If you are not part of the team, you can still contribute to the project through merge proposal;

  • Use the available teams according to their topics (it means that you always need to attribute a new project to these teams, so to avoid having hundreds of them). The existing ones are:

  • Should you have any suggestions related to the above rules, please feel free to post them on the framework expert mailing list.

    Note that there is still missing documentation in the official OpenERP doc on all of the following branches: https://code.launchpad.net/openobject-doc

    Should anyone want to take time to add this information, it would be greatly appreciated as I’m running out of time to organize and manage this transition…

    Hope you’ll enjoy !

    The list of the official community projects/topics can be found under this project group: https://launchpad.net/openobject. Some of them are waiting on their owner to bring some modifications so they can fit into other projects (changing team, series,…). Should you be one of these owners, please inform us when ready. If owners refuse to open thir projects to the community, we’ll create another project.

    Best regards,

    Joël Grand-Guillaume for Camptocamp’s Business Solutions team


    OpenERP and Ubuntu Unity Desktop Integration

    ShareThis !
    October 27, 2012 8:46 PM
    The Open Sourcerer

    Ubuntu has been in the news quite a lot recently with the release of version 12.10 including the Amazon shopping lens and next week some game shop thing called Steam is going to be announced. It isn’t all toys and shopping though, some of the new features make a heap of sense for serious business applications too. One really interesting area for me is the webapp integration, this is an extension for Firefox and Chromium that allows stuff running in the web browser to integrate with the Unity desktop in a variety of ways, making the distinction between a web application and a desktop application a bit more blurry – which is a good thing. There is built in integration for an assortment of popular consumer websites like youtube, twitter, facebook etc. but it isn’t limited to these single domain software as a service sites. Any web site or web application can test for the presence of the extension then export it’s menu items, do notifications and other actions.

    OpenERP is probably my favourite web application to work on, and this is a typical application you might install to help manage a business, it is a modular framework that covers accountancy, logistics, sales process, project management, manufacturing, HR etc. The web server is largely python based, but as it happens this integration just uses javascript. After you install the module and visit your OpenERP server you should be prompted to allow integration, if you accept this you will get a notification (bubble in the top right of the screen) to say it is activated and from then you can use the alt key to bring up the HUD and type anything you might find in an OpenERP menu somewhere, such as “Invoice”. You don’t have to type all of the word, it will search as you type.

    OpenERP Unity Integration

    You can grab the code from here and the module as a standard module zip file from here. I am thinking of adding some more features, possibly messaging menu integration and notifications. I might do a separate theme module that is mostly CSS and cosmetically adjusts the user interface to match the unity desktop. Right now most of our customers running OpenERP use it on an Ubuntu server, but use a mixture of Windows and Mac on the desktop, what I want to show with this kind of integration (this is just the start) is that Ubuntu can simply be a better platform for business than other operating systems, especially as things move away from dedicated client applications to web based interfaces.


    Mise en ligne du Site SIMPLEE

    ShareThis !
    January 23, 2012 11:36 AM
    Simplee

    Forts de leurs expertises reconnues, Didier DEMANGE (Gérant de la société 5eme Sens & Associé d’Agilia Conseils) consultant en stratégie d’entreprise et performance commerciale, et Nicolas JEUDY (Gérant de la société Tux Services) expert informaticien en management des systèmes d’information ont le plaisir de vous annoncer la création de Simplee. Simplee est une société spécialisée [...]

    NaN·tic at Tecnocampus

    ShareThis !
    December 15, 2011 10:15 PM
    NaN-tic

    On November 24th I had the pleasure to explain our experience in the creation and development of our company at Tecnocampus de Mataró in the production and operations course, invited by Diego Bartolomé from tauyou.

    It was an encouraging experience which I hope I can repeat in the future. We must also thank the collaboration of Alex from Planetronic who answered the questions of some students who made an excellent work studying NaN·tic's case. By the way, you can watch their presentation here.

    There, I also met Alex Araujo who recorded and edited the talk and a small interview (in Catalan) that you can see below (announcement here). Also you can see the original video that was streamed live!