Skip to Content

Contributors

  • Javascript Debug
    Hello you,

    when debuggin js with chrome in v16 and v15 the js/css is located in a non named subfolder.
    In v14, it is not the case. There it looks more right. (See attached images.)
    I could believe, thats why I can not debug inside Intellij, because the path mapping does not work correctly.

    Has anyone here an idea ?

    Thank you all.

     












    has got anyone an idea why the javascript/scss/... sources are not located under the running domain

    Vielen Dank und viele Grüße

    Stefan Wild
    Geschäftsführer
    sewisoft.de - Logo

    sewisoft GmbH
    Örtleinsweg 39
    96148 Baunach

    info@sewisoft.de
    Tel. +49 (0) 160 / 99 11 25 69
    www.sewisoft.de

    Sitz der Gesellschaft: Baunach
    Registergericht: Amtsgericht Bamberg, HRB 8508
    Geschäftsführer: Günter Selbert, Stefan Wild




    by Stefan Wild - 02:26 - 17 Dec 2022
  • Weblate project is locked
    Hi,

    This project https://translation.odoo-community.org/projects/commission-15-0/commission-15-0-account_commission/ seems to have been locked since the module https://github.com/OCA/commission/tree/15.0/account_commission was added on 5 December, and we have not been able to work on the translation on it.

    The lock seems to have been done due to the following alert:

    > No file mask matches.
    >   This component set up is incomplete, as it lacks any translations.
    > * Starting new translations directly in Weblate is possible, and creates files based on the file mask.
    > * Check whether the file mask account_commission/i18n/*.po matches files in your version control system repository.

    This is a brand new module, and therefore there is no *.po file yet.


    Questions:

    1. Is this (i.e. the project gets locked for new modules with no translation) how Weblate projects are supposed to behave?

    2. How can we unlock such projects?

    Thank you.

    -- 
    Yoshi Tashiro


    by Yoshi Tashiro. - 03:01 - 16 Dec 2022
  • M14 Accounting for French 'Collectivités locales'
    Dear french OCA contributors,

    I am actually working on a RFQ for accounting software of a French Polynesia City Hall. It works the same as in France due to the regulations.
    We need M14 implementation (Budgets and Accounting) and PES (Protocole d'échanges standards)

    RFQ deadline is before january 4th 2023
    Launching production is planned april 2023

    If someone interested in answering with us for RFQ and developing modules, please contact me

    Best regards

    by Cyril VINH-TUNG - 07:01 - 15 Dec 2022
  • OCA - Github - Switch brach by default

    Hello!

     

    I would like to know as PSC if I can change the default branch of a repository and how 😊

     

    For example, by default account-financial-reporting is v13, It should be v15. Isn’t it?

     

    https://github.com/OCA/account-financial-reporting

     

    More branches by default are v14, etc.

     

    Thanks

    Regards

    Rafael

     


    by "Rafael Blasco" <rblasco@rbnpro.com> - 03:26 - 14 Dec 2022
  • Translation for Odoo core<=12.0
    Hi all,

    as Odoo deletes translation ability for versions not supported, is it possible to create a project in weblate for these versions?

    As an alternative, I'll do PRs for every term to translate, perhaps not the better way (an user without git knowledge will find it hard to do).

    Thanks,
    Sergio Corato

    by Sergio Corato - 12:05 - 14 Dec 2022
  • Re: pre-commit changes
    The idea of the first pre-commit set is to store the automatic changes

    Well, I was coming from a place where I'd separate aesthetic changes (automatic or not) vs. functional changes, but thanks for clarifing that.

    I'll squash my intermediate commit into the Migration one.

    Have a nice day.

    by Marco Colombo - 02:10 - 6 Dec 2022
  • Migration 12.0 -> 13.0 and field collision
    Hi,

    I'm starting a migration process for a copy of our production database and it fails on the following error (detailed log attached):

    ERROR mig_9008 odoo.sql_db: bad query:
                UPDATE ir_model_fields
                SET name = 'notified_partner_ids'
                WHERE name = 'needaction_partner_ids'
                    AND model = 'mail.message'

    ERROR: duplicate key value violates unique constraint "ir_model_fields_name_unique"
    DETAIL:  Key (model, name)=(mail.message, notified_partner_ids) already exists.
     
    ERROR mig_9008 OpenUpgrade: mail: error in migration script mail/migrations/13.0.1.0/pre-migration.py: duplicate key value violates unique constraint "ir_model_fields_name_unique"

    I tracked down the issue and I found out that the `notified_partner_ids` field was an existing field added in 7.0 but deleted in 9.0.
    Maybe this field should have been dropped or renamed to `openupgrade_legacy_xxx`, I don't know if it should be the case or if I made a mistake in my original upgrade path, but this field still exists in our database even if not referenced in any files.

    Whatever, if you are in my case, I made a PR to identify and remove orphaned fields (for the database_cleanup module):

    For the record, we have more than 1000 orphaned fields (list attached) in our production database (updated from 6.1 -> 7.0 -> 8.0 -> 9.0 -> 10.0 -> 11.0 in october 2020)


    by Yann Papouin - 11:46 - 6 Dec 2022
  • Re: Candidature pour un poste en Alternance – Bachelor Concepteur développeurd’applications
    Bonjour,
    l'OCA est une communauté de développeurs, analystes, gestionnaires de projets autour du logiciel Odoo.
    Ce n'est pas une entreprise qui offre du service à des clients directs.

    Je vous conseille de vous renseigner avant d'envoyer ce genre de mail à une mailing liste comptant des centaines de personnes, ce qui s'apparente à du spam.

    De plus, la langue de communication n'est pas le français mais l'anglais.

    Bonne continuation dans votre recherche.
    Virginie Dewulf, membre du board de l'OCA.

    -----Original Message-----
    Reply-To: Odoo Community Association (OCA) Contributors <contributors@odoo-community.org>
    Subject: Candidature pour un poste en Alternance – Bachelor Concepteur développeurd’applications
    Date: Sun, 04 Dec 2022 14:02:29 -0000

    Bonjour,

    Afin de réaliser mon Bachelor Concepteur développeur d’applications en alternance, je vous adresse ma candidature pour un poste au sein de votre entreprise.

    La formation que je m'apprête à suivre me permettra d'acquérir de nouvelles compétences opérationnelles, afin de mener à bien les missions que vous voudrez bien me confier.

    Cette formation en alternance se déroule en ligne selon les modalités suivantes :

    - Des rentrées toute l'année (pas de date fixe de rentrée)
    - Un rythme d'alternance optimisé : 4 jours en entreprise / 1 jour en formation, adapté aux temps forts d'activité de votre entreprise
    - Un programme de formation à la carte : vous déterminez l'ordre des modules à suivre en fonction des missions que vous serez amené à me confier.

    De plus, pour toute embauche en alternance vous bénéficiez d’une prime de 8000€ grâce au plan "1 jeune, 1 solution", ce qui diminue considérablement le coût lié à mon embauche.

    Vous trouverez ci-joint mon CV ainsi que la brochure de présentation de l'ISCOD.

    Dans l'attente d'un entretien, je vous prie d'agréer, Madame, Monsieur, l'expression de mes salutations distinguées.

    Adnane Azzouz
    +33769283265

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Virginie Dewulf. - 10:31 - 5 Dec 2022
  • Candidature pour un poste en Alternance – Bachelor Concepteur développeur d’applications

    Bonjour,

    Afin de réaliser mon Bachelor Concepteur développeur d’applications en alternance, je vous adresse ma candidature pour un poste au sein de votre entreprise.

    La formation que je m'apprête à suivre me permettra d'acquérir de nouvelles compétences opérationnelles, afin de mener à bien les missions que vous voudrez bien me confier.

    Cette formation en alternance se déroule en ligne selon les modalités suivantes :

    - Des rentrées toute l'année (pas de date fixe de rentrée)
    - Un rythme d'alternance optimisé : 4 jours en entreprise / 1 jour en formation, adapté aux temps forts d'activité de votre entreprise
    - Un programme de formation à la carte : vous déterminez l'ordre des modules à suivre en fonction des missions que vous serez amené à me confier.

    De plus, pour toute embauche en alternance vous bénéficiez d’une prime de 8000€ grâce au plan "1 jeune, 1 solution", ce qui diminue considérablement le coût lié à mon embauche.

    Vous trouverez ci-joint mon CV ainsi que la brochure de présentation de l'ISCOD.

    Dans l'attente d'un entretien, je vous prie d'agréer, Madame, Monsieur, l'expression de mes salutations distinguées.

    Adnane Azzouz
    +33769283265


    by adnaneazzouz@outlook.fr - 03:01 - 4 Dec 2022
  • Q: How to Configure GS1 barcodes on Odoo 14 community version
    Greetings All,

    I'm facing an issue with reading gs1 datamatrix codes, I have installed all related gs1 barcodes modules  but the system is still not able to read the barcodes. I have tried to configure it but there was no success.

    Also, after updating "Stock Barcodes" to the latest version, I could not figure out how to configure the barcode option settings.

    It would be really appreciated if you guide me through the process on how  to configure the gs1 as well as the new barcode option configurations for the latest version of "Stock Barcodes"

    Below you'll find  all the  module that were installed Odoo 14 community version :

    Stock Barcodes

    Stock Barcodes GS1

    Stock Barcodes GS1 Expiry

    GS1 Barcode API

    Product GS1 Barcode

    by Hazem - 07:05 - 4 Dec 2022
  • pre-commit changes
    Hi,
    quick question about pre-commit changes during migration.

    I'm migrating a module from 14.0 to 16.0. I've noticed that the first pre-commit related commit ("[IMP]: pre-commit stuff") takes care only of part of the changes needed to make pre-commit happy (it is possible due to the --no-verify). The missing part can be significant.
    The following commit ("[MIG]: $MODULE: Migration to 16.0") must include those changes too, plus anything migration related.

    So I was wondering if that defeats the purpose of having pre-commit changes separated in their own commit.  Right now, my approach is to create a second commit, named "[IMP]: more pre-commit stuff", just to make pre-commit happy, and then add another commit with the migration stuff.

    Alternatives I've considered: ignoring the issue and include both migration and the rest of pre-commit changes in one commit ("[MIG]: $MODULE: Migration to 16.0"), or do as I do now but squash the two pre-commit related commits before merge (or equivalently, get rid of the --no-verify in the first place, and manually add all changes to the first commit).

    Thoughts / suggestions?

    by Marco Colombo - 01:46 - 2 Dec 2022
  • XML errors when upgrading modules, because of fields in unrelated modules
    Hello,

    I've been finding this weird issue for a while, but decided to take some tome to write about it.

    I've seen frequently the case where:

    1. A custom module adds a field to a model and view. For example. to res.company.
    2. Later, another (unrelated) custom module also adds a new field to that same model (model and view).

    When installing or upgrading that second module, I see errors loading the XML with the form view.
    The error says that the field added by module 1 is missing in the view.
    But a) module 1 is installed an the field exists and b) the XML for the view in module 2 doesn't have any reference to that "missing" field!

    I found this frequently in Odoo 14.
    Honestly I'm not sure if it if also happens in other versions.

    Has anyone else experienced this?

    Thank you

    --
    DANIEL REIS
    MANAGING DIRECTOR

    M: +351 919 991 307
    E: dreis@OpenSourceIntegrators.com
    A: Avenida da República 3000, Estoril Office B, #34


    by Daniel Reis - 02:30 - 25 Nov 2022
  • OCA Financial Auditors Campaign Closes Today - 25th November
    Hello OCA Contributors,

    Just a reminder our Financial Auditors Campaign closes today. So far we have only had 1 applicant. Preferably we would like to be able to vote for 3.

    To apply as a candidate you do not need to be a delegate or member. Perhaps someone on your team has the skills to help the OCA with the annual audit?
    It isn't a huge task thankfully but does obviously require a certain skill set.

    Please fill in the survey below or share the link with colleagues who might be interested:
    Warmest regards,
    Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 10:30 - 25 Nov 2022
  • Financial Auditor Campaign closes November 25th
    Hello OCA Contributors,

    I hope the week is going well for you!
    I just wanted to remind you our financial auditors campaign closes this coming Friday 25th of November.

    To apply as a candidate you do not need to be a delegate or member. Perhaps someone on your team has the skills to help the OCA with the annual audit?

    Please fill in the survey below or share the link with colleagues who might be interested:
    Warmest regards,
    Rebecca
    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 04:51 - 23 Nov 2022
  • Module name, name collision
    Hi all,

    It seems there are miscellaneous practices to deal with name collision in OCA, mainly regarding Odoo SA module names

    here mgmt is used

    here and in some other repos oca is used

    Is there any other practice ?

    Should we converge on the same standard ? with a rename in future version with apriori openupgrade file ?

    Personally I prefer oca, but it probably needs to be voted !?

    What do you think?

    Regards

    Thanks

    by David BEAL - 04:16 - 22 Nov 2022
  • OCA - RFQ - Improving the Documentation of Open Upgrade
    Hello OCA Contributors.

    Have you seen our latest RFQ for improving the Open Upgrade Documentation?

    Please have a look here if you are interested in responding:
    Send your proposals in by December 4th. We look forward to hearing from you.

    Warmest regards,
    Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 12:01 - 22 Nov 2022
  • Question about migration of account.tax and related entity (in my case on l10n_be)
    Dear community,
    
    I'm currently migrating a database from version 9.0 to version 14.0.
    My problem is between 12.0 and 13.0 where accounting element has
    changed.
    
    The database is using Mis Builder to generate accounting reports. These
    reports are based on account.account.tag that are linked to account.tax
    (and also account.move.line in 13.0).
    
    As I have seen, in 9.0 (and until 12.0), account.account.tag are linked
    to an account.tax via a simple field tag_ids :
    https://github.com/OCA/OCB/blob/12.0/addons/account/models/account.py#L937
    
    Starting from 13.0, tags are no more linked to account.tax directly.
    They are linked to an account.tax.repartition.line which is linked to an
    account.account.tax.
    https://github.com/OCA/OCB/blob/13.0/addons/account/models/account.py#L1340-L1341
    
    In 13.0, the account.chart.template has been updated accordingly.
    
    As is, the migration did not succeed. At some point, odoo try
    to remove the old account.tag. But that's not possible because these
    tags are linked to existing account.move.line.
    https://github.com/OCA/OCB/blob/13.0/addons/account/models/account_move.py#L2792-L2796
    
    To avoid such deletetion, I flagged existing account.account.tag as
    noupdate=True.
    
    When migrating the database the existing all account.account.tag linked
    to the account.tax are moved to all the account.tax.repartition.line of
    the account.tax. Meaning that if there is account.account.tag named
    "03", "49", "54" that are all linked to an account.tax. After migration
    each line of account.tax.repartition.line will have "03", "49" and "54"
    as tags.
    
    This does not reflect the new account.chart.template for belgium.
    
    So my first intention was to update the account.tax, particulary their
    account.tax.repartition.line to replace the old account.account.tag by
    the new one created during the migration. Using the new
    account.chart.template as an example. But that does not works, because
    existing account.move.line always points to the old account.account.tag.
    
    I have no idea how to update the tags on the account.move.line to
    reflects the new account.chart.template and the new tags.
    
    I tried to find the logic that computes tags on an account.move.line.
    But it's really obscure for me. And simply applying the following
    recompute method does not works (it causses issue about non balanced
    account element):
    https://github.com/OCA/OCB/blob/13.0/addons/account/models/account_move.py#L990-L1049
    
    Anther option is to map the old tags to the new one. But here comes the
    problem that there is more new tags than old ones. So that I'm not sure
    how to perform the mapping. For example the following records:
    https://github.com/OCA/OCB/blob/12.0/addons/l10n_be/data/account_tax_template_data.xml#L16-L19
    https://github.com/OCA/OCB/blob/13.0/addons/l10n_be/data/account_tax_report_data.xml#L45-L52
    In 13.0 the account.account.tag created have sign. There exist two
    version for the tag 03:
    SELECT name, applicability, tax_negate
    FROM account_account_tag WHERE name ILIKE '%03';
               name            | applicability | tax_negate
    ---------------------------+---------------+------------
     Belgium VAT Form: grid 03 | taxes         |               <- the old one
     -03                       | taxes         | t             <-|
     +03                       | taxes         | f             <-L the two new ones
    (3 rows)
    
    Should I replace the old "03" tag by the "+03" one, or should I
    sometimes replace it by the "-03" and when ?
    
    When this will be solved, I will still be wondering if such a line is
    ok ?
    SELECT account_move_line_id, name
    FROM account_account_tag_account_move_line_rel AS aatamlr
    JOIN account_account_tag AS aat
    ON aatamlr.account_account_tag_id = aat.id
    WHERE account_move_line_id = 9166;
     account_move_line_id |           name
    ----------------------+---------------------------
                     9166 | Belgium VAT Form: grid 03
                     9166 | Belgium VAT Form: grid 54
                     9166 | Belgium VAT Form: grid 49
                     9166 | Belgium VAT Form: grid 64
    
    Where we see that an account.move.line is linked to 4 differents
    account.account.tag.
    
    
    I also take a look at this:
    - https://github.com/OCA/OCB/blob/12.0/addons/account/models/chart_template.py#L14-L52
    - https://github.com/OCA/OCB/blob/13.0/addons/account/models/chart_template.py#L14-L31
    But it does not seams to solve the previous issue.
    
    And finaly I looked at account_chart_update module, but it did not seams to solve the previous issues niether.
    https://github.com/OCA/account-financial-tools/tree/14.0/account_chart_update
    
    If you have any clue, it will be very helpfull. :)
    
    Regards,
    
    --
    Rémy Taymans @ Coop IT Easy
    +32 493 02 69 85 - <https://github.com/remytms>
    <https://coopiteasy.be>
    

    by Rémy Taymans - 04:06 - 21 Nov 2022
  • New OCA Delegates and Financial Auditors Campaign Open
    Hello OCA Contributors,

    I hope this finds you all well.

    We've completed the Delegates campaign and now welcome 10 new Delegates to the OCA.
    • Dora Jurcevic 

    • Pierre Verkest 

    • Jacques-Etienne Baudoux 

    • Gijs-Jan Otten 

    • Héctor Villarreal Ortega 

    • Emeric Panisset 

    • Quentin Dupont 

    • Jean-Charles Drubay 

    • Danny Adair 

    • Nikolina Todorova 

    We were extremely fortunate this year with 23 members in total applying. Thank you to everyone who participated. It was energising to see so many great names put forward and I am sure for those voting it was difficult to choose just 10.

    The process is now for the existing and new Delegates who wish to apply to become Board members, to do so - this stage closes on the 25th of November. The applicant survey has been shared on the Delegates mailing list.

    The Financial Auditors campaign is now open too. The applicants for this do not need to be Delegates or Members, if you or someone in your organisation is interested in applying please complete this survey.

    We'll keep you posted on the results of the voting in about a month's time when the Annual General Assembly is complete.

    Have a great week,
    Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 05:11 - 14 Nov 2022
  • PSC Members and Representatives - please complete activities for 2022 OCA AGA
    HI all,

    We've had a bit of response to my previous email as we check-in for the year on how everyone has gotten on.

    Please if you haven't had a chance have a look at the  working document here and fill in what you have been up to over the year.

    I'll close this off next Wednesday the 16th, so you've got a week ;)
    It doesn't need to be a long post, just a quick summary of what has been accomplished.

    Thank you in advance.
    Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 02:26 - 9 Nov 2022
  • Inventory report / valuation loading time
    Hi, 

    do you have any solutions/suggestions to speed up inventory reports/valuation loading time?

    Thanks!

    image.png

    --

    Francesco Foresti
    Sicurpharma Srl

    by Francesco Foresti - 12:51 - 7 Nov 2022