*** red1 has quit IRC | 00:16 | |
*** is-mw2 has joined #idempiere | 01:44 | |
*** is-mw has quit IRC | 01:45 | |
*** norbertbede has joined #idempiere | 03:13 | |
*** norbertbede has quit IRC | 03:17 | |
*** hieplq has joined #idempiere | 03:39 | |
*** hieplq has quit IRC | 03:47 | |
*** hieplq_ has joined #idempiere | 03:47 | |
*** norbertbede has joined #idempiere | 04:14 | |
*** hieplq__ has joined #idempiere | 05:14 | |
*** hieplq_ has quit IRC | 05:15 | |
*** hieplq__ has quit IRC | 05:18 | |
*** nmicoud has joined #idempiere | 05:46 | |
*** norbertbede has quit IRC | 05:53 | |
*** norbertbede has joined #idempiere | 05:54 | |
*** norbertbede has quit IRC | 05:56 | |
*** norbertbede has joined #idempiere | 06:07 | |
*** KermitTheFragger has joined #idempiere | 06:35 | |
*** a42niem has joined #idempiere | 06:59 | |
*** druiz has joined #idempiere | 08:20 | |
*** norbertbede has quit IRC | 10:00 | |
*** norbertbede has joined #idempiere | 10:14 | |
*** norbertbede has quit IRC | 10:31 | |
*** norbertbede has joined #idempiere | 10:51 | |
*** norbertbede has joined #idempiere | 10:51 | |
*** norbertbede has quit IRC | 10:55 | |
*** norbertbede has joined #idempiere | 10:57 | |
*** norbertbede has quit IRC | 11:57 | |
*** norbertbede has joined #idempiere | 11:57 | |
*** norbertbede has joined #idempiere | 11:58 | |
*** lescano has joined #idempiere | 12:09 | |
lescano | hi all | 12:18 |
---|---|---|
druiz | hi @lescano | 12:18 |
*** norbertbede has quit IRC | 12:35 | |
*** norbertbede has joined #idempiere | 12:37 | |
*** HideakiHagiwara has joined #idempiere | 12:52 | |
*** CarlosRuiz has joined #idempiere | 12:59 | |
*** ChanServ sets mode: +o CarlosRuiz | 12:59 | |
CarlosRuiz | Good Morning | 13:00 |
nmicoud | Bonjour | 13:00 |
druiz | Hola | 13:00 |
nmicoud | CarlosRuiz, could you have a look at those 2 little patches (2685, 2678 ) and then at 2679 (which will take more time - and still as draft) ? | 13:02 |
CarlosRuiz | ok | 13:03 |
nmicoud | thanks | 13:04 |
Not-604a | [iDempiere] CarlosRuiz_globalqss pushed 1 commit to release-2.1 [+2/-0/±0] https://bitbucket.org/idempiere/idempiere/commits/ | 13:14 |
Not-604a | [iDempiere] nmicoud 5364b7b - IDEMPIERE-2685 Jasper process field should be visible only for Advanced roles | 13:14 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2685 status set to "Resolved" -assignee set to "Nicolas Micoud" -resolution set to "Fixed" | 13:14 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2685 | 13:14 |
CarlosRuiz | nmicoud, | 13:18 |
CarlosRuiz | testing 2678 on Test Window (r2.1) | 13:19 |
CarlosRuiz | I set null as default value for Integer, Number, Amount and Qty | 13:19 |
CarlosRuiz | when saving just integer was saved as null | 13:19 |
CarlosRuiz | number, amount and qty were saved as zero | 13:20 |
nmicoud | let me check | 13:20 |
nmicoud | at first, i wanted to add something like if Amount and DefaultLogic.equals("NULL") | 13:22 |
nmicoud | but it was maybe more useful to apply this patch to all field | 13:22 |
nmicoud | Did you syncrhonize the column ? | 13:23 |
nmicoud | i mean, there is no default value in the db | 13:23 |
CarlosRuiz | ah - let me check - I tested setting the default on window | 13:23 |
*** Deepak__ has joined #idempiere | 13:27 | |
Deepak__ | Good Morning all | 13:27 |
tbayen | Daarestiet :-) | 13:27 |
CarlosRuiz | hi Deepak__ - hi tbayen | 13:27 |
nmicoud | is ok here with NULL in column + synchronize column | 13:28 |
nmicoud | (oracle) | 13:28 |
CarlosRuiz | good nmicoud - it worked the db default was wrongly set | 13:30 |
nmicoud | but it means that this kind of default cannot be set in the field, right ? | 13:30 |
nmicoud | it has to be set in the column | 13:30 |
CarlosRuiz | yes - it can | 13:31 |
nmicoud | or at least, the column in db must have null as default | 13:31 |
CarlosRuiz | just that the column in the db was not corresponding to the column in ad_column | 13:31 |
CarlosRuiz | I just synchronized - and the default was changed from 0 to null - without touching ad_column | 13:31 |
nmicoud | ok | 13:31 |
Not-604a | [iDempiere] CarlosRuiz_globalqss pushed 1 commit to release-2.1 [+0/-0/±1] https://bitbucket.org/idempiere/idempiere/commits/ | 13:36 |
Not-604a | [iDempiere] nmicoud aa2906f - IDEMPIERE-2678 Allow to set explicit NULL value for fields | 13:36 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2678 status set to "Resolved" -assignee set to "Nicolas Micoud" -resolution set to "Fixed" | 13:37 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2678 | 13:37 |
*** aguerra has joined #idempiere | 13:39 | |
aguerra | hi everybody | 13:39 |
aguerra | good morning!!! | 13:40 |
Not-604a | [iDempiere2.1] jenkins built #234 completed (success) http://ci.idempiere.org/job/iDempiere2.1/234/ | 13:42 |
CarlosRuiz | Hi aguerra | 14:03 |
*** HideakiHagiwara has quit IRC | 14:11 | |
*** mhernandezve has joined #idempiere | 14:12 | |
Not-604a | [iDempiere2.1] jenkins built #235 completed (success) http://ci.idempiere.org/job/iDempiere2.1/235/ | 14:14 |
druiz | @CarlosRuiz have you had time to check IDEMPIERE-2673 | 14:19 |
CarlosRuiz | not yet - will check it today | 14:20 |
*** mhernandezve has quit IRC | 14:31 | |
*** mhernandezve has joined #idempiere | 14:31 | |
mhernandezve | hello idempierans! ;) | 14:33 |
CarlosRuiz | Hi mhernandezve | 14:34 |
aguerra | hi mhernandezve | 14:36 |
*** norbertbede has quit IRC | 14:48 | |
*** norbertbede has joined #idempiere | 14:53 | |
*** Deepak__ has quit IRC | 14:55 | |
*** nmicoud has left #idempiere | 15:07 | |
lescano | @CarlosRuiz, ref. https://idempiere.atlassian.net/browse/IDEMPIERE-2676 seems not to have a easy resolution | 15:09 |
CarlosRuiz | I haven't checked, it sounds like a callout is reading info from another window | 15:10 |
*** druiz has quit IRC | 15:12 | |
lescano | actually, it is related to context variables in a window. After a query for another record, some variables remains instead of clearing | 15:12 |
lescano | query seems to be broken | 15:12 |
*** KermitTheFragger has quit IRC | 15:13 | |
*** is-mw2 has quit IRC | 15:23 | |
norbertbede | hi all | 15:31 |
lescano | hi norbert | 15:31 |
norbertbede | people interested in replication should help me answer a tricky question well :) | 15:31 |
norbertbede | https://groups.google.com/forum/#!topic/idempiere/3v4ipKmhoE8 | 15:31 |
*** Deepak has joined #idempiere | 15:38 | |
CarlosRuiz | hi norbertbede | 15:39 |
Deepak | Hello Norbert, I just responded to you group message | 15:42 |
Deepak | hope that helps | 15:42 |
norbertbede | ah i see | 15:50 |
norbertbede | thanks going to check | 15:50 |
*** nmicoud has joined #idempiere | 16:03 | |
*** aguerra has quit IRC | 16:05 | |
*** nmicoud_ has joined #idempiere | 16:43 | |
*** nmicoud has quit IRC | 16:45 | |
Not-604a | [IDEMPIERE] norbert.bede updated IDEMPIERE-2660 description set to "we found the following process could be improved well: *Product Category filter (parameter 1)* ------------------------------ _{color:#707070}by product category filter users are able to filter specific lines from orders by his product cagetory - where shipment and invoice rules are fit and not yet invoiced. Important: parent/child categories must be | 16:51 |
Not-604a | considered. well{color}_ example use case: user wants to invoice first: foods then office equipments. *Split orderlines by (parameter 2)* ------------------------------ _{color:#707070}by this parameter users are able to split invoices - to be created - by given option - then - where shipment and invoice rules are fit and not yet invoiced{color}_ ** split by salesman - invoice per order customers ** split by orders | 16:51 |
Not-604a | ** split by order reference ** split by shipments ** split by location(departments) - example use case: multiple invoices created for business partner - split by locations. e.g 100 shipments 10 invoice in period *Lines Order by (parameter 3)* --------------------------------------------- _{color:#707070}by this parameter users are able to define how lines - generated to invoice will be ordered - to be created - by | 16:51 |
Not-604a | given option - then - where shipment and invoice rules are fit and not yet invoiced{color}_ ** no grouping ** group by orders ** group by address ** group by shipments *Generate Notes (parameter 3)* --------------------------------------------- actual behaviour is: Shipment: TR/DL/150612089 (docno) - 18/06/2015 (date) yes/no Note 1. other ideas required - for better design Note 2. other ideas in code review required | 16:51 |
Not-604a | - for better design Note 3. parameter 2 and 3 are - could be in conflict - ideas are welcome. " | 16:51 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2660 | 16:51 |
Not-604a | [iDempiere] CarlosRuiz_globalqss pushed 1 commit to release-2.1 [+0/-0/±6] https://bitbucket.org/idempiere/idempiere/commits/ | 17:32 |
Not-604a | [iDempiere] globalqss 2fcb262 - IDEMPIERE-2664 DB Extensibility issues / calling convert for direct prepareStatement | 17:32 |
Not-604a | [iDempiere2.1] jenkins built #236 completed (success) http://ci.idempiere.org/job/iDempiere2.1/236/ | 17:42 |
*** Deepak has quit IRC | 17:57 | |
norbertbede | CarlosRuiz where is or hieplq. | 18:02 |
norbertbede | he being silent latest weeks :) | 18:02 |
CarlosRuiz | yes, some time without hearing from him | 18:03 |
CarlosRuiz | lescano, still there? | 18:16 |
lescano | yes | 18:16 |
CarlosRuiz | the solution I see is to avoid setting M_PriceList_Version_ID in the context - there is a query in CalloutOrder and CalloutInvoice to check the price list version when is not in the context - and then it sets it | 18:17 |
CarlosRuiz | if we simply never set it - then it must work | 18:17 |
lescano | I temporally solved here doing this, but this way we are ignoring a lot of future problems not related to pricelists | 18:17 |
lescano | there are similar problems with other variables | 18:18 |
CarlosRuiz | ah I see - your comment points to clear any other potential dangerous field | 18:19 |
CarlosRuiz | your comment to call clearWinContext | 18:20 |
lescano | yes. I've tried changing this in GridTab.query() (after testing if TabNo==0) but cleaned also important variables that shouldn't be cleaned | 18:22 |
CarlosRuiz | even that way I see that InfoProduct is setting price list version - there must be another issue there | 18:23 |
*** CarlosRuiz has quit IRC | 18:29 | |
*** CarlosRuiz has joined #idempiere | 18:30 | |
*** ChanServ sets mode: +o CarlosRuiz | 18:30 | |
lescano | so many callouts set context variables, and seems hard to handle them over GridTab queries. Maybe the solution would clean plus reset (similar when opening new GridTab) when querying | 18:32 |
*** CarlosRuiz has quit IRC | 18:40 | |
*** CarlosRuiz has joined #idempiere | 18:40 | |
*** ChanServ sets mode: +o CarlosRuiz | 18:40 | |
CarlosRuiz | lescano - not just when querying - must be happening also when navigating to a different record with a different price list | 18:48 |
lescano | hmm, isn't GridTab.query() always called when navigating and changing tab? | 18:51 |
CarlosRuiz | I checked and it seems is GridTab.setCurrentRow | 18:51 |
CarlosRuiz | I'm uploading a possible patch | 18:52 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2676 Attachment set to "IDEMPIERE-2676_v0.patch" | 18:53 |
Not-604a | [IDEMPIERE] [~alan.lesc1], I'm uploading a possible patch following your suggestion and what we talked on IRC meeting. Can you please test it and provide feedback? | 18:53 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2676 | 18:53 |
lescano | @CarlosRuiz thank you, I will test right now | 18:55 |
lescano | CarlosRuiz, it doesn't work properly because setCurrentRow() is called by dataDelete(), dataRefresh(), etc... and context variables are cleared when they shouldn't be | 19:26 |
*** nmicoud_ has quit IRC | 19:48 | |
CarlosRuiz | lescano, why? | 20:04 |
CarlosRuiz | whenever you navigate to a new record - the context variables set for the old record are obsolete - and dangerous as in the case you found | 20:04 |
lescano | I agree, but the patch is removing variables when, for example, saving order line | 20:06 |
lescano | this may broke current funcionality | 20:08 |
CarlosRuiz | ah yes - I see | 20:08 |
CarlosRuiz | changed the if on GridTab to this one: | 20:10 |
CarlosRuiz | if (m_vo.TabLevel == 0 && m_currentRow != newCurrentRow) | 20:10 |
CarlosRuiz | seems it works better | 20:10 |
CarlosRuiz | ah - found another ctx variable Base_Table_ID - must start with _WinInfo_ better | 20:18 |
CarlosRuiz | BaseTable_ID - very easy to collide with a real column | 20:18 |
lescano | you're right | 20:21 |
lescano | seems to work now. I'll do more tests and compare if any variable is being wrongly removed using the patch | 20:22 |
CarlosRuiz | I think the ctx for IsSOTrx must be preserved also | 20:22 |
lescano | hmm, for tables like c_payment this may be a problem | 20:24 |
lescano | because both PO and SO records use same window Payment | 20:29 |
CarlosRuiz | I see two more window properties -> AutoCommit and AutoNew | 20:32 |
CarlosRuiz | maybe this is not right approach :-( | 20:32 |
CarlosRuiz | could break other things that people trusted to put in context on plugins | 20:33 |
lescano | Initially, the best solution seems to clear the context for window ... but thinking better, it really may break third-party codes | 20:39 |
CarlosRuiz | another approach is to fix the CalloutOrder and CalloutInvoice to not read the price list version from context | 20:42 |
CarlosRuiz | and thinking on a possible third approach could be to call the CalloutOrder.priceList when navigating | 20:43 |
lescano | I should go now, but I'll try to think another aproach | 20:44 |
CarlosRuiz | that's not possible actually - but I've always thought could be a good addition to allow callouts on navigation | 20:44 |
lescano | yes, but... | 20:44 |
lescano | I see a problem with other variables | 20:44 |
CarlosRuiz | yep EnforcePriceLimit for example - which is set on CalloutOrder.pricelist | 20:45 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2676 Attachment set to "IDEMPIERE-2676_v1.patch" | 20:45 |
Not-604a | [IDEMPIERE] Just for documentation of this process, a second patch checking for more variables - talking with [~alan.lesc1] on IRC seems like this is not the best approach | 20:45 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2676 | 20:45 |
*** tbayen_ has quit IRC | 20:47 | |
*** tbayen_ has joined #idempiere | 20:48 | |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2676 Attachment set to "IDEMPIERE-2676_v2_fixingCallouts.patch" | 20:49 |
Not-604a | [IDEMPIERE] Another approach discussed is in patch IDEMPIERE-2676_v2_fixingCallouts.patch Fixing the callouts to avoid the context variable and always look for the price list version. | 20:49 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2676 | 20:49 |
lescano | seems to solve pricelist issue. And we try to solve other context variables issues as they come in. | 20:50 |
*** norbertbede has quit IRC | 20:52 | |
Not-604a | [iDempiere] CarlosRuiz_globalqss pushed 1 commit to release-2.1 [+0/-0/±1] https://bitbucket.org/idempiere/idempiere/commits/ | 20:55 |
Not-604a | [iDempiere] globalqss 5a17930 - IDEMPIERE-2664 DB Extensibility issues | 20:55 |
lescano | Anyway , I'll keep thinking of another way to solve the context variables issue. Thank you very much Carlos, have a nice end of day | 20:56 |
CarlosRuiz | thanks to you Alan | 20:56 |
*** lescano has left #idempiere | 20:58 | |
Not-604a | [iDempiere2.1] jenkins built #237 completed (success) http://ci.idempiere.org/job/iDempiere2.1/237/ | 21:12 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2676 Attachment set to "None" | 21:23 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2676 | 21:23 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2676 Attachment set to "IDEMPIERE-2676_v1.patch" | 21:23 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2676 | 21:24 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2676 Attachment set to "IDEMPIERE-2676_v3_CalloutOnNavigate.patch" | 21:43 |
Not-604a | [IDEMPIERE] Another approach is to implement the ability to execute a callout when navigating to a new record - this is a very wanted feature that can serve for many other purposes - mostly setting or clearing context whenever you navigate to a new record. Tested the patch IDEMPIERE-2676_v3_CalloutOnNavigate.patch with this approach and it seems to work fine. | 21:43 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2676 | 21:43 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2676 labels set to "+Patch" | 21:43 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2676 | 21:43 |
*** norbertbede has joined #idempiere | 21:45 | |
*** a42niem has quit IRC | 21:46 | |
*** junooni has joined #idempiere | 22:02 | |
junooni | is there any user of adempiere from UAE | 22:03 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2684 | 22:07 |
Not-604a | [IDEMPIERE] Hi, tested this issue found that maybe is not needed - you just need to implement your own ProcessFactory and return your own custom ReportStarter. Just like the org.adempiere.report.jasper.ProcessFactory is returning the ReportStarter if the class is set like org.adempiere.report.jasper.ReportStarter or org.compiere.report.ReportStarter. Can you please check on your plugin if that approach works? Your | 22:07 |
Not-604a | process factory requires also a service.ranking to be taken into account before the default which has service.ranking=1 | 22:07 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2684 | 22:07 |
*** junooni has quit IRC | 22:11 | |
*** norbertbede has quit IRC | 22:15 | |
Not-604a | [iDempiere] CarlosRuiz_globalqss pushed 1 commit to release-2.1 [+0/-0/±1] https://bitbucket.org/idempiere/idempiere/commits/ | 23:18 |
Not-604a | [iDempiere] globalqss 698e7e1 - IDEMPIERE-2673 Custom status line message not updating in different records | 23:18 |
Not-604a | [IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2673 status set to "Resolved" -assignee set to "Carlos Antonio Ruiz Gomez" -resolution set to "Fixed" | 23:18 |
Not-604a | [IDEMPIERE] Committed a different patch - for your test case on demo is better to use LEFT JOIN on C_OrderLine and M_Product so it can show information for orders without lines. | 23:18 |
Not-604a | [IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-2673 | 23:18 |
Not-604a | [iDempiere] CarlosRuiz_globalqss pushed 1 commit to development [+2/-0/±8] https://bitbucket.org/idempiere/idempiere/commits/ | 23:22 |
Not-604a | [iDempiere] globalqss aaf6911 - hg merge release-2.1 (merge release2.1 into development) | 23:22 |
*** CarlosRuiz has quit IRC | 23:24 | |
Not-604a | [iDempiere] jenkins built #1668 completed (success) http://ci.idempiere.org/job/iDempiere/1668/ | 23:33 |
Not-604a | [iDempiere2.1] jenkins built #238 completed (success) http://ci.idempiere.org/job/iDempiere2.1/238/ | 23:42 |
*** mhernandezve has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!