~fabien-morin/unifield-wm/sync-fm-sp-222

Viewing all changes in revision 638.

  • Committer: Fabien MORIN
  • Date: 2016-02-16 10:49:49 UTC
  • Revision ID: fabien.morin@tempo-consulting.fr-20160216104949-k8napa1criwme0av
SP-222 [FIX] add a update.fields as group_key
fields can be differents from one update to another even if the update has same
rule_id, sequence, model, ... This is the case when the rule is modified for
updating a field. It was the case for 'account.period.state' where at one
moment 'period_id' field was in the rule and another was 'period_id/id'. In
this case, updates should not be grouped.

[IMP] make the code more clear by seperating in 3 lines a
one-line-3-variables-affection.

[IMP] check there is at least one deletion before parsing all element looking
for deletion

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: