IRC logs of #tryton for Thursday, 2008-09-04

chat.freenode.net #tryton log beginning Thu Sep 4 00:00:01 CEST 2008
2008-09-04 05:19 -!- yangoon(n=mathiasb@p549F4C7A.dip.t-dialin.net) has joined #tryton
2008-09-04 06:45 -!- skyz1r(i=nil@motocultabl.eu) has joined #tryton
2008-09-04 07:23 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-09-04 07:49 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-09-04 07:50 <udono> Good Morning
2008-09-04 07:54 <Timitos> hi
2008-09-04 08:08 <CIA-53> tryton: udono roundup * #320/Starting Tryton in init/update mode with a wrong modulename tells: Update/Init succeed!: [new] But it should alert an Error like "Module %s not found" % (module.name)
2008-09-04 08:09 -!- Gedd(n=ged@77.109.115.62) has joined #tryton
2008-09-04 08:53 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-09-04 08:55 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-09-04 08:55 <gadaga> hi
2008-09-04 10:22 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-09-04 10:29 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton
2008-09-04 11:11 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 735:31bd042a4485 tryton/tryton/ (2 files in 2 dirs):
2008-09-04 11:11 <CIA-53> tryton: Initiate properties to default value
2008-09-04 11:11 <CIA-53> tryton: Set date family to Monospace and fix default width
2008-09-04 11:32 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-09-04 12:41 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-09-04 13:10 -!- mr_amit(n=amit@219.91.131.188) has joined #tryton
2008-09-04 13:10 -!- mr_amit(n=amit@219.91.131.188) has left #tryton
2008-09-04 14:19 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-09-04 14:25 <CIA-53> tryton: gadaga roundup * #321/AttributeError: 'CellRendererDate' object has no attribute 'editable': [new] Traceback (most recent call last): File "/tryton/common/cellrendererdate.py", line 40, in do_get_property return getattr(self, pspec.n ...
2008-09-04 14:26 <CIA-53> tryton: ced roundup * #321/AttributeError: 'CellRendererDate' object has no attribute 'editable': [resolved] Fix with changeset 31bd042a4485
2008-09-04 16:08 <CIA-53> tryton: matb roundup * #319/Error in changing view of form Purchases: [resolved] duplicate of issue 321: Fix with changeset 31bd042a4485
2008-09-04 16:15 -!- udono(n=udono@dynamic-unidsl-85-197-22-110.westend.de) has joined #tryton
2008-09-04 16:36 -!- gael_(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-09-04 16:47 -!- CIA-53(n=CIA@208.69.182.149) has joined #tryton
2008-09-04 17:03 <cedk> bechamel: I decide to change the parent keyword used in domain and context
2008-09-04 17:03 <cedk> bechamel: into _parent_ + field_name
2008-09-04 17:03 <cedk> bechamel: where field_name is the name of the field that make the relation
2008-09-04 17:04 <cedk> bechamel: by example in the invoice.line
2008-09-04 17:04 <cedk> bechamel: you must use _parent_invoice.currency to have the currency of the invoice
2008-09-04 17:04 <cedk> bechamel: is it ok ?
2008-09-04 17:05 <gadaga> cedk: icons are truncate in form for one2many list
2008-09-04 17:07 <cedk> gadaga: which icons ?
2008-09-04 17:08 <gadaga> cedk: new record, open, delete
2008-09-04 17:08 <gadaga> cedk: for example in invoice - tax liines
2008-09-04 17:10 <bechamel> cedk: i would prefer parent:invoice.currency or somthing like that
2008-09-04 17:10 <cedk> bechamel: not possible
2008-09-04 17:10 <bechamel> cedk: why ?
2008-09-04 17:10 <cedk> bechamel: it must be python expression
2008-09-04 17:10 <cedk> gadaga: I don't have any problem
2008-09-04 17:10 <bechamel> cedk: damn
2008-09-04 17:10 <cedk> gadaga: send a screenshot
2008-09-04 17:12 <gadaga> cedk: email sent with the screenshot
2008-09-04 17:13 <bechamel> cedk: and what about simply invoice.currency
2008-09-04 17:15 <cedk> bechamel: because you can have invoice in the fields
2008-09-04 17:15 <cedk> bechamel: and it must return the id
2008-09-04 17:17 <bechamel> cedk: and is it possible to change it and use invoice.id for the id ?
2008-09-04 17:18 <cedk> bechamel: no because it is not a browserecord in the client
2008-09-04 17:20 <cedk> bechamel: I start the change and there is only in invoice, purchase, sale
2008-09-04 17:20 <cedk> bechamel: where we use the parent
2008-09-04 17:20 <cedk> bechamel: and for also one field in ir.rule
2008-09-04 17:21 <bechamel> cedk: i was just searching for a more friendly syntax :)
2008-09-04 17:21 <cedk> bechamel: and change for invoice.id, we must so change all the domain to become [('field.id', '=', ..)]
2008-09-04 17:21 <cedk> bechamel: it must not "collidate" with any existing field
2008-09-04 17:22 <cedk> bechamel: that is why I start it with a _
2008-09-04 17:24 <cedk> gadaga: I have not yet received any email
2008-09-04 17:25 <bechamel> cedk: greylist maybe
2008-09-04 17:27 <cedk> bechamel: yes, that why roundup is better :-)
2008-09-04 17:34 <gadaga> cedk: i dcc the screenshot
2008-09-04 17:34 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton
2008-09-04 17:37 <cedk> gadaga: I don't receive it but I receive a warning about lower port
2008-09-04 17:37 <gadaga> cedk: erf
2008-09-04 17:45 <cedk> gadaga: it is your theme
2008-09-04 17:46 <gadaga> cedk: i don't touch the theme ;)
2008-09-04 17:46 <gadaga> cedk: i try aan another
2008-09-04 17:47 <cedk> gadaga: but I change the eventbox button into real button
2008-09-04 17:49 <gadaga> cedk: i refresh my theme and it's ok ....
2008-09-04 17:50 <cedk> gadaga: what do you mean by refresh ?
2008-09-04 17:52 <gadaga> cedk: just change my theme and go back to the previous
2008-09-04 17:58 -!- CIA-52(n=CIA@208.69.182.149) has joined #tryton
2008-09-04 18:12 <cedk> bechamel: and for the id of the error message, I use 'domain_' + field_name
2008-09-04 18:13 <cedk> bechamel: if it is ok, I can commit
2008-09-04 18:14 <bechamel> cedk: yes ok
2008-09-04 18:15 <cedk> I have made some test (create purchase, sale, invoice, packing, etc...)
2008-09-04 18:15 <cedk> I think that I have fixed all the error but I have perhaps let somes
2008-09-04 18:15 <bechamel> cedk: and it's not too slow ?
2008-09-04 18:15 <cedk> so if every body can make some test after my push
2008-09-04 18:16 <cedk> bechamel: I don't see any changes
2008-09-04 18:16 <bechamel> cedk: ok
2008-09-04 18:16 <cedk> bechamel: there is not some much domain validation
2008-09-04 18:16 <cedk> but I really think it is the good way
2008-09-04 18:17 <cedk> I find some wrong domain that doesn't work
2008-09-04 18:17 <cedk> and we will find it before only if someone try to click on one button
2008-09-04 18:18 <cedk> for people who don't know what we are talking
2008-09-04 18:18 <bechamel> cedk: i i think also that domain must be ensured at best
2008-09-04 18:18 <cedk> we start to implement on the server side the validation of the domain that are stored on the field
2008-09-04 18:19 <cedk> like for purchase line, the product must be purchasable
2008-09-04 18:19 <cedk> so there is a domain [('purchasable', '=', True)] on the product field of purchase.line
2008-09-04 18:20 <cedk> so this constraint was only check on the client side
2008-09-04 18:20 <cedk> and that is not really correct on a client/server application to trust the client
2008-09-04 18:20 <cedk> so we have add a validation on the create and write of a object for all the field that have a domain
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 736:b856c613d602 tryton/tryton/gui/window/view_form/ (5 files in 3 dirs): Remove domain constraint and use new domain evaluation
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 911:33920a4a457e trytond/trytond/res/ (group.py user.py): Use list domain instead of string
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 912:067ab61c072a trytond/trytond/osv/orm.py: Fix = False for boolean to not use is NULL
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 913:4fd1ce4a7128 trytond/trytond/osv/orm.py:
2008-09-04 18:31 <CIA-52> tryton: Re-introduce BrowseRecordNull
2008-09-04 18:31 <CIA-52> tryton: Allow to browse for record that have 0 as id
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 914:2a32dcbba922 trytond/trytond/ (ir/rule.py osv/orm.py): Add domain validation
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 185:7fbd9910875b account/tax.py: Use name_get for default value
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 186:a8f20ac97758 account/period.py: Fix search on period for new clause syntax
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 100:11a94c881501 account_invoice/invoice.py: Fix search on uom for new clause syntax
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 101:768ee62e42f8 account_invoice/invoice.py: Fix typo in journal domain
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 102:f62a16e963d1 account_invoice/ (invoice.py invoice.xml): Fix for new domain evaluation
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 4:b1b88dbf5e7f google_maps/address.py: Fix encoding for issue318
2008-09-04 18:31 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 4:f3414b6c68ac project_revenue/timesheet.py: Fix search product for new clause syntax
2008-09-04 18:32 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 81:b9946422e4ae purchase/ (purchase.py purchase.xml): Fix for new domain evaluation
2008-09-04 18:32 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 198:f072938497e4 stock/move.py: Fix search for new clause syntax
2008-09-04 18:32 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 199:f8f6124f2f1b stock/packing.xml: Add missing unit_digits on packing in moves
2008-09-04 18:32 <cedk> voila
2008-09-04 18:32 <cedk> now let's go for testing the new feature :-)
2008-09-04 18:32 <bechamel> cedk: :)
2008-09-04 18:35 <CIA-52> tryton: ced roundup * #318/Error in selecting company for new employee: [resolved] Fixed with many changeset (so I don't put the list :-)
2008-09-04 18:35 <cedk> bechamel: what do you think about the issue317?
2008-09-04 18:37 <bechamel> cedk: maybe the client should ask to save all the tabs before changing the company
2008-09-04 18:37 <bechamel> cedk: ... and reload them after
2008-09-04 18:39 <cedk> bechamel: reload will not work because context will stay
2008-09-04 18:40 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 915:0128aaa101cc trytond/trytond/module.py: Add error message about module not found for issue320
2008-09-04 18:40 <bechamel> cedk: so the best is to close all the tabs
2008-09-04 18:40 <CIA-52> tryton: ced roundup * #320/Starting Tryton in init/update mode with a wrong modulename tells: Update/Init succeed!: [resolved] Fix with changeset 0128aaa101cc
2008-09-04 18:43 <cedk> bechamel: but in fact I don't see really what is the problem about having tabs with old company
2008-09-04 18:46 <yangoon> hi cedk, just reading about 317
2008-09-04 18:46 <yangoon> cedk: because if you introduce new records on those tabs, they will be in the context of the old company
2008-09-04 18:46 <yangoon> cedk: and this is probably not intended, if the user changed company
2008-09-04 18:48 <yangoon> cedk: additionaly this is not shown in the status bar: there is a mixture of tabs belonging to one company or the other, but it always shows current company
2008-09-04 18:49 <yangoon> cedk: it could be a feature, if there was a very clear sign, in which context the actual tab is
2008-09-04 18:49 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 916:4f2b559a0563 trytond/trytond/osv/orm.py: Improve active test in search for inherited fields
2008-09-04 18:49 <cedk> simplest solution is to close all tabs but it can be annoying for some user
2008-09-04 18:50 <cedk> that just want to switch preference just to test something
2008-09-04 18:51 <cedk> or keep context on each tab
2008-09-04 18:51 <cedk> but the last will be very difficult
2008-09-04 18:51 <yangoon> cedk: closing all tabs would be the strictest way to avoid errors on user side
2008-09-04 18:52 <yangoon> cedk: disadvantage: as you say, there could be some interest in working in multiple companies at the same time
2008-09-04 18:52 <CIA-52> tryton: udono roundup * #322/Uninstall Modules: [new] How we can get back the uninstall function for Modules? Maybe we collect here what exactly is the problem with uninstalling.
2008-09-04 18:53 <yangoon> cedk: but then clear context is mandatory
2008-09-04 18:54 <cedk> yangoon: context is not only company
2008-09-04 18:55 <yangoon> cedk: what else? financial year?
2008-09-04 18:57 <cedk> yangoon: there is language
2008-09-04 18:58 <cedk> yangoon: timezone
2008-09-04 18:58 <cedk> yangoon: but tab context will be very difficult because on the server side sometimes we take the value from the database which means the last preference
2008-09-04 19:02 <yangoon> cedk: but if you set tab context at the moment of opening the tab, you should know about it, correct?
2008-09-04 19:03 <yangoon> cedk: and since it doesn't change for the life time of the tab...
2008-09-04 19:04 <cedk> yangoon: but for the workflow or other stuff, we can need to read on the database to have user information
2008-09-04 19:07 <yangoon> cedk: do I understand correctly: there could be a mix between properties of different company?
2008-09-04 19:07 <yangoon> cedk: on one and the same tab I am working on?
2008-09-04 19:08 <cedk> yangoon: I don't understand
2008-09-04 19:09 <yangoon> cedk: what about the workflow you mention: it can be different for different companies?
2008-09-04 19:10 <yangoon> cedk: and the workflow is read always for the current user by the server?
2008-09-04 19:14 <cedk> yangoon: workflow call function but I'm not sure that he keep the context
2008-09-04 19:18 <CIA-52> tryton: C?dric Krier <ced@b2ck.com> default * 737:ae4fe7a97f3c tryton/tryton/ (3 files in 2 dirs): Add color on editing cell
2008-09-04 19:29 <yangoon> cedk: if there is the slightest possibilty, that old and new context is mixed, then anyway tabs should be closed
2008-09-04 19:34 <yangoon> cedk: and OTOH: if someone wants to work in different companies side by side, he can start another client anyway
2008-09-04 19:34 <yangoon> cedk: have to go now, cu
2008-09-04 20:16 <cedk> yangoon: yes for open an other client but he must loggin with an other user
2008-09-04 20:58 -!- ChanServ(ChanServ@services.) has joined #tryton
2008-09-04 20:58 -!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton
2008-09-04 21:13 -!- Timito1(n=Timitos@88.217.184.172) has joined #tryton
2008-09-04 21:27 -!- CIA-45(n=CIA@208.69.182.149) has joined #tryton
2008-09-04 21:59 -!- Timito1(n=Timitos@88.217.184.172) has left #tryton
2008-09-04 22:55 -!- ChanServ(ChanServ@services.) has joined #tryton
2008-09-04 23:09 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 738:e012a6efed16 tryton/tryton/common/cellrendererdate.py: If value is empty use clear instead of set_text for date renderer
2008-09-04 23:09 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 739:e0cd762eb97a tryton/tryton/gui/window/view_form/screen/screen.py: Return True or False for remove on screen
2008-09-04 23:19 <CIA-45> tryton: Bertrand Chenal <bch@b2ck.com> default * 200:dbdb0b600b58 stock/product.py: Handle correctly max date.
2008-09-04 23:39 <CIA-45> tryton: ced roundup * #322/Uninstall Modules: [in-progress] Some issues about uninstalling modules: - if the module add fields on table that have constraint, so uninstalling the module will l ...

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