-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Al 28/08/13 08:47, En/na Guillem Barba Domingo ha escrit:
> <mailto:
nicolas...@b2ck.com>> va escriure:
>>
>> * Sergi Almacellas Abellana [2013-08-27 19:38 +0200]:
>>>
>>> As hg review doesn't work with nested repositories the patch
>>> must split by hand. If anyone is interesed on the invididual
>>> files for modules I can share it :)
>>
>>
>> In theory hgreview says that it has fetched a patch somewhere in
>> /tmp, you can use this file directly.
>>
>> One day, I'll use this file to apply the patch using the patch
>> command.
>
> Yes, it works. I used this trick several times.
>
> $ hg review --fetch -n -i XXX Error... /tmp/YYY $ patch -p1 <
> /tmp/YYY
>
Thanks for the tip, it worked perfectly :)
Patch doesn't apply on tip, but this is another thing.
I managed to apply it with revesion 3121 of trytond, revision 219 of
timesheet and revision 618 of account_invoice. Other repors applied
withous problems.
After appling it i got the following errors after creating a new database:
Traceback (most recent call last):
File
"/home/pokoli/tryton/python-sql/trytond/trytond/protocols/dispatcher.py",
line 243, in create
pool.init(update=True, lang=[lang])
File "/home/pokoli/tryton/python-sql/trytond/trytond/pool.py", line
151, in init
lang=lang)
File
"/home/pokoli/tryton/python-sql/trytond/trytond/modules/__init__.py",
line 398, in load_modules
load_module_graph(graph, pool, lang)
File
"/home/pokoli/tryton/python-sql/trytond/trytond/modules/__init__.py",
line 261, in load_module_graph
Translation.translation_import(lang2, module, filename)
File
"/home/pokoli/tryton/python-sql/trytond/trytond/ir/translation.py",
line 718, in translation_import
('name', 'DESC'),
File
"/home/pokoli/tryton/python-sql/trytond/trytond/model/modelsql.py",
line 887, in search
forder = field.convert_order(fname, tables, cls)
File
"/home/pokoli/tryton/python-sql/trytond/trytond/model/fields/selection.py",
line 51, in convert_order
selections = Model.fields_get([name])[name]['selection']
File
"/home/pokoli/tryton/python-sql/trytond/trytond/model/model.py", line
214, in fields_get
accesses = FieldAccess.get_access([cls.__name__])[cls.__name__]
File "/home/pokoli/tryton/python-sql/trytond/trytond/ir/model.py",
line 607, in get_access
UserGroup = pool.get('res.user-res.group')
File "/home/pokoli/tryton/python-sql/trytond/trytond/pool.py", line
168, in get
return self._pool[self.database_name][type][name]
KeyError: 'res.user-res.group'
The only strange thing is that I am creating the database in a Catalan.
My bacquend id PostgreSQL.
Any tips?
- --
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQEcBAEBAgAGBQJSH2fvAAoJEGRfwiQCVal57zEH/jQrmyDdLf7aD35U+1BBHrcb
+vBElxJFVxsq9IQ2NNQ/WkU9N1l2jycI8ghMpD/u2bj7mLD/VECOb44bTQZqUQlf
lJvX8QOZGsUJa29QBzo4BtQtCFEm4p5V1IkZvCz/vtvjtwzUPkNnWg2rKhfVGD9f
Coup15nL3EO98GWWNatkqrs2RlEq8Mjqno/V2QUVv2q8rhEHP7ucgO78Dw0SIMRh
D8qDZCAHRRDwEAG75wXj60NXFDbqLRhFGSrmUCB0sVx+zjyUu02Mf1YwQr96Q3sf
BBr/7d8s8W8VG8dRGlT4M3Od7lv9Aa00GYmTW2b46hBZViaCL0DHTbBPAGtWc2Y=
=Xtd+
-----END PGP SIGNATURE-----