Go to file
Sergi Carol e943a55a8e Updated requests to use HTTPS 2017-02-06 15:10:25 +01:00
.hooks Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
dist Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
example Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
src Updated requests to use HTTPS 2017-02-06 15:10:25 +01:00
test Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
.npmignore Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
.travis.yml Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
Gruntfile.js Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
LICENSE Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
README.md Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
fabfile.py Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
package.json Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
tsconfig.json Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00
typings.json Initial commit of angular2-tryton 2017-01-27 10:53:18 +01:00

README.md

Angular Tryton

An Angular 2 module that makes tryton JSONRPC working in the Angular Way. Contains two services trytonService and sessionService and one filter urlTryton.

Install

npm install angular2-tryton
And checkout to branch ng2
Usage
-----

### Import services and inject them

```typescript
import {TrytonService} from 'angular2-tryton/services/tryton-service'
import {SessionService} from 'angular2-tryton/services/session-service'

@Component({
    ...
    providers: [HeroService]
})
...

How to contribute

If you're still convinced that angular2-tryton needs to be modified in order to handle your problem and you have an idea on how to do that, well here's how to turn that idea into a commit (or two) in easy steps:

  1. Fork Angular Tryton into your very own GitHub repository

  2. Install git pre-commit hook cp .hooks/pre-commit.sh .git/hooks/pre-commit

  3. Modify code as required.

  4. Once you're satisfied with the changes and you want the rest of the Angular Tryton developers to take a look at them, push your changes back to your own repository and send us a Pull request to develop branch. Don't forget to add test with minimum 100% test coverage.

Authors and Contributors

This module was built at Openlabs for Angular 1, and evolved and mantained by Fulfil.io. It was migrated to Angular 2 and refactorized by Guillem Barba

Professional Support

This module is professionally supported by Fulfil.io. If you are looking for on-site teaching or consulting support, contact our sales and support teams.