IRC logs of #tryton for Saturday, 2012-04-07

chat.freenode.net #tryton log beginning Sat Apr 7 00:00:01 CEST 2012
-!- X-tonic(~bha1@115.248.130.148) has left #tryton00:34
-!- Mayank(~mayank@122.162.28.123) has left #tryton13:02
meanmicioHi everyone ! Anyone knows the state of the Rich Text Editor in Tryton ?14:43
meanmicioCurrently, when using LibreOffice, the newlines from text fields are not being shown14:45
oxcarHi, do you know how download all modules tryton in development on fly?  maybe something like that:  hg clone http://hg.tryton.org/modules/*15:16
-!- Mayank(~mayank@122.162.31.248) has left #tryton18:07
cedksharoonthomas: hi, did you look at the new design of OE?20:30
sharoonthomascedk: felt like i read a roadmap to becoming tryton20:30
cedksharoonthomas: :-)20:30
sharoonthomascedk: enjoyed the innocence with which the author tried to reinvent triton in OE20:31
cedksharoonthomas: nicoe said "But it is Tryton 1.0"20:31
sharoonthomascedk: i personally thought of helping them with links to changesets20:31
cedksharoonthomas: but I think there are design errors20:31
cedkthey replace on_change by on_change_with20:32
cedkbut I really think it requires both20:32
sharoonthomascedk: i found their roadmap confusing20:32
sharoonthomascedk: and also their idea of depends20:32
cedkjust need to look at on_change_product on sale20:32
cedkalso I really think default != on_change != getter20:33
cedka good idea is to have a kind of proteus inside modules20:34
cedkbut this was something I already thought about once we merge Model and BrowseRecord20:34
sharoonthomascedk: yes they have an active record pattern idea in the roadmap20:34
cedksharoonthomas: I think we can achieve it for 2.620:36
sharoonthomascedk: i think we are close too, and i believe it will make triton more python20:37
sharoonthomaspythonic20:37
cedksharoonthomas: I will try to provide a POC soon after release 2.420:37
cedksharoonthomas: I think they will have cache invalidation issue if they store record in self20:38
sharoonthomascedk: would love to see it, please consider this request - i would love to see function fields as property (with the getter/ setter)20:38
cedkalso I find this completly insane to use self for what they do20:39
cedksharoonthomas: not possible to use property20:39
cedksharoonthomas: property are not overritable20:39
cedkbut I think we can replace ids by a list of browserecord20:41
cedkuse class in pool instead of instance20:41
sharoonthomascedk: it could still be a weak ref to instance20:41
cedkuse something like: Pool.register(Sale, 'sale.sale') instead of instanciation20:41
cedksharoonthomas: don't understand20:42
sharoonthomascedk: have you seen the declarative extn of sql alchemy ?20:42
cedksharoonthomas: ???20:43
sharoonthomascedk: http://docs.sqlalchemy.org/en/latest/orm/extensions/declarative.html20:43
cedksharoonthomas: this looks similar to Tryton way20:45
sharoonthomascedk: exactly, its the closest match out there to our way20:45
cedksharoonthomas: something else, what is the plurial of BOM ?20:47
cedksharoonthomas: BOM's or BOMs20:47
sharoonthomascedk: checking20:48
sharoonthomascedk: looks like its BOMs http://help.sap.com/printdocu/core/print46c/en/data/pdf/PPBDBOM/PPBDBOM.pdf20:48
cedksharoonthomas: ok20:49
cedksharoonthomas: we also thought about how we will use python-sql in domain20:50
sharoonthomascedk: ok ?20:50
cedksharoonthomas: I think we will introduce a specific column object20:51
cedksharoonthomas: like that we could do:20:52
cedk[('quantity', '=', column('amount'))]20:52
sharoonthomascedk: ok20:53
sharoonthomascedk: that means a comparison in the db column level, cool20:54
cedksharoonthomas: and I would like to move the clause construction on the field21:01
sharoonthomascedk: can you explain, i did not understand21:02
cedksharoonthomas: now the domain in converted in ModelSQL21:03
sharoonthomascedk: yes21:03
cedksharoonthomas: but it doesn't allow to customize how a field should be converted into SQL21:04
cedksharoonthomas: if you create a new kind of field, this is a problem21:04
sharoonthomascedk: ok21:04
cedklike for the GIS patch, we can not manage all the operators possible21:04
-!- Mayank(~mayank@122.162.31.248) has left #tryton22:22
-!- X-tonic(~bha1@115.248.130.148) has left #tryton23:25

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!