Skip to Content
  • Question regarding the process for check deposit with POS V>=14.0
    Hi everyone,

    Hope it's the proper place to share this question.
    In v12, all the payment mode for POS were journal so that it work perfectly with the check deposit module.
    Getting check in the POS could be used directly in the deposit.

    In v14, pos.payment.mode are not associated to a specific journal so that collected checks in pos ar not available for deposit.

    Is anyone has an advce for this?

    Maybe @legalsylvain @alexis-via ?

    Regards

    Vertical seprator

    Florent THOMAS

    ☎ +33 972 457 755
    florent.thomas@mind-and-go.com

    Mind & Go
    14, Rue Pierre Cartelet | 66000 PERPIGNAN

    Logo Mind And Go Facebook Mind And Go Twitter Mind And Go LinkedIn Mind And Go


    by Florent THOMAS - 05:00 - 23 Jan 2023
  • Supplier invoice suspending
    Hello,
    
    a customer asks for a functionality to somehow "suspense" supplier invoice 
    (payment) until some additional criteria is met - like for example supplier 
    providing required documents, etc.
    
    New state would seem ot be a good way to do this but I am a bit hesitant 
    adding new state into accounting.
    
    Is there anything else available that would provide clear visibility to 
    accountant that although this bill is posted we should not be paying it yet?
    
    Thank you. Best regards
    
    	Radovan Skolnik
    
    
    

    by Radovan Skolnik - 03:10 - 20 Jan 2023
  • Weblate - use po file download/upload - revisions
    Hi, 
    I did some translation on translation.odoo-community.org using the web interface.
    Now I desire to have an overall view of a repository translation and fix some imprecisions I did, expecially for common and repeated strings.
    I see that I can download the repo's POs file but the Weblate option to upload them isn't enabled.
    If isn't possible to enable the upload, there is a way to go around this (i.e. sending the fixed files to someone)? Or the only solution is the web interface?

    Second question, on Transifex for Odoo project there is the revision option enabled that grant a better quality of the translations.
    Do you think that it can be activate on OCA Weblate too?

    Thanks for attention.
     
    PS: I hope to had use the right mailing list for this questions. 


    Stefano Consolaro
    www.mymage.it

    by Stefano Consolaro - 10:26 - 20 Jan 2023
  • Sorry, i'm not familiar with git
    Hi everyone, I am discovering git/github/Pull Requests and I am receiving this error. 

    Basically I wanted to ask how can I fix this, but most importantly I want to excuse because I think that I forced pushed while trying to fix it. 

    Not sure if force pushing can really cause problems in protected branches, but I have read it's a really bad practice. 

    I suddenly panicked like I never did, of course, and immediately cancelled PR and made it new. But the error is still here. Not sure about the error, what could I do in this situation? 


    Invalid title for commit: ' [FIX] product: add explicit copy arg to property_product_pricelist'
    Thanks in advance,
    Francesco Ballerini

    by Francesco Ballerini - 12:56 - 19 Jan 2023
  • Multi-company > one default bank account
    Dear Contributors,
     
    We are a young distributed devops coop, part of Bar Kayma  - a nonprofit cooperative cultural fiscal hosting consortium from Jerusalem - and a fresh member of OCA, very looking forward to becoming a contributing party to the commons. 

    Recently we started the project of implementing our fiscal hosting frameworks on self hosted  Odoo with the end-goal of developing  our vertical solution of fiscal sponsorship and self management for Non-Profit Projects for social economy peers (basically an Odoo-based OpenCollective.com equivalent) to be shared with the OCA. 

    To our understanding using Multi-Company logic is the best fit for our purposes, including the need of inter-company billing, however as a fiscal host we must be able to set one default bank account (of the main/parent company) for all the children companies.

    So with a lot of inspiration from OCA/Cooperative we started customising and extending Accounting to our needs and for V16 - but still can’t figure out how to make it work properly.

    We tried to set it as a default attribute from inherited account.move model & form, & res.partner.bank, and also muted restriction in res.bank to allow different companies have the same bank account. This however doesn’t seem to work.

    We also tried to set a default bank account value in payment mode, but we couldn’t make the parent's mode be accessible for daughter companies.

    Are we using a wrong approach to the problem?  Or deprecated methods? Had someone already ported any relevant parts of the vertical cooperative  accounting to  v16?

    We would appreciate any help, advice, suggestions, or working examples on how to add this feature without reinventing the wheel.

    Thank you in advance,
    Lena & Talia

    Moshchot Coop
    A DISTRIBUTED OPEN SOURCE COOPERATIVE




    by "Moshchot Coop" <tali@moshchot.org> - 04:10 - 18 Jan 2023
  • booking of resources

    hello, dear contributors!

    one of our clients needs a solution for managing bookings of rooms in a building (for events like conferences, parties, etc.). they have several rooms that can be booked, and each booking can have options involving objects or people, like a video projector, waiters, tables, chairs, plates and cutlery,…

    some objects are identified individually (like video projectors), while others can be considered as always available in infinite quantity (like tables, chairs, plates and cutlery) and only the amount matters.

    bookings would be created manually (on the back-end side) by our client after communicating with their customers (by e-mail, telephone,…). for each booking, a sale order should be made, and the price should depend on the room, the duration and the chosen options. the bookings (and thus availability) of each room, person, and individually identified object (like a video projector) should be visible in a calendar, and booking conflicts must be avoided.

    do you have any advice on how to implement this without reinventing the wheel?

    we looked into the resource_booking module, which seems mostly great overall, but quickly faced a constraint: a resource.booking can only book one resource.booking.combination. a combination is a fixed list of resources, and combinations must be created manually. i’m not sure how it’s supposed to be used.

    if only one resource.booking is created for a customer booking, this means that the booking and all its options must be represented by one combination. for example, if there are 4 rooms, 3 video projectors and 5 people that can be combined freely, 96 combinations (including the “no video projector” and “no waiter” choice) must be created (and each of them must be added to at least one resource.booking.type to be selectable). moreover, the client would need to search through all of these to find the desired one. and what if there could be multiple waiters? this feels awkward. also, availability is only visible per combination, not per resource, so it is not very useful. however, it seems that availability conflicts are checked per resource, but in case of conflict, no information is given about which resource is not available.

    another option is to create one combination per resource, and create multiple resource.bookings (with the same date and the same partner) for one customer booking. this is more flexible, but there are no direct links between all of these bookings. what if the customer wants to change the date or cancel the booking?

    for billing, sale_resource_booking allows to link a product to a resource.booking.combination, so one product is needed for each combination. it also allows to generate a sale order from a resource booking type (so combination and dates must be selected afterwards), but i didn’t find a way to do it from a booking, which would be more useful.

    i understand why using combinations can be useful (as a compound for common use cases), and this is maybe a good technical decision (because it can avoid duplication), but i think that as they are, it seems that, in many cases, they get in the way instead of helping. am i maybe missing something obvious?

    here are some possibilities i’m currently considering:

    1. use one resource.booking per booking, but hide the combinations from the user (using a wizard, for example). the user would select all desired resources, and a matching combination would be used if one exists, or one would be created on the fly.
    2. use multiple resource.bookings per booking (one for each resource), create one combination per resource, and find a way to link resource.bookings together.
    3. extend resource.booking by allowing multiple combinations to be booked per booking (instead of only one), and create one combination per resource.
    4. extend resource.booking by allowing multiple resources to be booked directly per booking (instead of a combination), and don’t use combinations.

    for objects considered as always available, use a product, and extend resource.booking by allowing multiple products (with a quantity) to be linked to a booking, or simply add them directly to the generated sale order.

    i’m pretty sure that this resource booking use case is quite common, and having a generic solution that works for most cases would be useful. do you have any ideas about all this?

    cheers,

    hugues de keyzer
    coop it easy


    by hugues - 08:55 - 17 Jan 2023
  • OCA Module to visualize attachment in tree view

    hi all,

    I'd like to have the possibility to display a column in a tree view with the number of attachment related to the item.

    something like that :

    Ideally, I'd like

    - to have the attachment quantity field stored to have the possibility to filter items with attachment(s)

    - to have a widget="attachment" to have the possibility to open quickly the attachment(s) with a minimal number of click.

    do you know if such feature exists in OCA ?

    Thanks !


    -- 
    Sylvain LE GAL
    - GRAP, service informatique
    - 3 Grande rue des Feuillants 69001 LYON, 09.72.32.33.17
    - Astreinte : 06.81.85.61.43 // informatique@grap.coop

    by Sylvain LE GAL - 05:25 - 13 Jan 2023
  • Proposing PSC l10n-thailand
    Hello everyone,

    I was one of the developers of l10n-thailand repository. I would like to propose myself as a PSC l10n-thailand for improving and migrating.

    My github account: Saran440 

    Thank you,
    Saran Lim.

    by saranl - 07:25 - 11 Jan 2023
  • Packaging management repository
    Hi all,


    I'm questioning about a repository for packaging management as some have added great modules to enhance experience at that level but splitted in several repos (warehouse/workflow/wms)

    Currently, we inherited an historical repository which is under-used due to its weird naming 'stock-logistics-tracking'. As Odoo in early versions named Packages as 'stock.tracking' : https://github.com/odoo/odoo/blob/6.1/addons/stock/stock.py#L474

    I see several approaches but I wanted the advice of wise people:

    - Rename 'stock-logistics-tracking' repository into 'stock-logistics-packaging' (which is not as easy as it seems to be, I suppose).
    - Create the new repository
    - Keeping the old one, adding all the stuff to be clearer : better README, better repo description, ... (easiest one).


    Thanks for your feedback

    --

    Denis Roussel
    Software Engineer
    T    : +32 2 888 31 49
    M : +32 472 22 00 57


    Val Benoit, Quai Banning 6 | B-4000 Liège | Belgium
    Atrium Building, Drève Richelle 167 | B-1410 Waterloo | Belgium
    Zone industrielle 22 | L-8287 Kehlen | Luxembourg

    by Denis Roussel. - 09:36 - 10 Jan 2023
  • vertical-agriculture
    Hi all,

    I would like to apply as PSC on


    I can maintain the repo


    Thanks

    Regards

    by David BEAL - 01:06 - 6 Jan 2023
  • Financial Factoring
    Hello everyone and Happy New Year!

    I am looking for a solution that would allow a company to manage financial factoring with Odoo?


    I have never seen any module to support this but maybe I missed something.

    Thank you.

    Max

    by Maxime Chambreuil - 10:56 - 4 Jan 2023
  • Wake up Manufacture and Maintenance repos
    Hi all,
    I'm porting some module to v16.0: i started with something for managemetnt-system and maintenance filling holes on 15.0 and 14.0 (13.0 if necessary), and I'm interested to Manufacture repo too.
    But I saw that there isn't much activity here in recent time.
    There are someone (PSC I think) that can assist me in this work? Mainly to approve and merge PRs but sometime to help me in strange (for me) errors?
    The same for Maintenance repo.
     
    Thanks 

    Stefano Consolaro
    mymage.it

    by Stefano Consolaro - 05:30 - 22 Dec 2022
  • Bank Account Security
    Hi all,

    During an evaluation of OCA payment order module we discovered a critical default security issue in Odoo. (Note this is V14, but I doubt Odoo did anything)

    Fundamentally, anybody with Contact Creation rights has unfettered access to bank accounts (res.partner.bank). Of course the issue here is with payment orders or any sort of manual/automatic payment upload where the account comes from Odoo as anyone with those rights can just change the account of a large supplier, get paid, move to Caymans.

    On the other hand, where an account does not exist it is created during reconciliation.

    My gut feel is I want to create a simple security addon which just restricts who can Edit/Delete bank accounts. Maybe create too if I can find the creates and work around them.

    So some questions
    Is it a good idea?
    Does it already exist?
    Which repo?
    For create as well?
    For advisor rights (I think nearly all with advisor rights will be members of professional accounting bodies and bound to professional standards OR a business principal) or a new group?
    Only for automated payment scenarios or by default? my gut says actually this is a big issue and should be default.

    by Graeme Gellatly - 10:56 - 19 Dec 2022
  • 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