Skip to Content

Contributors

  • Shipping Costs
    Hello,

    I found this requirement that I don't see existing features to support it.
    Target version is Odoo 14.

    A Sales order has a shipping costs line.
    There is a shipping price charged to the customer, that is zero in most cases.
    And there is an actual cost, that should depend on the delivery method we end up using.

    The first gap is that the "Update Shipping Cost" button on the Sales Order updates the *price*, and not the cost.

    The second gap is that, if you do set an amount on the SO line cost field, it is not carried over to the invoice.
    The account_invoice_margin module solves this, but then, when posting the invoice this cost information is not used for the posting, and is not recorded in the accounting entries.

    I'm ready to create a module to support this case, but I'm wondering if I am missing something here.
    Am I thinking through this right?

    Thanks!

    --
    Daniel Reis
    Managing Director
    M: +351 919991307
    E: DReis@OpenSourceIntegrators.com
    Av Doutor Desidério Cambournac 12 • 2710-553 Sintra, Portugal



    by Daniel Reis - 05:01 - 29 Apr 2021
  • Confirm unsubscription to Contributors
    Your Channel
    Contributors
    Odoo Community Association (OCA)

    Hello,

    You have requested to be unsubscribed to the mailing list Contributors.

    To confirm, please visit the following link: https://odoo-community.org/groups/unsubscribe/15/16398/2eb67cc745fb1534875df5daebaf9183.

    If this was a mistake or you did not requested this action, please ignore this message.

    Odoo Community Association (OCA)
    info@odoo-community.org | http://odoo-community.org
    Powered by Odoo

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


    by info@odoo-community.org - 09:51 - 29 Apr 2021
  • 30 Checkout Operations per Minute A job for Odoo or not ?
    Hi Folks, 
    
    i have a project proposal on my desk that will ultimately end up in
    approx. 30 checkout transactions per minute. Has anybody got a project
    with that order volume done with a relatively recent version of Odoo
    and provide a good reference. Please bear in mind that the project
    ahead involves a similarly high volume of stock moves.
    
    Any suggestion / comment like (but not limited to) 
    
    Odoo is the wrong technology for that, forget it, because....
    
    over
    
    You can do it but, a), b), c) ....
    
    to
    
    If you really want that beast flying involve us over here because we
    are among the few ones that already did soemthing similar
    
    would be appreciated. 
    
    From our load intensive projects at initOS i know that 10000 orders a
    day can be handled but almost 50000 is a different story and thats why
    i am asking the most experienced resource out there ;-)
    
    Thanks in advance for your replay
    
    Cheers Frederik
    
    -- 
    Dr.-Ing. Frederik Kramer
    Geschäftsführer
            
    initOS GmbH
    An der Eisenbahn 1
    21224 Rosengarten
            
    Phone:  +49 4105 56156-12
    Fax:    +49 4105 56156-10
    Mobil:  +49 179 3901819
            
    Email: frederik.kramer@initos.com
    Web:   www.initos.com
            
    Geschäftsführung:
    Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
    
    Sitz der Gesellschaft: Rosengarten – Klecken
    Amtsgericht Tostedt, HRB 205226
    Steuer-Nr: 15/200/53247
    USt-IdNr.: DE815580155
    
    

    by Frederik Kramer - 10:16 - 28 Apr 2021
  • Rename a module with migration script
    Hello all!
    We are trying to rename a module. The main purpose is to change the
    name of the module itself, as well as xmlids, models and tables.
    
    Preliminary step:
    - Add a pre-migrate script like this one in new_name_module (bumping
    the version number):
    https://github.com/OCA/l10n-italy/pull/2220/commits/d6c790525e1892be1d04391054ccb779092c354c#diff-a86bc87cb07b27f04908e90baeb089a9182ad568d8e7205f40f3e689272bb76c
    
    Test steps:
    
    1) old_name module installation
    2) add/change some data in Odoo
    3) checkout to commit containing new_name module, migration script and
    version bumped
    4) launch old_name_module update:
    ./odoo-bin -c etc/odoo14.cfg -d testdb -u old_name_module --stop-after-init
    
    Output:
    old_name_module: not installable, skipped
    
    In fact pre-migrate script is not triggered.
    
    
    As an alternative to 4), we tried this:
    4) launch new_name_module update:
    ./odoo-bin -c etc/odoo14.cfg -d testdb -u new_name_module --stop-after-init
    
    But it didn't work as well.
    
    
    The only way (we have found so far) to trigger pre-migrate script is this:
    
    1) old_name module installation
    2) add/change some data
    3) checkout to commit containing new_name module, migration script and
    version bumped
    4) execute odoo shell
        >>> from openupgradelib import openupgrade
        >>> openupgrade.update_module_names(env.cr, [('old_name_module',
    'new_name_module'),], merge_modules=False,)
        >>> env.cr.commit()
    5) launch new_name_module update:
    ./odoo-bin -c etc/odoo14.cfg -d testdb -u new_name_module --stop-after-init
    
    
    Do you know a way to trigger the migration script without using odoo shell?
    
    Thanks in advance.
    S.
    

    by Sergio Zanchetta - 10:16 - 28 Apr 2021
  • RFQ - Communication Strategy for the next 3 years - share this please
    Dear OCA Contributors,
    We hope your week's have started well.

    Late last week we shared through our social media our latest RFQ. To share further please find the information below.

    The OCA is looking for  a Communication Strategy Expert to help define our Communication Strategy for the next  3 years.

    To find out about the work schedule and deliverables please see here: https://drive.google.com/file/d/19EL646MjjpI4lN47v4P18tHMk2q_1ktR/view

    If you have any questions please  email: rfq@odoo-community.org

    Warmest regards,
    Rebecca & Virginie

    by Virginie Dewulf. - 10:16 - 28 Apr 2021
  • RFQ - OCA Communication Strategy Expert
    Dear Contributors,

    I hope your week's have started well.

    Late last week we shared through our social media our latest RFQ. To share further please find the information below.

    The OCA is looking for  a Communication Strategy Expert to help define our Communication Strategy for the next  3 years.

    To find out about the work schedule and deliverables please see here: https://drive.google.com/file/d/19EL646MjjpI4lN47v4P18tHMk2q_1ktR/view

    If you have any questions please  email: rfq@odoo-community.org

    Warmest regards,
    Rebecca
    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 10:15 - 28 Apr 2021
  • Enable Github Discussions for l10n-brazil
    Hi

    Someone with permission to configure OCA´s projects, could kindly activate the github discussions of the Brazilian Localization project?


    Thanks in advance

    Luis Felipe Miléo
    CEO
    phone: +55 11 3090-9303
    mobile: +55 35 988 763 663
    logo
    R. Coronel Renó, 07 - Sala PC.2.3.01
    Itajubá - MG
    kmee.com.br
       

    by Luis F Miléo - 10:15 - 28 Apr 2021
  • punchout and cxml
    Hello
    
    One of our customers would like to have his Odoo instance available 
    through "punchout", possibly using cXML
    
    """
    PunchOut is not a link to a web site. PunchOut is an easy-to-implement 
    protocol for interactive sessions managed across the Internet. PunchOut 
    is a communication from one application to another, achieved through a 
    dialog of real-time, synchronous cXML messages, which support user 
    interaction at a remote site. It is the best way to manage user sessions 
    distributed across web applications.
    
    This protocol is most commonly used today in the form of Procurement 
    PunchOut, which specifically supports interactions between a procurement 
    application and a supplier’s eCommerce web site and possibly includes an 
    intermediary for authentication and version matching. Procurement 
    PunchOut describes the "traditional" PunchOut scenarios that use the 
    regular PunchOut Setup Request and PunchOut Setup Response. The PunchOut 
    session is initiated with a PunchOutSetupRequest and terminates with a 
    posting of a PunchOutOrderMessage, which contains the initiating 
    transaction’s cookie and a shopping cart or “quote”.
    """
    (http://cxml.org/faq.html)
    
    Anyone already faced a similar requirement?
    
    Thanks for your feedback
    
    
    
    -- 
    Alexandre Fayolle
    Senior Software Engineer
    Tel : +33 4 58 48 20 30
    
    Camptocamp France SAS
    18 rue du Lac Saint André
    73 370 Le Bourget-du-Lac
    France
    
    http://www.camptocamp.com
    

    by Alexandre Fayolle - 10:14 - 28 Apr 2021
  • Special way of searching for products
    Hello,
    
    I have been asked few times by users if it is possible to search for products 
    in a way omitting special characters (like dash or space for exmaple) from 
    product's default_code (or even input string). Let me give an example:
    
    Let's say we have a product with default_code like CD-12345-XYZ In current 
    situation if user enteres "CD12345" or "CD 12345" nothing is retrieved. Vice 
    versa, if the default_code is CD12345XYZ and user enters "CD-12345" or "CD 
    12345" nothing is retrieved either. So the solution would be to first remove 
    those special characters from the string being searched for and then search 
    for default_code transformed with some (SQL?) function.
    
    Is anything like that possible? One idea comes to mind using computed field 
    where that stripped deault_code would be stored and extending default search 
    to use this. However that would require stored computed field. Any way to 
    prevent this?
    
    Thank you. Best regards
    
    	Radovan Skolnik
    
    
    

    by Radovan Skolnik - 10:14 - 28 Apr 2021
  • Following the bank statement changes in v14
    Dear OCA friends,

    Now that most of the key OCA accounting modules are ported to Odoo v14 and that the features that were moved to Odoo Enterprise have been restored in OCA (account_reconciliation_widget in OCA/account-reconcile and account_statement_import in OCA/bank-statement-import), I'm starting to do some real life end-to-end accounting scenarios in Odoo Community v14.

    The scenario I'm currently testing is the following:
    - create several vendor bills
    - add vendor bills to payment order
    - confirm SEPA payment order
    - import bank statement with 1 statement line with total amount of payment

    In previous odoo version, if the payment mode was configured with "offsetting_account" = "bank_account", it would generate an account move with the bank account as counterpart account ; and then, in the bank statement reconcile interface, you would match with a proposed blue line and it would not create a new account move but it would update the account move generated by the payment order and link it to the bank statement line.

    As far as I understand (please correct me if I'm wrong !), this accounting scenario is not possible in Odoo v14. According to my tests on runbot Enterprise, when you are in the bank statement reconcile interface, you can still see blue lines in the proposals, but selecting blue lines will generate a new journal entry, it won't update the journal entry of the payment.

    In short, the accounting scenario of vendor bill => SEPA payment => bank statement :
    - with Odoo v9 to v13 with "offsetting_account" = "bank_account" : expense account => supplier account => bank account (total : 3 accounts)
    - with odoo v14 : expense account => supplier account => Outstanding Payments Account => bank account (total : 4 accounts)
    So the accounting scenario is similar to what we used to do in v8 with the transfer account (now named "Outstanding Payments Account") before the introduction of the concept of "blue lines" on the bank statement reconcile interface.

    If this is confirmed, I plan to update the following OCA modules:
    - account_payment_order from OCA/bank-payment : remove the fields "offsetting_account" and "transfer_account_id" on account.payment.mode. We would keep the field "transfer_journal_id" because you may want to have the journal entry "supplier account => Outstanding Payments Account" in a specific journal that may not be the bank journal.
    - on account_check_deposit in OCA/account-financial-tools (pending PR https://github.com/OCA/account-financial-tools/pull/1088) : remove the fields "check_deposit_offsetting_account" and "check_deposit_transfer_account_id" on res.company.

    As these are important changes, I prefer to post this message before modifying the code.

    And I made a PR to remove the condition payment_id != false on account.move.line in the module account_reconciliation_widget:

    --
    Alexis de Lattre

    by Alexis de Lattre - 10:13 - 28 Apr 2021
  • By pass security rule on some situation.
    Dear community,

    I want to bypass some field model's security rule. So far, we pass context to tell search/read function to use sudo().

    But I found this module as the solution we need https://apps.odoo.com/apps/modules/10.0/dynamic_bypass_record_rule/

    May to double check if community already has something already, else I will ask the author to include it in OCA.

    Thanks!
    Kitti U.

    by Kitti Upariphutthiphong - 10:13 - 28 Apr 2021
  • Migration new api sentry - server-tools
    Hi everyone!

    A few months ago I made following PR:


    In order to migrate to new api sentry in v12, however I think that we need to discuss if that migration should be in a new module or keep it in the same module, last option is considering that some parameters no longer exist in migration (such sentry_transport and sentry_processors).

    I look forward to your comments.

    Regards




    by "Fernanda Hernández" <fernanda@vauxoo.com> - 10:12 - 28 Apr 2021
  • multichannel sales with different marketplaces
    Hello,
    
    I'm in contact with a german company who would like to interface Odoo 
    with different marketplaces, such as amazon, ebay but also local german 
    actors. I don't have yet a full list, and the list is likely to evolve 
    over time anyway, so I would not like to use 1 connector backend per 
    marketplace...
    
    I think the most cost effective approach would be to use a 3rd party 
    broker which would take care of the nitty gritty details and present 
    Odoo with a single, unified interface. I think lengow does this, and we 
    have a connector_lengow project in the OCA repositories.
    
    I'm happy to hear some feedback (on the lengow connector, or on using a 
    broker for this purpose), doubtless some of you already had to walk this 
    path.
    
    Thanks
    
    
    -- 
    Alexandre Fayolle
    Senior Software Engineer
    Tel : +33 4 58 48 20 30
    
    Camptocamp France SAS
    18 rue du Lac Saint André
    73 370 Le Bourget-du-Lac
    France
    
    http://www.camptocamp.com
    

    by Alexandre Fayolle - 12:11 - 15 Apr 2021
  • If I am not logged in, I cannot open a mail discussion
    Hello,

    I am not sure if this is the right place to report...

    If I am not logged in, I cannot open a mail discussion, I get a 403 error message.

    You can check with this link for instance:

    image.png
    Regards,

    Jean-Charles


    Komit Logo
      Jean-Charles Drubay
    Managing Director
      Mobile: +84 (0) 9 09 64 34 69
    jc@komit-consulting.com | Skype: jc.drubay
    204/34 Nguyen Van Huong, Thao Dien, D2, HCMC, Vietnam
    https://komit-consulting.com
      


    by Jean-Charles Drubay - 12:01 - 15 Apr 2021
  • Changing quantities and adding products after confirmation of Purchase orders
    Hi all,

    I wonder how, in Odoo 12, handle correctly the change of received quantity and the add of new products, once purchase order has been confirmed.

    Here is my context :

    - Quantity billed are based on "Delivered Quantity".
    - purchase order can be quite big. (> 500 lines).
    - After a purchase is confirmed, people receiving goods have to change quantity many time with all the cases possibles :
    Case A) received qty > ordered qty
    Case B) received qty < ordered qty
    Case C) received qty = 0 (out of stock)
    Case D) new product received (no ordered).

    Typical Case

    Ordered Qty Received Qty
    Product A - Corner Desk Right Sit 10 12
    Product B - Storage Box 20 18
    Product C - Cabinet with Doors 30 0
    Product D - Pedal Bin 0 100


    Draft Purchase Order
    image.png
    Receiving Stock Picking
    For case A, B and C, i can change the received values on the stock picking : the received quantity on the purchase order will be correctly updated / computed.
    But if I add a new line (new stock.move), the line is not added on the purchase order, and so, the bill will not contain the correct value.

    image.png

    Purchase order, (once the picking is confirmed)
    image.png
    Desired purchase order

    image.png

    The only solution I see for the time being is
    - for the case A, B, C : change values on the picking : OK.
    - for the case D, add a line on the purchase.order, and then, go to the picking, and then, set the correct received quantity.

    That is really not user friendly for end users, and so generates a lot of errors.

    - Do you know how to handle the 4 cases in the same screen ?
    - Do you know an (OCA) module that could add a purchase.order.line when adding an stock.move on a ready stock.picking ? (not sure it's the good design)


    thanks for your help.




    Sylvain LE GAL - Twitter
    GRAP - Service informatique (Groupement Régional Alimentaire de Proximité)
    Site Web | FramaSphere | Facebook
    3 Grande rue des Feuillants, 69001 Lyon
    Standard : (+33) 09.72.32.33.17
    Service Informatique : (+33) 09.73.79.64.40
    Astreinte Informatique : (+33) 06.81.85.61.43
    Member of the OCA (Odoo Community Association)

    by Sylvain LE GAL - 11:25 - 15 Apr 2021
  • Proposing Dorin Hongu as Romanian PSC member
    Hello,

    i would like to propose Dorin Hongu as a Romanian PSC member
    so that he can help us manage issues and pull requests.

    He is involved a lot in the project:
    https://github.com/OCA/l10n-romania/commits?author=dhongu


    Thanks

    Regards,
    Mihai Fekete

    NextERP Romania S.R.L.
    600B, Peciu Nou, Romania

    E-mail: feketemihai@nexterp.ro
    Telefon: ‪0788-749989‬
    Website: https://nexterp.ro


    by Mihai Fekete - 12:56 - 14 Apr 2021
  • FWD: REACH Odoo Customers

    Hi – I hope this email finds you well!!

     

    Quick question, would you be interested in acquiring a list of Odoo users/ customers based contact as well as their competitors customers.

     

    List Contains: Business Name, website url, Contact Name, Job Title, email address, phone number, mailing address, Industry type, fax number, social media links (LinkedIn , twitter) if available.

     

    Let me know your target product users and geography so that I can come up with data counts and pricing structure for your review.

     

    I look forward to your response.

     

    Best Regards,

    Symona Valery | Sr. Business Development Expert

     

     

                                                                                                                                                           

     

     


    by "Symona Valery" <symona.valery@updatedverifiedcontact.com> - 02:15 - 13 Apr 2021
  • Performance of /shop controller
    Hi all,

    in our odoo 12 deployments we usually detect a time to first byte above 1.5 sec for /shop pages.

    We already cache \/web\/(static|image|content)\/ in nginx and installed website_js_below_the_fold, but odoo server is the bottleneck at the moment.

    I profiled these requests with py-spy and noticed that execute function (odoo/sql_db.py) takes most of the time.

    Did anybody analyze these queries and have experience or modules to share?

    Thanks!


    by Lorenzo Battistini. - 09:30 - 11 Apr 2021
  • package in a package?
    Hello community,

    with standard or OCA Odoo modules, is there the feature to put a stock.move.line in the destination package (like a small unit as parcel/package) and after several minutes to put the same stock.move.line in a bigger unit like a pallet without losing the information that the stock.move.line is both in the package and in the pallet? 
    At use, it seems to me that, by default, a stock.move.line is only in a package at the same time, and not in a package (parcel) which is in a package (pallett).
    Maybe I missed something?

    Regards,

    Romain Deheele

    by romain@avosdim.com - 11:11 - 6 Apr 2021
  • Login as Admin like in Odoo.SH

    Hi community,


    Does anyone know how to have a button like in Odoo.SH:
    image.png

    Is that possible to connect as a certain user? I get a session token then use it as a Header?

    Thanks!


    by Diogo Duarte - 11:31 - 1 Apr 2021