Commit Graph

8 Commits

Author SHA1 Message Date
phanirithvij
d48355b29c odoo: update script for all versions
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-10-23 10:22:22 +05:30
Phani Rithvij
90f8329a38 odoo: update to 18.0, enable tests
Co-authored-by: Robert Schütz <github@dotlambda.de>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-10-23 10:22:20 +05:30
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
zimbatm
77977ae4ad odoo: add missing geoip2 dependency 2024-07-16 21:55:13 +02:00
zimbatm
2c9f7408ca odoo: add missing lxml-html-clean dependency
Fixes this runtime error:

    lxml.html.clean module is now a separate project lxml_html_clean.
    Install lxml[html_clean] or lxml_html_clean directly.
2024-07-16 21:55:13 +02:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
Sirio Balmelli
934bfb6c36
odoo: 17.0.20240507 -> 17.0.20240616
Make it possible to override 'odoo_version' and 'odoo_release'
by moving them to the input attribute set with default values.

Modify 'update.sh' so it correctly updates these defaults.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-06-19 13:35:22 +00:00
Sirio Balmelli
8306ac3d7e
odoo: migrate to pkgs/by-name
Remove original 'pkgs/applications/finance/odoo' directory.

Update 'pkgs/applications/finance/odoo/update.sh'
to point to the nightly builds archive for odoo, ignoring Docker.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-06-19 13:35:21 +00:00