chat.freenode.net #tryton log beginning Sat Jan 8 00:00:03 CET 2011 | ||
2011-01-08 00:38 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-01-08 02:05 -!- ikks(~ikks@190.158.100.15) has joined #tryton | ||
2011-01-08 02:27 -!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton | ||
2011-01-08 02:44 -!- gavinf(~gavinf@196-215-4-186.dynamic.isadsl.co.za) has joined #tryton | ||
2011-01-08 03:08 -!- gremly(~gremly@200.106.202.91) has joined #tryton | ||
2011-01-08 04:00 -!- elbenfreund(~elbenfreu@p54B97A3C.dip.t-dialin.net) has joined #tryton | ||
2011-01-08 05:09 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | ||
2011-01-08 05:18 -!- yangoon(~mathiasb@p549F7C90.dip.t-dialin.net) has joined #tryton | ||
2011-01-08 05:32 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton | ||
2011-01-08 06:58 -!- vvjcarter_(~carter@p5089924C.dip0.t-ipconnect.de) has joined #tryton | ||
2011-01-08 07:16 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | ||
2011-01-08 08:43 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton | ||
2011-01-08 09:05 -!- jcm(~jcm@93.6.199.159) has joined #tryton | ||
2011-01-08 09:33 -!- gavinf(~gavinf@196-215-4-186.dynamic.isadsl.co.za) has left #tryton | ||
2011-01-08 10:11 -!- paepke(~paepke@p4FEB6465.dip.t-dialin.net) has joined #tryton | ||
2011-01-08 10:17 -!- hoRn(~chatzilla@dslb-094-223-214-108.pools.arcor-ip.net) has joined #tryton | ||
2011-01-08 11:13 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton | ||
2011-01-08 11:26 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton | ||
2011-01-08 12:25 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton | ||
2011-01-08 12:31 -!- heg(~heg@212.147.80.137) has joined #tryton | ||
2011-01-08 12:42 -!- heg(~heg@212.147.80.137) has joined #tryton | ||
2011-01-08 12:57 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-01-08 13:45 <hoRn> hi wekendworkers | ||
2011-01-08 13:45 <hoRn> weekend | ||
2011-01-08 13:47 <paepke> hi hoRn | ||
2011-01-08 13:47 <paepke> welcome to the club | ||
2011-01-08 13:48 <hoRn> where is the setting of report bugs - i want that my clients first complaining to my tracker ... | ||
2011-01-08 13:48 <hoRn> i will grep it ;) | ||
2011-01-08 13:53 <hoRn> mmhhh | ||
2011-01-08 14:09 <cedk> hoRn: you must create a section in the config file | ||
2011-01-08 14:10 <cedk> hoRn: an fill url and xmlrpc parameters | ||
2011-01-08 14:10 <hoRn> ok - thank you | ||
2011-01-08 14:10 <cedk> hoRn: http://hg.tryton.org/tryton/file/e929c7ac773d/tryton/config.py#l86 | ||
2011-01-08 15:37 -!- heg(~heg@212.147.80.137) has joined #tryton | ||
2011-01-08 16:15 <hoRn> is there a posibility to reload a window after adding something in a popup (one2many)? | ||
2011-01-08 16:16 <hoRn> the parent view | ||
2011-01-08 16:16 <cedk> hoRn: it makes no sense: if you reload you loose what you do in the one2many | ||
2011-01-08 16:18 -!- heg(~heg@212.147.80.137) has joined #tryton | ||
2011-01-08 16:20 <hoRn> cedk: i mean - i do a action in the popup which saves the values. this writes a line and generates an other line in a different page of the parent view. everything is fine, i can reload the parent view and everything is written. can i trigger the reload programmaticly? | ||
2011-01-08 16:21 <cedk> hoRn: I don't understand. What do you call popup | ||
2011-01-08 16:24 <hoRn> the form of a one2many. in this form i have a button, which writes something in the parentview | ||
2011-01-08 16:24 <hoRn> cedk: i know this is a little bit strange ;) | ||
2011-01-08 16:24 <cedk> hoRn: this is wrong design | ||
2011-01-08 16:25 <cedk> hoRn: the parent could be not saved | ||
2011-01-08 16:28 <hoRn> cedk: a reload says, that my action is stored. the usecase is: in a one2many-relation the user is filling some informations. after a while the informations are complete and now he creates a other object with this informations. seems strange, but is a usefull thing in production requests. first line is the specification of a product which not exists. if all parameters are asked from the... | ||
2011-01-08 16:28 <hoRn> ...client, the user can generate a product and a sale_line. | ||
2011-01-08 16:30 <hoRn> thats because of the client don't know all about the product at the first contact. so the company and the client are talking more than one time. | ||
2011-01-08 16:31 <cedk> hoRn: I don't say that the business is wrong. It is the design in Tryton that is wrong | ||
2011-01-08 16:32 <hoRn> cedk: ok - but it works ;). my claim is to hold all in one view. i know that this is strange, but i do not have a better idea ... | ||
2011-01-08 16:33 <cedk> hoRn: there will never be something that will trigger a reload of the form from a one2many | ||
2011-01-08 16:33 <hoRn> ok | ||
2011-01-08 16:34 <hoRn> cedk: so he needs to do a reload manual - its ok in this case | ||
2011-01-08 16:36 <cedk> hoRn: if you want but you could have issue with this design like concurency update or lost of user changes | ||
2011-01-08 16:40 -!- heg(~heg@212.147.80.137) has joined #tryton | ||
2011-01-08 16:41 <hoRn> cedk: i have seen that the form of a one2many writes the lines 'in realtime' - so i was thinking about how it works and if i can do the same in an other page of the same view | ||
2011-01-08 16:41 <cedk> hoRn: not sure what you mean by "in realtime" | ||
2011-01-08 16:43 <hoRn> cedk: example: when i add positions to a sale, the positions are written in the same time i write something in the opened window | ||
2011-01-08 16:44 <cedk> hoRn: what do you mean by "written"? | ||
2011-01-08 16:47 <hoRn> cedk: i open the addview of the one2many > than i put some values in the fields > in the mainframe this values are shown in the tree ... | ||
2011-01-08 16:47 <cedk> hoRn: ok this is because they have the same Model | ||
2011-01-08 16:48 <cedk> hoRn: but it is not written on the server | ||
2011-01-08 16:48 <hoRn> cedk: yes - and i was thinking about how to force this for a other model - stupid? ;) | ||
2011-01-08 16:49 <cedk> hoRn: don't understand | ||
2011-01-08 16:51 <hoRn> horn: is it than crazy? there are to one2many fields in one view but on diffrent pages. the user writes something to one of this both. If he decide that the stuff is good, he can push a button to write a set to the other model | ||
2011-01-08 16:52 <hoRn> cedk: i will rethink the general use of this ;) | ||
2011-01-08 16:53 <cedk> hoRn: what is a page? | ||
2011-01-08 16:53 <hoRn> notebook > page | ||
2011-01-08 16:53 <cedk> hoRn: so I don't know why you talk about page | ||
2011-01-08 16:57 <hoRn> cedk: its a page on a notebook | ||
2011-01-08 16:59 <cedk> hoRn: but it is just diplaying, it doesn't change anything to the design | ||
2011-01-08 16:59 -!- elbenfreund(~elbenfreu@p54B9707D.dip.t-dialin.net) has joined #tryton | ||
2011-01-08 17:04 <cedk> hoRn: you can perhaps use an on_change | ||
2011-01-08 17:09 <hoRn> cedk: i will think about - thats true. i can return the actual browserrecords. yes! for having an idea: http://grasbauer.com/news/spam/ | ||
2011-01-08 17:10 <cedk> hoRn: what is running behind the button? | ||
2011-01-08 17:12 <hoRn> cedk: a method which generates a line of the other model | ||
2011-01-08 17:12 <cedk> hoRn: so it should not work if the line is not saved | ||
2011-01-08 17:15 <hoRn> cedk: when i push the button, the actual form is saved and the action in the other model is done | ||
2011-01-08 17:17 <cedk> hoRn: I think this is a bug | ||
2011-01-08 17:18 <hoRn> cedk: nice bug and usefull ;) | ||
2011-01-08 17:19 <hoRn> cedk: no - is not saved | ||
2011-01-08 17:19 <hoRn> cedk: need to save it - ok | ||
2011-01-08 17:20 <hoRn> cedk: it only validates the form | ||
2011-01-08 17:20 <cedk> hoRn: could you be more precis? | ||
2011-01-08 17:23 <hoRn> cedk: when i push the button, the actual form will be validated, the method in the other model is done but if i cancel the action, there are no changes in the actual model | ||
2011-01-08 17:23 <hoRn> cedk: i think this is the right behavior | ||
2011-01-08 18:04 <cedk> hoRn: which method? What is "cancel the action"? | ||
2011-01-08 18:10 <hoRn> cedk: everything works as espected. the method behind the button does the stuff he should. if i cancel the form, everything in the actual model get a rollback. Thats works like it should. | ||
2011-01-08 18:27 <cedk> hoRn: I don't understand | ||
2011-01-08 18:27 <cedk> hoRn: what is "cancel the form"? | ||
2011-01-08 18:27 <cedk> hoRn: what is rollbacked? | ||
2011-01-08 18:27 <hoRn> cedk: press cancel button | ||
2011-01-08 18:29 <cedk> hoRn: which cancel button? | ||
2011-01-08 18:30 <hoRn> cedk: in the one2many - form . i have to rethink my model. thats the fact i know now. | ||
2011-01-08 18:31 <hoRn> cedk: i will go to empty my dog and smoke a cigarette - than i will refactor everything ;) | ||
2011-01-08 18:34 <cedk> any way, I filled an issue1809 for this | ||
2011-01-08 19:31 <hoRn> cedk: sorry for driving you nuts - but i think, there is no issue ;) take a look at http://grasbauer.com/news/spam/ - there is a screencast. | ||
2011-01-08 19:38 <cedk> hoRn: I'm pretty sure you got coating lines in the database that are not linked to main document | ||
2011-01-08 19:40 <hoRn> cedk: yes - a lot | ||
2011-01-08 19:43 <cedk> hoRn: so there is a bug | ||
2011-01-08 19:45 <hoRn> cedk: ok | ||
2011-01-08 20:25 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton | ||
2011-01-08 20:26 -!- dba(~daniel@178.63.150.30) has joined #tryton | ||
2011-01-08 20:26 -!- haggai(~halls@brooke.credativ.ltd.uk) has joined #tryton | ||
2011-01-08 20:35 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | ||
2011-01-08 21:16 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | ||
2011-01-08 21:33 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton | ||
2011-01-08 21:42 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton | ||
2011-01-08 22:22 -!- jcm_(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton | ||
2011-01-08 22:26 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | ||
2011-01-08 22:39 -!- pepeu(~manuel@201.152.146.108) has joined #tryton | ||
2011-01-08 22:47 <plantian> Hi, when I'm using a one2many or a many2many in a wizard I always get the fields in the [('add', []), ('create', {}), ...] format. Is there any kind of helper for converting these from this format ? | ||
2011-01-08 22:48 <plantian> http://paste.pocoo.org/show/317328/ -- this is what I'm doing now but it seems wrong | ||
2011-01-08 22:49 <cedk> plantian: not for now | ||
2011-01-08 22:56 <plantian> cedk: Okay thanks. | ||
2011-01-08 22:56 <cedk> plantian: there is a plan to use a BrowseRecord in the future | ||
2011-01-08 22:57 <cedk> plantian: but it will first require to merge BrowseRecord and Model | ||
2011-01-08 22:57 <plantian> This will work for non-storage models ? | ||
2011-01-08 22:58 <plantian> Oh so instead of using dictionaries for non-storage models browse records will be used. | ||
2011-01-08 23:01 <cedk> plantian: that's the idea | ||
2011-01-08 23:01 <plantian> I thought the add/update/remove functionality was to lower the amount of data sent between the client and the server? | ||
2011-01-08 23:01 <plantian> Or all models to be modified but all saved at once. | ||
2011-01-08 23:07 <cedk> plantian: it is not the case of wizards | ||
2011-01-08 23:32 <plantian> Is this the correct way to extend the price list? https://bitbucket.org/ianjosephwilson/product_price_list_grouping/src/32f96b1fc8e4/price_list.py Ie. by overloading the match method. The module product_grouping is another thing I wrote to group products arbitrarily. | ||
2011-01-08 23:41 <plantian> cedk: Sorry, its the ModelView only Models that I use with wizards that I think cause most of my problems. It seems that the add/remove/update stuff is for ModelSQL regardless of if its in a wizard or not. Is that wrong ? | ||
2011-01-08 23:43 <cedk> plantian: it is wrong |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!