chat.freenode.net #tryton log beginning Tue Jan 28 00:00:01 CET 2014 | ||
maxwell | hi all | 10:55 |
---|---|---|
maxwell | I'm trying to make own module, do you have some manuals or maybe some example module I can use for better understanding? | 10:56 |
corro | maxwell: http://code.google.com/p/tryton/wiki/HelloWorld | 11:00 |
maxwell | corro: I followed it, bu t it is too simple | 11:02 |
corro | maxwell: then maybe you should have a look at a simple module like 'party' next | 11:03 |
maxwell | corro: ok, thx a lot I will inspect it | 11:04 |
maxwell | hi is there any possibility to override standart form saving? | 14:17 |
maxwell | or can i get some signal | 14:17 |
maxwell | after new record is made? | 14:17 |
cedk | maxwell: overide create | 14:17 |
maxwell | cedk: can you please explain a little bit detalized? or give me some link where i can get more information, thx in advance | 14:21 |
corro | maxwell: example from module 'party': http://hg.tryton.org/2.8/modules/party/file/e5babef90fdd/party.py#l152 | 14:24 |
maxwell | corro: thx | 14:28 |
-!- strebitz(~sebastian@91.183.59.105) has left #tryton | 15:31 | |
pokoli | How can I enable global search on some model via xml of a module? | 17:11 |
cedk | pokoli: can not | 17:13 |
pokoli | cedk: why not? | 17:14 |
cedk | pokoli: you can put code in __register__ of the Model | 17:14 |
cedk | pokoli: because ir.model doesn't have an xml id | 17:14 |
pokoli | cedk: what do you mean by put code in __register__ ?? Put an update query on the register of the ir model to update the desired records? | 17:16 |
cedk | pokoli: yes | 17:17 |
pokoli | cedk: thanks :) | 17:17 |
-!- frankbutt(~frankbutt@66.172.11.32) has left #tryton | 17:43 | |
pokoli | smarro: you have a babi report filled by xml? | 19:03 |
-!- strebitz(~sebastian@149.154.204.128) has left #tryton | 19:10 | |
smarro | pokoli: yes, let me find the changeset | 19:14 |
pokoli | smarro: would be great if I can review it :) | 19:15 |
pokoli | smarro: I have an error while creating a report, as dimensions (One2Many) is required, did you encountered that? | 19:17 |
smarro | pokoli: yes, i have removed the required on dimensions and measures | 19:18 |
smarro | pokoli: http://hg.savannah.gnu.org/hgweb/health/rev/f41a727ad5e6 and http://hg.savannah.gnu.org/hgweb/health/rev/a1b092c93146 | 19:19 |
pokoli | smarro: perfect! No need for the changeset. We will try to provide a solution on this | 19:19 |
smarro | pokoli: great, by the moment we have removed this report... waiting babi first stable release on pypi ;-) | 19:20 |
smarro | pokoli: i have to leave, see you | 19:22 |
pokoli | smarro: will inform you with the solution, see you :) | 19:22 |
-!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton | 19:35 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!