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

chat.freenode.net #tryton log beginning Sat Apr 7 00:00:01 CEST 2012
2012-04-07 00:34 -!- X-tonic(~bha1@115.248.130.148) has left #tryton
2012-04-07 13:02 -!- Mayank(~mayank@122.162.28.123) has left #tryton
2012-04-07 14:43 <meanmicio> Hi everyone ! Anyone knows the state of the Rich Text Editor in Tryton ?
2012-04-07 14:45 <meanmicio> Currently, when using LibreOffice, the newlines from text fields are not being shown
2012-04-07 15:16 <oxcar> Hi, do you know how download all modules tryton in development on fly? maybe something like that: hg clone http://hg.tryton.org/modules/*
2012-04-07 18:07 -!- Mayank(~mayank@122.162.31.248) has left #tryton
2012-04-07 20:30 <cedk> sharoonthomas: hi, did you look at the new design of OE?
2012-04-07 20:30 <sharoonthomas> cedk: felt like i read a roadmap to becoming tryton
2012-04-07 20:30 <cedk> sharoonthomas: :-)
2012-04-07 20:31 <sharoonthomas> cedk: enjoyed the innocence with which the author tried to reinvent triton in OE
2012-04-07 20:31 <cedk> sharoonthomas: nicoe said "But it is Tryton 1.0"
2012-04-07 20:31 <sharoonthomas> cedk: i personally thought of helping them with links to changesets
2012-04-07 20:31 <cedk> sharoonthomas: but I think there are design errors
2012-04-07 20:32 <cedk> they replace on_change by on_change_with
2012-04-07 20:32 <cedk> but I really think it requires both
2012-04-07 20:32 <sharoonthomas> cedk: i found their roadmap confusing
2012-04-07 20:32 <sharoonthomas> cedk: and also their idea of depends
2012-04-07 20:32 <cedk> just need to look at on_change_product on sale
2012-04-07 20:33 <cedk> also I really think default != on_change != getter
2012-04-07 20:34 <cedk> a good idea is to have a kind of proteus inside modules
2012-04-07 20:34 <cedk> but this was something I already thought about once we merge Model and BrowseRecord
2012-04-07 20:34 <sharoonthomas> cedk: yes they have an active record pattern idea in the roadmap
2012-04-07 20:36 <cedk> sharoonthomas: I think we can achieve it for 2.6
2012-04-07 20:37 <sharoonthomas> cedk: i think we are close too, and i believe it will make triton more python
2012-04-07 20:37 <sharoonthomas> pythonic
2012-04-07 20:37 <cedk> sharoonthomas: I will try to provide a POC soon after release 2.4
2012-04-07 20:38 <cedk> sharoonthomas: I think they will have cache invalidation issue if they store record in self
2012-04-07 20:38 <sharoonthomas> cedk: would love to see it, please consider this request - i would love to see function fields as property (with the getter/ setter)
2012-04-07 20:39 <cedk> also I find this completly insane to use self for what they do
2012-04-07 20:39 <cedk> sharoonthomas: not possible to use property
2012-04-07 20:39 <cedk> sharoonthomas: property are not overritable
2012-04-07 20:41 <cedk> but I think we can replace ids by a list of browserecord
2012-04-07 20:41 <cedk> use class in pool instead of instance
2012-04-07 20:41 <sharoonthomas> cedk: it could still be a weak ref to instance
2012-04-07 20:41 <cedk> use something like: Pool.register(Sale, 'sale.sale') instead of instanciation
2012-04-07 20:42 <cedk> sharoonthomas: don't understand
2012-04-07 20:42 <sharoonthomas> cedk: have you seen the declarative extn of sql alchemy ?
2012-04-07 20:43 <cedk> sharoonthomas: ???
2012-04-07 20:43 <sharoonthomas> cedk: http://docs.sqlalchemy.org/en/latest/orm/extensions/declarative.html
2012-04-07 20:45 <cedk> sharoonthomas: this looks similar to Tryton way
2012-04-07 20:45 <sharoonthomas> cedk: exactly, its the closest match out there to our way
2012-04-07 20:47 <cedk> sharoonthomas: something else, what is the plurial of BOM ?
2012-04-07 20:47 <cedk> sharoonthomas: BOM's or BOMs
2012-04-07 20:48 <sharoonthomas> cedk: checking
2012-04-07 20:48 <sharoonthomas> cedk: looks like its BOMs http://help.sap.com/printdocu/core/print46c/en/data/pdf/PPBDBOM/PPBDBOM.pdf
2012-04-07 20:49 <cedk> sharoonthomas: ok
2012-04-07 20:50 <cedk> sharoonthomas: we also thought about how we will use python-sql in domain
2012-04-07 20:50 <sharoonthomas> cedk: ok ?
2012-04-07 20:51 <cedk> sharoonthomas: I think we will introduce a specific column object
2012-04-07 20:52 <cedk> sharoonthomas: like that we could do:
2012-04-07 20:52 <cedk> [('quantity', '=', column('amount'))]
2012-04-07 20:53 <sharoonthomas> cedk: ok
2012-04-07 20:54 <sharoonthomas> cedk: that means a comparison in the db column level, cool
2012-04-07 21:01 <cedk> sharoonthomas: and I would like to move the clause construction on the field
2012-04-07 21:02 <sharoonthomas> cedk: can you explain, i did not understand
2012-04-07 21:03 <cedk> sharoonthomas: now the domain in converted in ModelSQL
2012-04-07 21:03 <sharoonthomas> cedk: yes
2012-04-07 21:04 <cedk> sharoonthomas: but it doesn't allow to customize how a field should be converted into SQL
2012-04-07 21:04 <cedk> sharoonthomas: if you create a new kind of field, this is a problem
2012-04-07 21:04 <sharoonthomas> cedk: ok
2012-04-07 21:04 <cedk> like for the GIS patch, we can not manage all the operators possible
2012-04-07 22:22 -!- Mayank(~mayank@122.162.31.248) has left #tryton
2012-04-07 23:25 -!- X-tonic(~bha1@115.248.130.148) has left #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!