Skip to content

Make "src" optional #106

Description

@sebastienbeau

Hi when using the short syntax in the spec, I would like to make the "src" optionnal (as it mostly oca src)

So instead of having

brand:
  modules:
    - brand
    - product_brand
    - product_brand_tag
  src: https://github.com/oca/brand 16.0

product-attribute:
  modules:
    - product_set
    - product_sale_description
  src: https://github.com/oca/product-attribute 16.0

delivery-carrier:
  modules:
    - delivery_carrier_info
  src: https://github.com/oca/delivery-carrier 16.0

We can have

odoo_version: 16.0

brand:
  modules:
    - brand
    - product_brand
    - product_brand_tag

product-attribute:
  modules:
    - product_set
    - product_sale_description

delivery-carrier:
  modules:
    - delivery_carrier_info

By default src will always be resolve on OCA (maybe we can add a dict for some famous akretion repo, shopinvader, usability, incubator so it's also work for them)

What do you think?

@bealdav @florian-dacosta @Kev-Roche @hparfr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions