Skip to content

Conversation

@StephanRozendaal
Copy link
Contributor

Add the following changes:

  • Get an icon for the module from the manifest file
  • rename reaonly to readonly in a field

I think this change needs a unit-test to confirm that this works OK.

The property is 'readony'.
Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
@elicoidal elicoidal added this to the 11.0 milestone Oct 1, 2018
Copy link

@elicoidal elicoidal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Version number

compute='_compute_odoo_type')

image = fields.Binary(string='Icon Image', reaonly=True)
image = fields.Binary(string='Icon Image', readonly=True)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bizzappdev
Copy link
Contributor

LGTM

@pedrobaeza pedrobaeza merged commit 1f9dd68 into OCA:11.0 Oct 2, 2018
cubells pushed a commit to Tecnativa/interface-github that referenced this pull request Apr 5, 2019
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
Tardo pushed a commit to Tecnativa/interface-github that referenced this pull request Apr 14, 2020
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
Tardo pushed a commit to Tecnativa/interface-github that referenced this pull request Jun 17, 2020
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
pedrobaeza pushed a commit to Tecnativa/interface-github that referenced this pull request Jun 18, 2020
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
OpenCode pushed a commit to OpenCode/interface-github that referenced this pull request Jul 15, 2021
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
ernestotejeda pushed a commit to Tecnativa/interface-github that referenced this pull request Jul 30, 2021
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
OpenCode pushed a commit to OpenCode/interface-github that referenced this pull request Jun 23, 2022
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
victoralmau pushed a commit to Tecnativa/interface-github that referenced this pull request Nov 17, 2022
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
carolinafernandez-tecnativa pushed a commit to Tecnativa/interface-github that referenced this pull request Jan 9, 2024
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
carolinafernandez-tecnativa pushed a commit to Tecnativa/interface-github that referenced this pull request Mar 7, 2024
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
victoralmau pushed a commit to Tecnativa/interface-github that referenced this pull request Nov 8, 2024
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
victoralmau pushed a commit to Tecnativa/interface-github that referenced this pull request Nov 11, 2024
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
carlos-lopez-tecnativa pushed a commit to Tecnativa/interface-github that referenced this pull request May 20, 2025
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
carlos-lopez-tecnativa pushed a commit to Tecnativa/interface-github that referenced this pull request May 21, 2025
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
juppe pushed a commit to ahkio/interface-github that referenced this pull request Dec 15, 2025
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
juppe pushed a commit to ahkio/interface-github that referenced this pull request Dec 15, 2025
* [FIX]  Fix field property

The property is 'readony'.

* [IMP]Get module icon from multiple sources

Get the module icon from the following sources (in order):
 1. From the first entry of the images tag from the manifest
 2. From the static directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants