Issue #23 open
Jean-Michel ARMAND
repo owner created an issue

No description provided.

Comments (176)

  1. Guillaume Englert

    refs #23 The Contact/Organisation blocks for informations & details are now built with the CustomBlock feature. It makes the code (python + templates) smaller & easier to customise.

    API breaking: - These 'persons' blocks are deprecated: ContactBlock, ContactCoordinatesBlock, OrganisationBlock, OrgaCoordinatesBlock. They are no more used/registered.

    → <<cset 3dcebf4e54f0>>

  2. Guillaume Englert

    refs #23 The Contact/Organisation blocks for informations & details are now built with the CustomBlock feature. It makes the code (python + templates) smaller & easier to customise.

    API breaking: - These 'persons' blocks are deprecated: ContactBlock, ContactCoordinatesBlock, OrganisationBlock, OrgaCoordinatesBlock. They are no more used/registered.

    → <<cset 3dcebf4e54f0>>

  3. Guillaume Englert

    refs #94 #23 Most of Address' fields are now optional (can be hidden).

    API breaking: - (internal) persons.forms.{merge|lv_import}._FIELD_NAMES & persons.blocks._ADDRESS_FIELD_NAMES have been removed. - (internal) vcfs.vcfgenerator.VcfGenerator.address_equality() is not a static method anymore.

    → <<cset bc7873c5f0de>>

  4. Guillaume Englert

    refs #94 #23 Most of Address' fields are now optional (can be hidden).

    API breaking: - (internal) persons.forms.{merge|lv_import}._FIELD_NAMES & persons.blocks._ADDRESS_FIELD_NAMES have been removed. - (internal) vcfs.vcfgenerator.VcfGenerator.address_equality() is not a static method anymore.

    → <<cset bc7873c5f0de>>

  5. Guillaume Englert

    refs #94 #23 The fields (of Contact/Organisation) billing_address/shipping_address are now optional.

    API breaking: - (internal) persons.forms.merge.get_merge_form_builder() takes now a 'model' argument. - (internal) persons.forms.lv_import.get_csv_form_builder() takes now a 'model' argument. - (internal) persons.forms.base._BasePersonForm._init_address_fields takes now a 'fconfig' argument.

    → <<cset bce9f136e78e>>

  6. Guillaume Englert

    refs #94 #23 The fields (of Contact/Organisation) billing_address/shipping_address are now optional.

    API breaking: - (internal) persons.forms.merge.get_merge_form_builder() takes now a 'model' argument. - (internal) persons.forms.lv_import.get_csv_form_builder() takes now a 'model' argument. - (internal) persons.forms.base._BasePersonForm._init_address_fields takes now a 'fconfig' argument.

    → <<cset bce9f136e78e>>

  7. Guillaume Englert

    refs #23 The name of the billing & shipping addresses is not asked anymore. They are automatically named.

    API breaking: - (internal) 'name' is excluded in BillingAddressForm/ShippingAddressForm. - (internal) _PersonCSVImportForm._save_address() & _PersonMergeForm._save_address() take an additional argument 'name'.

    → <<cset 496af3fdf3de>>

  8. Guillaume Englert

    refs #23 The name of the billing & shipping addresses is not asked anymore. They are automatically named.

    API breaking: - (internal) 'name' is excluded in BillingAddressForm/ShippingAddressForm. - (internal) _PersonCSVImportForm._save_address() & _PersonMergeForm._save_address() take an additional argument 'name'.

    → <<cset 496af3fdf3de>>

  9. Guillaume Englert

    refs #23 #89 Factorise Address part in Contact/Organisation with a mixin class. Improve the extensibility of the code (more or less Address FK fields).

    API breaking: - Related names for billing & shiiping addresses have been removed ('billing_address_orga_set', ...).

    → <<cset ee1b610641b3>>

  10. Guillaume Englert

    refs #23 #89 Factorise Address part in Contact/Organisation with a mixin class. Improve the extensibility of the code (more or less Address FK fields).

    API breaking: - Related names for billing & shiiping addresses have been removed ('billing_address_orga_set', ...).

    → <<cset ee1b610641b3>>

  11. Guillaume Englert

    refs #23 #89 Abstract views for Organisation & Address; improve Contact ones. Not abstract creation views can now be used directly by swapping apps if they do not need to overload their form or template, because the creation permmission checking is now swapping-proof.

    API breaking: - view contact.add_with_relation() renamed to add_related_contact().

    → <<cset 8e7dcabf9873>>

  12. Guillaume Englert

    refs #23 #89 Abstract views for Organisation & Address; improve Contact ones. Not abstract creation views can now be used directly by swapping apps if they do not need to overload their form or template, because the creation permmission checking is now swapping-proof.

    API breaking: - view contact.add_with_relation() renamed to add_related_contact().

    → <<cset 8e7dcabf9873>>

  13. Guillaume Englert

    refs #23 Deprecated stuffes in 'persons' have been removed.

    API breaking: The following items were deprecated & have been removed: - These blocks: ContactBlock, ContactCoordinatesBlock, OrganisationBlock, OrgaCoordinatesBlock. - These templates (in 'persons/templates/persons/templatetags/'): block_contact.html, block_contact_coordinates.html, block_organisation.html, block_orga_coordinates.html. - The method Address._get_info_fields().

    → <<cset 1fc75d57f201>>

  14. Guillaume Englert

    refs #23 Deprecated stuffes in 'persons' have been removed.

    API breaking: The following items were deprecated & have been removed: - These blocks: ContactBlock, ContactCoordinatesBlock, OrganisationBlock, OrgaCoordinatesBlock. - These templates (in 'persons/templates/persons/templatetags/'): block_contact.html, block_contact_coordinates.html, block_organisation.html, block_orga_coordinates.html. - The method Address._get_info_fields().

    → <<cset 1fc75d57f201>>

  15. Guillaume Englert

    refs #23 CharFields are not nullable anymore (because they are already 'blank=True').

    API breaking: - Contact: all CharFields are not nullable anymore (first_name, description, skype, phone, mobile, email, url_site, full_position). - Organisation: all CharFields are not nullable anymore (description, phone, fax, email, url_site, annual_revenue, siren, naf, siret, rcs, tvaintra). - Address: all CharFields are not nullable anymore.

    → <<cset 7535fa6c81b8>>

  16. Guillaume Englert

    refs #23 CharFields are not nullable anymore (because they are already 'blank=True').

    API breaking: - Contact: all CharFields are not nullable anymore (first_name, description, skype, phone, mobile, email, url_site, full_position). - Organisation: all CharFields are not nullable anymore (description, phone, fax, email, url_site, annual_revenue, siren, naf, siret, rcs, tvaintra). - Address: all CharFields are not nullable anymore.

    → <<cset 7535fa6c81b8>>

  17. Guillaume Englert

    refs #23 New field in Organisation is order to mark them as managed by Creme. The old property is deprecated.

    API breaking: - creme_core.constants.PROP_IS_MANAGED_BY_CREME is deprecated ; the related CremePropertyType is not created in new instances, & is deletable in old ones.

    → <<cset 1e9c00ccc944>>

  18. Guillaume Englert

    refs #23 New field in Organisation is order to mark them as managed by Creme. The old property is deprecated.

    API breaking: - creme_core.constants.PROP_IS_MANAGED_BY_CREME is deprecated ; the related CremePropertyType is not created in new instances, & is deletable in old ones.

    → <<cset 1e9c00ccc944>>

  19. Guillaume Englert

    refs #23 Use named URLs in 'persons'.

    API breaking: - buttons.CrmButton: the attribute 'become_url' is replaced by 'url_name' (so it's the name of the wanted URL). - (internal) In unit tests: - OrganisationTestCase._become_test() -> the arg 'url' becomes 'url_name' (so it's the name of the wanted URL). - ContactTestCase: _build_delete_url() has been removed.

    → <<cset 6148c5a60d0c>>

  20. Guillaume Englert

    refs #23 Use named URLs in 'persons'.

    API breaking: - buttons.CrmButton: the attribute 'become_url' is replaced by 'url_name' (so it's the name of the wanted URL). - (internal) In unit tests: - OrganisationTestCase._become_test() -> the arg 'url' becomes 'url_name' (so it's the name of the wanted URL). - ContactTestCase: _build_delete_url() has been removed.

    → <<cset 6148c5a60d0c>>

  21. Guillaume Englert

    refs #106 #23 Bricks system for 'persons'.

    API breaking: - The method apps.PersonsConfig.register_blocks() has been renamed register_bricks(). - The module persons.blocks is deprecated ; use persons.bricks instead. - The module persons.tests.test_blocks has been renamed test_bricks. - The templates files templatetags/blocks_* are deprecated. - (internal) The function persons.tests.test_bricks.find_node_by_attr() has been removed.

    → <<cset 6ece1e923762>>

  22. Guillaume Englert

    refs #106 #23 Bricks system for 'persons'.

    API breaking: - The method apps.PersonsConfig.register_blocks() has been renamed register_bricks(). - The module persons.blocks is deprecated ; use persons.bricks instead. - The module persons.tests.test_blocks has been renamed test_bricks. - The templates files templatetags/blocks_* are deprecated. - (internal) The function persons.tests.test_bricks.find_node_by_attr() has been removed.

    → <<cset 6ece1e923762>>

  23. Log in to comment