IRC logs of #tryton for Thursday, 2008-09-04 #tryton log beginning Thu Sep 4 00:00:01 CEST 2008
-!- yangoon( has joined #tryton05:19
-!- skyz1r( has joined #tryton06:45
-!- Timitos(n=Timitos@ has joined #tryton07:23
-!- bechamel( has joined #tryton07:49
udonoGood Morning07:50
CIA-53tryton: 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" % (
-!- Gedd(n=ged@ has joined #tryton08:09
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:53
-!- gadaga( has joined #tryton08:55
-!- gadaga( has joined #tryton10:22
-!- tekknokrat( has joined #tryton10:29
CIA-53tryton: C?dric Krier <> default * 735:31bd042a4485 tryton/tryton/ (2 files in 2 dirs):11:11
CIA-53tryton: Initiate properties to default value11:11
CIA-53tryton: Set date family to Monospace and fix default width11:11
-!- gadaga( has joined #tryton11:32
-!- gadaga( has joined #tryton12:41
-!- mr_amit(n=amit@ has joined #tryton13:10
-!- mr_amit(n=amit@ has left #tryton13:10
-!- b52laptop(n=b52lapto@ has joined #tryton14:19
CIA-53tryton: gadaga roundup * #321/AttributeError: 'CellRendererDate' object has no attribute 'editable': [new] Traceback (most recent call last): File "/tryton/common/", line 40, in do_get_property return getattr(self, pspec.n ...14:25
CIA-53tryton: ced roundup * #321/AttributeError: 'CellRendererDate' object has no attribute 'editable': [resolved] Fix with changeset 31bd042a448514:26
CIA-53tryton: matb roundup * #319/Error in changing view of form Purchases: [resolved] duplicate of issue 321: Fix with changeset 31bd042a448516:08
-!- udono( has joined #tryton16:15
-!- gael_( has joined #tryton16:36
-!- CIA-53(n=CIA@ has joined #tryton16:47
cedkbechamel: I decide to change the parent keyword used in domain and context17:03
cedkbechamel: into _parent_ + field_name17:03
cedkbechamel: where field_name is the name of the field that make the relation17:03
cedkbechamel: by example in the invoice.line17:04
cedkbechamel: you must use _parent_invoice.currency to have the currency of the invoice17:04
cedkbechamel: is it ok ?17:04
gadagacedk: icons are truncate in form for one2many list17:05
cedkgadaga: which icons ?17:07
gadagacedk: new record, open, delete17:08
gadagacedk: for example in invoice - tax liines17:08
bechamelcedk: i would prefer parent:invoice.currency or somthing like that17:10
cedkbechamel: not possible17:10
bechamelcedk: why ?17:10
cedkbechamel: it must be python expression17:10
cedkgadaga: I don't have any problem17:10
bechamelcedk: damn17:10
cedkgadaga: send a screenshot17:10
gadagacedk: email sent with the screenshot17:12
bechamelcedk: and what about simply  invoice.currency17:13
cedkbechamel: because you can have invoice in the fields17:15
cedkbechamel: and it must return the id17:15
bechamelcedk: and is it possible to change it and use for the id ?17:17
cedkbechamel: no because it is not a browserecord in the client17:18
cedkbechamel: I start the change and there is only in invoice, purchase, sale17:20
cedkbechamel: where we use the parent17:20
cedkbechamel: and for also one field in ir.rule17:20
bechamelcedk: i was just searching for a more friendly syntax :)17:21
cedkbechamel: and change for, we must so change all the domain to become [('', '=', ..)]17:21
cedkbechamel: it must not "collidate" with any existing field17:21
cedkbechamel: that is why I start it with a _17:22
cedkgadaga: I have not yet received any email17:24
bechamelcedk: greylist maybe17:25
cedkbechamel: yes, that why roundup is better :-)17:27
gadagacedk: i dcc the screenshot17:34
-!- tekknokrat( has left #tryton17:34
cedkgadaga: I don't receive it but I receive a warning about lower port17:37
gadagacedk: erf17:37
cedkgadaga: it is your theme17:45
gadagacedk: i don't touch the theme ;)17:46
gadagacedk: i try aan another17:46
cedkgadaga: but I change the eventbox button into real button17:47
gadagacedk: i refresh my theme and it's ok ....17:49
cedkgadaga: what do you mean by refresh ?17:50
gadagacedk: just change my theme and go back to the previous17:52
-!- CIA-52(n=CIA@ has joined #tryton17:58
cedkbechamel: and for the id of the error message, I use 'domain_' + field_name18:12
cedkbechamel: if it is ok, I can commit18:13
bechamelcedk: yes ok18:14
cedkI have made some test (create purchase, sale, invoice, packing, etc...)18:15
cedkI think that I have fixed all the error but I have perhaps let somes18:15
bechamelcedk: and it's not too slow ?18:15
cedkso if every body can make some test after my push18:15
cedkbechamel: I don't see any changes18:16
bechamelcedk: ok18:16
cedkbechamel: there is not some much domain validation18:16
cedkbut I really think it is the good way18:16
cedkI find some wrong domain that doesn't work18:17
cedkand we will find it before only if someone try to click on one button18:17
cedkfor people who don't know what we are talking18:18
bechamelcedk: i i think also that domain must be ensured at best18:18
cedkwe start to implement on the server side the validation of the domain that are stored on the field18:18
cedklike for purchase line, the product must be purchasable18:19
cedkso there is a domain [('purchasable', '=', True)] on the product field of purchase.line18:19
cedkso this constraint was only check on the client side18:20
cedkand that is not really correct on a client/server application to trust the client18:20
cedkso we have add a validation on the create and write of a object for all the field that have a domain18:20
CIA-52tryton: C?dric Krier <> default * 736:b856c613d602 tryton/tryton/gui/window/view_form/ (5 files in 3 dirs): Remove domain constraint and use new domain evaluation18:31
CIA-52tryton: C?dric Krier <> default * 911:33920a4a457e trytond/trytond/res/ ( Use list domain instead of string18:31
CIA-52tryton: C?dric Krier <> default * 912:067ab61c072a trytond/trytond/osv/ Fix = False for boolean to not use is NULL18:31
CIA-52tryton: C?dric Krier <> default * 913:4fd1ce4a7128 trytond/trytond/osv/
CIA-52tryton: Re-introduce BrowseRecordNull18:31
CIA-52tryton: Allow to browse for record that have 0 as id18:31
CIA-52tryton: C?dric Krier <> default * 914:2a32dcbba922 trytond/trytond/ (ir/ osv/ Add domain validation18:31
CIA-52tryton: C?dric Krier <> default * 185:7fbd9910875b account/ Use name_get for default value18:31
CIA-52tryton: C?dric Krier <> default * 186:a8f20ac97758 account/ Fix search on period for new clause syntax18:31
CIA-52tryton: C?dric Krier <> default * 100:11a94c881501 account_invoice/ Fix search on uom for new clause syntax18:31
CIA-52tryton: C?dric Krier <> default * 101:768ee62e42f8 account_invoice/ Fix typo in journal domain18:31
CIA-52tryton: C?dric Krier <> default * 102:f62a16e963d1 account_invoice/ ( invoice.xml): Fix for new domain evaluation18:31
CIA-52tryton: C?dric Krier <> default * 4:b1b88dbf5e7f google_maps/ Fix encoding for issue31818:31
CIA-52tryton: C?dric Krier <> default * 4:f3414b6c68ac project_revenue/ Fix search product for new clause syntax18:31
CIA-52tryton: C?dric Krier <> default * 81:b9946422e4ae purchase/ ( purchase.xml): Fix for new domain evaluation18:32
CIA-52tryton: C?dric Krier <> default * 198:f072938497e4 stock/ Fix search for new clause syntax18:32
CIA-52tryton: C?dric Krier <> default * 199:f8f6124f2f1b stock/packing.xml: Add missing unit_digits on packing in moves18:32
cedknow let's go for testing the new feature :-)18:32
bechamelcedk: :)18:32
CIA-52tryton: ced roundup * #318/Error in selecting company for new employee: [resolved] Fixed with many changeset (so I don't put the list :-)18:35
cedkbechamel: what do you think about the issue317?18:35
bechamelcedk: maybe the client should ask to save all the tabs before changing the company18:37
bechamelcedk: ... and reload them after18:37
cedkbechamel: reload will not work because context will stay18:39
CIA-52tryton: C?dric Krier <> default * 915:0128aaa101cc trytond/trytond/ Add error message about module not found for issue32018:40
bechamelcedk: so the best is to close all the tabs18:40
CIA-52tryton: ced roundup * #320/Starting Tryton in init/update mode with a wrong modulename tells: Update/Init succeed!: [resolved] Fix with changeset 0128aaa101cc18:40
cedkbechamel: but in fact I don't see really what is the problem about having tabs with old company18:43
yangoonhi cedk, just reading about 31718:46
yangooncedk: because if you introduce new records on those tabs, they will be in the context of the old company18:46
yangooncedk: and this is probably not intended, if the user changed company18:46
yangooncedk: 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 company18:48
yangooncedk: it could be a feature, if there was a very clear sign, in which context the actual tab is18:49
CIA-52tryton: C?dric Krier <> default * 916:4f2b559a0563 trytond/trytond/osv/ Improve active test in search for inherited fields18:49
cedksimplest solution is to close all tabs but it can be annoying for some user18:49
cedkthat just want to switch preference just to test something18:50
cedkor keep context on each tab18:51
cedkbut the last will be very difficult18:51
yangooncedk: closing all tabs would be the strictest way to avoid errors on user side18:51
yangooncedk: disadvantage: as you say, there could be some interest in working in multiple companies at the same time18:52
CIA-52tryton: 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.18:52
yangooncedk: but then clear context is mandatory18:53
cedkyangoon: context is not only company18:54
yangooncedk: what else? financial year?18:55
cedkyangoon: there is language18:57
cedkyangoon: timezone18:58
cedkyangoon: but tab context will be very difficult because on the server side sometimes we take the value from the database which means the last preference18:58
yangooncedk: but if you set tab context at the moment of opening the tab, you should know about it, correct?19:02
yangooncedk: and since it doesn't change for the life time of the tab...19:03
cedkyangoon: but for the workflow or other stuff, we can need to read on the database to have user information19:04
yangooncedk: do I understand correctly: there could be a mix between properties of different company?19:07
yangooncedk: on one and the same tab I am working on?19:07
cedkyangoon: I don't understand19:08
yangooncedk: what about the workflow you mention: it can be different for different companies?19:09
yangooncedk: and the workflow is read always for the current user by the server?19:10
cedkyangoon: workflow call function but I'm not sure that he keep the context19:14
CIA-52tryton: C?dric Krier <> default * 737:ae4fe7a97f3c tryton/tryton/ (3 files in 2 dirs): Add color on editing cell19:18
yangooncedk: if there is the slightest possibilty, that old and new context is mixed, then anyway tabs should be closed19:29
yangooncedk: and OTOH: if someone wants to work in different companies side by side, he can start another client anyway19:34
yangooncedk: have to go now, cu19:34
cedkyangoon: yes for open an other client but he must loggin with an other user20:16
-!- ChanServ(ChanServ@services.) has joined #tryton20:58
-!- markusleist( has joined #tryton20:58
-!- Timito1(n=Timitos@ has joined #tryton21:13
-!- CIA-45(n=CIA@ has joined #tryton21:27
-!- Timito1(n=Timitos@ has left #tryton21:59
-!- ChanServ(ChanServ@services.) has joined #tryton22:55
CIA-45tryton: C?dric Krier <> default * 738:e012a6efed16 tryton/tryton/common/ If value is empty use clear instead of set_text for date renderer23:09
CIA-45tryton: C?dric Krier <> default * 739:e0cd762eb97a tryton/tryton/gui/window/view_form/screen/ Return True or False for remove on screen23:09
CIA-45tryton: Bertrand Chenal <> default * 200:dbdb0b600b58 stock/ Handle correctly max date.23:19
CIA-45tryton: 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 ...23:39

Generated by 2.11.0 by Marius Gedminas - find it at!