open source basecamp

 

Posts Tagged ‘Tutorial’

Update your OpenERP data by yourself with the new import/export financed by Camptocamp

Wednesday, August 12th, 2009 by Joël Grand-Guillaume

Hi all!

We’re proud to announce the release of a brand new feature in the stable version of OpenERP 5.0.1: the management of OpenObject and PostgreSQL IDs in the import/export system. Camptocamp financed this new feature in order to allow people to update their stored data through the standard GTK Client.

With this new feature you can:

  • Affect a new, or change, the OpenObject ID of any object in the database,
  • Update stored data by exporting/importing them (based on the PostgreSQL ID or the OpenObject ID),
  • Let your customers update their data themselves via CSV files.

Concrete example:

You need to keep the product cost prices in sync with your supplier price lists (let’s say you have only one supplier per product for this example). Your suppliers give you an Excel file of all prices and references.

  1. First, you’ll need to export your product with the PostgreSQL and the OpenObject IDs into a CSV file. Take at least all required fields.
  2. Update the exported file with the supplier information. Put the new cost price and affect the supplier product reference as OpenObject ID.
  3. Import the updated file. That’s all! The new product will be created and the existing one will be updated, nothing will be deleted.

Note: next time you’ll only need to export the OpenObject ID in order to update the data. You won’t need the PostgreSQL ID anymore unless you need to update the supplier product reference!

Joël Grand-Guillaume

OpenERP tax 100% on import

Wednesday, July 8th, 2009 by Luc Maurer

Companies that are making importations often receive invoices from the carrier which does only have taxes.

Here is a small tutorial on which you will learn how to input it into OpenERP to be sure that the tax declaration is correct. This screencast should also help you.

Tax code creation

The first step is to create a new tax code : "100% import" for example.

  1. Create a new tax code : financial managerment > configuration > financial accounting > taxes > taxe
  2. Type = Percent
  3. Amount = 0
  4. Tax account and child tax account = nothing
  5. Tax application = purchase (never put all)
  6. Base code and Refund base code (2nd tab) = the tax code you are normally using for purchase tax code
  7. Base code sign = -1
  8. Tax code sign = 1

New supplier invoice

When you receive a new carrier invoice with tax on it (for example 2000 CHF):

  1. Add a new line for the tax => put the amount : 2000
  2. The account is the "tax refund account" => that mean the account you are normally using to put the VAT amount you will received from the tax administration => in switzerland : "1170 TVA déductible sur achat de biens et services"
  3. Specify the tax of the invoice line : "100% Import" and press tax computation

That’s it ! I hope it will help you.

MapFish also in Italian !

Monday, May 4th, 2009 by Cédric Moullet

A MapFish tutorial from an italian blog . Grazie Alessio ;-)

Web mapping applications from a non-developers perspective

Tuesday, March 10th, 2009 by Cédric Moullet

Andrew Parker has created a very nice wiki which presents the necessary steps in order to create one web mapping application:

- installing Linux (Ubuntu), Apache HTTP, and MapServer,
- installing PostGIS database server with the PostGIS spatial extension,
- creating spatially enabled tables in PostgreSQL/PostGIS
- importing and/or exporting shapefiles to/from PostGIS, and
- building a basic web map using MapFish.

Thanks Andrew for simplifying the access to these technologies !

Some MapFish doc on VerySpatial

Thursday, February 12th, 2009 by Cédric Moullet

Mel Meng has written some HowTo’s on the VerySpatial blog. Thanks !

Tutorial MapFish

Monday, December 15th, 2008 by Cédric Moullet

sur GeoTribu. Merci Arnaud ;-)

MapFish step by step #2: MapFish Toolbar

Thursday, October 23rd, 2008 by Cédric Moullet

In the toolbar example, you can see in action the MapFish toolbar widget (source code). You can add new functions in the MapFish toolbar (see lines 32 to 129 of the source).
With some javascript, it’s quite easy to configure your UI by using the MapFish components.

MapFish step by step #1: MapFish Client

Monday, October 20th, 2008 by Cédric Moullet

Hi ! I will now start some blogs describing in more details how MapFish works. As you know, MapFish Client is using OpenLayers and ExtJS. MapFish extends these libraries. Let’s have a look at a concrete example: a map in a complex layout.
In this example (have a look at the source), two main Ext windows are used: the map itself (line 46) and the shortcuts which allow a recentering (line 73).
- The map is defined with OpenLayers and access a WMS server (line 37).
- For the representation of the map widget, MapFish defines the mapComponent which is an extension of an Ext panel.
- MapFish defines also the shortcuts which allow the recentering function (line 127).

In this example, there is no interaction with the MapFish server. All is processed by the browser with Javascript codes from MapFish, Ext and OpenLayers.

MapFish Howto

Thursday, October 16th, 2008 by Cédric Moullet

If you want to make your first steps with MapFish, don’t miss this HowTo presented at Foss4G 2008:
http://dev.mapfish.org/tmp/MapFish_Foss4G2008_HowToUseMapFish.pdf