chat.freenode.net #tryton log beginning Fri Feb 13 00:00:01 CET 2015 | ||
2015-02-13 00:42 -!- newzen(~newzen@190.36.80.12) has joined #tryton | ||
2015-02-13 01:04 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton | ||
2015-02-13 01:37 -!- digitalsatori(~Thunderbi@116.234.194.116) has joined #tryton | ||
2015-02-13 01:47 -!- digitalsatori(~Thunderbi@116.234.194.236) has joined #tryton | ||
2015-02-13 02:45 -!- digitalsatori1(~Thunderbi@116.234.194.116) has joined #tryton | ||
2015-02-13 03:38 -!- TheCowboy`(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton | ||
2015-02-13 03:45 -!- munron(~AndChat68@197.211.216.214) has joined #tryton | ||
2015-02-13 04:10 -!- plantian(~ian@206-211-209-202.utilitytelephone.net) has joined #tryton | ||
2015-02-13 05:55 -!- munron(~AndChat68@197.211.216.214) has joined #tryton | ||
2015-02-13 06:01 -!- yangoon(~mathiasb@p549F1CDC.dip0.t-ipconnect.de) has joined #tryton | ||
2015-02-13 06:40 -!- frispete(~frispete@p54A90FB1.dip0.t-ipconnect.de) has joined #tryton | ||
2015-02-13 07:26 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton | ||
2015-02-13 08:14 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2015-02-13 08:32 -!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton | ||
2015-02-13 08:44 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton | ||
2015-02-13 08:58 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2015-02-13 09:15 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton | ||
2015-02-13 09:17 -!- Rollo(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton | ||
2015-02-13 09:21 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2015-02-13 09:36 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton | ||
2015-02-13 10:16 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton | ||
2015-02-13 10:26 -!- newzen(~newzen@190.36.80.12) has joined #tryton | ||
2015-02-13 10:33 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton | ||
2015-02-13 10:40 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton | ||
2015-02-13 10:42 -!- newzen(~newzen@190.36.80.12) has joined #tryton | ||
2015-02-13 11:37 -!- udono(~udono@p50938317.dip0.t-ipconnect.de) has joined #tryton | ||
2015-02-13 12:00 -!- pobsteta(~Thunderbi@37.162.179.45) has joined #tryton | ||
2015-02-13 12:04 -!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton | ||
2015-02-13 12:06 -!- kstenger(~karla@200.124.209.158) has joined #tryton | ||
2015-02-13 12:07 -!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton | ||
2015-02-13 12:09 <VaticanCameos> I have a reference field (say, origin). What would the domain clause to check if origin is a SaleLine record look like? ('origin', some_operator, 'sale.line') | ||
2015-02-13 12:11 <pokoli> VaticanCameos: why not using directly Many2One in this case? | ||
2015-02-13 12:12 <cedk> VaticanCameos: ('origin', 'ilike', 'sale.line,%') | ||
2015-02-13 12:14 <VaticanCameos> pokoli: Purchase requests have origin field as reference | ||
2015-02-13 12:15 <VaticanCameos> cedk: got it, thanks | ||
2015-02-13 12:15 <pokoli> VaticanCameos: sorry i understood you where adding a new field, with a domain clause sorry :S | ||
2015-02-13 12:31 -!- munron(~AndChat68@197.211.216.214) has joined #tryton | ||
2015-02-13 12:36 -!- mariomop(~quassel@host237.190-138-112.telecom.net.ar) has joined #tryton | ||
2015-02-13 12:41 -!- munron(~AndChat68@197.211.216.214) has joined #tryton | ||
2015-02-13 12:42 <buxy> Hello | ||
2015-02-13 12:43 <buxy> if I change the id of an object in a XML file describing templates, will the object with the old ID be dropped and a new one created instead? | ||
2015-02-13 12:43 <buxy> What if that object is a child of another object? | ||
2015-02-13 12:44 <pokoli> buxy: tempalte has an ondelete restrict, so it will prevent deleting parents | ||
2015-02-13 12:46 <buxy> pokoli: ok, I was not worried about this (the parent template is left unchanged), my question is whether it's safe to change the id of an object and expect the former object to be dropped and replaced by the new one (both at the template level and at the real object level) | ||
2015-02-13 12:46 <buxy> more concretely I'm speaking here of an account.tax.rule.line.template | ||
2015-02-13 12:47 <pokoli> buxy: i'm wondering why you want to do so | ||
2015-02-13 12:48 <pokoli> buxy: the former objects will not be replaced | ||
2015-02-13 12:48 <buxy> pokoli: to match a naming convention | ||
2015-02-13 12:48 <pokoli> buxy: so a new one will be created but the old one will not be deleted | ||
2015-02-13 12:49 <buxy> ok, so I guess I will have to keep the bad id instead | ||
2015-02-13 12:55 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton | ||
2015-02-13 13:25 -!- jcros1(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton | ||
2015-02-13 13:39 -!- nicoe(~nicoe@82-212-130-50.teledisnet.be) has joined #tryton | ||
2015-02-13 14:13 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton | ||
2015-02-13 14:13 -!- hiaselhans(~Thunderbi@213162068217.public.t-mobile.at) has joined #tryton | ||
2015-02-13 14:16 -!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton | ||
2015-02-13 14:27 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton | ||
2015-02-13 14:41 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-98.dc.dc.cox.net) has joined #tryton | ||
2015-02-13 14:42 -!- mariomop(~quassel@host237.190-138-112.telecom.net.ar) has joined #tryton | ||
2015-02-13 15:12 -!- hiaselhans(~Thunderbi@213162068217.public.t-mobile.at) has joined #tryton | ||
2015-02-13 15:13 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-111.dc.dc.cox.net) has joined #tryton | ||
2015-02-13 15:37 <buxy> pokoli: so assuming now that I obsolete taxes and tax rules that I would like to drop, what's the best way to do it? | ||
2015-02-13 15:38 <buxy> Shall I keep them and just mark them with active=False ? | ||
2015-02-13 15:38 <buxy> Can I just mark the parents as active=False and will this hide all the children too? | ||
2015-02-13 15:40 <pokoli> buxy: drop all the templates and that's it | ||
2015-02-13 15:40 <pokoli> buxy: if you have an existing database the obsolote taxes will be there | ||
2015-02-13 15:41 <buxy> pokoli: huh? this morning you told me that a disappearing id will not drop the object? | ||
2015-02-13 15:41 <pokoli> buxy: wait a moment, better solution is to enter the end date of the taxes and keep it there | ||
2015-02-13 15:41 <pokoli> buxy: and also enter start date for new taxes | ||
2015-02-13 15:42 <buxy> pokoli: it's not obsolete in that sense, it just means, they were in the chart tax for no good reason, they have no use today and never had one | ||
2015-02-13 15:43 <pokoli> buxy: so you can drop from templates, and should be deleted manually (or by script) on the existing databases | ||
2015-02-13 15:44 <buxy> pokoli: isn't it better to mark them as inactive to hide them but keep them in case they were affected to some products? | ||
2015-02-13 15:44 <buxy> (It's not because they should not have been used that they were not used) | ||
2015-02-13 15:44 <pokoli> buxy: yes, but if they never had a use, you can delete :) | ||
2015-02-13 15:45 <pokoli> buxy: have a look at http://hg.tryton.org/modules/account_fr/file/9304d88cc5fd/account.py | ||
2015-02-13 15:46 <buxy> pokoli: I know that file (I'm working on account_fr right now), but it actually maps old id to new id, doesn't delete anything. | ||
2015-02-13 15:47 <buxy> actually I could drop them from the XML file and use python to mark them as inactive | ||
2015-02-13 15:47 <pokoli> buxy: exactly :) | ||
2015-02-13 15:50 <buxy> cedk: what's your opinion? | ||
2015-02-13 15:51 -!- hiaselhans(~Thunderbi@213162068217.public.t-mobile.at) has joined #tryton | ||
2015-02-13 15:55 <cedk> buxy: if you want to delete a tax, just delete it | ||
2015-02-13 15:56 <buxy> cedk: in the XML you mean? | ||
2015-02-13 15:56 <cedk> buxy: the template is not the real tax so the existing database will keep the tax if there are used | ||
2015-02-13 15:57 <cedk> buxy: yes from the XML | ||
2015-02-13 15:57 <cedk> buxy: which tax do you want to delete? | ||
2015-02-13 15:58 <buxy> all the "Ventes intracommunautaires" (there is a variant "exonere" which is useful and one not "exonere" which is not) | ||
2015-02-13 15:59 <buxy> cedk: BTW, I have lots of changes in ~10 commits, what's the best way to submit? Can I open one bug and associate 10 consecutive reviews? | ||
2015-02-13 16:00 <cedk> buxy: I don't know | ||
2015-02-13 16:00 <buxy> Most of them are closely related, I split base taxes in goods/services, then do the same at the EU level, etc. | ||
2015-02-13 16:01 <buxy> Some of them could be submitted separately in theory (adding missing tax codes) | ||
2015-02-13 16:06 <cedk> buxy: so why not one patch | ||
2015-02-13 16:06 <buxy> cedk: that would be unreviewable | ||
2015-02-13 16:07 <buxy> cedk: https://github.com/rhertzog/tryton-account-fr/compare/submit?expand=1 | ||
2015-02-13 16:12 <cedk> buxy: make unitary patches that can be reviewed and are independant | ||
2015-02-13 16:13 <buxy> cedk: that's not going to work and will produce a poor history | ||
2015-02-13 16:14 <buxy> I have spent almost days on having clean commits that can be understood but they are successive | ||
2015-02-13 16:15 <buxy> I won't squash them together just to please a workflow that is not able to review full branches | ||
2015-02-13 16:17 -!- pablovannini(~pablo@110-189-235-201.fibertel.com.ar) has joined #tryton | ||
2015-02-13 16:18 -!- kstenger(~karla@200.124.209.158) has joined #tryton | ||
2015-02-13 16:26 -!- grasbauer(~Thunderbi@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton | ||
2015-02-13 16:27 <grasbauer> hi - i try to upload a patch, but authentication is not working. problems serverside? | ||
2015-02-13 16:30 <grasbauer> getting 403 | ||
2015-02-13 16:31 <cedk> grasbauer: I can authenticate | ||
2015-02-13 16:31 <cedk> grasbauer: 403 means probably that you are not authenticate | ||
2015-02-13 16:31 <grasbauer> cedk: mhh - but I send my credentials | ||
2015-02-13 16:32 <cedk> grasbauer: maybe wrong credentials | ||
2015-02-13 16:32 <grasbauer> cedk: tested via browser ;) | ||
2015-02-13 16:33 <cedk> grasbauer: do you have 2-factor auth for your google account? | ||
2015-02-13 16:34 <grasbauer> cedk: what? | ||
2015-02-13 16:35 <cedk> grasbauer: 2 auth factor doesn't work with upload.py so you need to define a app password (something like that) | ||
2015-02-13 16:36 <grasbauer> cedk: ok - will check | ||
2015-02-13 16:39 <grasbauer> cedk: there is a setting - something like access for unsecure applications | ||
2015-02-13 16:40 <grasbauer> cedk: the fix is very small - need to create issue for a typo? | ||
2015-02-13 16:40 <grasbauer> cedk: http://codereview.tryton.org/10931002 | ||
2015-02-13 16:59 <cedk> grasbauer: please fill a bug | ||
2015-02-13 16:59 -!- kstenger(~karla@200.124.209.158) has joined #tryton | ||
2015-02-13 17:03 -!- newzen(~newzen@190.36.80.12) has joined #tryton | ||
2015-02-13 17:12 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton | ||
2015-02-13 17:28 -!- gremly(~gremly@190.85.36.58) has joined #tryton | ||
2015-02-13 17:31 <nicoe> buxy: with upload.py you can submit patches between two arbitrary revisions | ||
2015-02-13 17:31 <nicoe> buxy: hgreview can maybe also do it | ||
2015-02-13 17:31 <nicoe> buxy: But I never tried it | ||
2015-02-13 17:32 <buxy> nicoe: do you suggest to upload a single biq patch for review but keep multiple commits to push? | ||
2015-02-13 17:33 <nicoe> buxy: No I suggest the reverse make x reviews for x commits or 1 review for 1 commit | ||
2015-02-13 17:34 <buxy> oh sure, that was my plan, open 1 ticket and associate x reviews for all my commits | ||
2015-02-13 17:45 <nicoe> buxy: OK good then | ||
2015-02-13 17:59 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2015-02-13 18:04 -!- hiaselhans(~Thunderbi@213162068217.public.t-mobile.at) has joined #tryton | ||
2015-02-13 18:10 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton | ||
2015-02-13 19:03 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton | ||
2015-02-13 19:22 -!- newzen(~newzen@190.36.80.12) has left #tryton | ||
2015-02-13 19:48 <notzippy> Anyone up ? | ||
2015-02-13 20:01 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton | ||
2015-02-13 20:45 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton | ||
2015-02-13 21:00 -!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton | ||
2015-02-13 21:39 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton | ||
2015-02-13 22:13 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!