Giter VIP home page Giter VIP logo

technical-training-solutions's Introduction

Odoo Tutorials Solutions

This repository contains a suggested solution of the Odoo tutorials. Each tutorial has its own branch with the following naming convention: <version>-<tutorial_name>.

Here is the exhaustive list:

Training Branch
Core Training 14.0-core
Advanced A: Internationalization 14.0-A_i18n
Advanced B: ACL and Record Rules 14.0-B_acl_irrules
Advanced C: Master and Demo Data 14.0-C_data
Advanced D: Mixins 14.0-D_mixins
Advanced E: Python Unit Tests 14.0-E_unittest
Advanced F: JS Tours 14.0-F_jstour
Advanced G: Controllers & Website 14.0-G_website
Advanced H: Advanced Views 14.0-H_adv_views
Advanced I: Custom JS Widget 14.0-I_jswidget
Advanced J: PDF Reports 14.0-J_reports
Advanced K: Dashboards 14.0-K_dashboard
Advanced L: Scheduled & Server Actions 14.0-L_cron
Advanced M: Migrations 14.0-M_migration
Advanced N: Security 14.0-N_security
Advanced O: Performances 14.0-O_perf

technical-training-solutions's People

Contributors

clbr-odoo avatar mart-e avatar nim-odoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

technical-training-solutions's Issues

best practices - avoid delegate

@sts-odoo
Could we remove this? We're teaching employees and partners to use the delegate keyword, which is despised by the R&D because:

  • it is too discrete (good luck noticing a delegate true among 35 fields compared to noticing an inherits declaration)
  • it is unclear what happens if more than one delegate is present (e.g. delegate true on 2 models with a name field: which name will be read? I assume it's the one from the first field with the delegate true, but i honestly have no clue. I know this is a chtarbé use-case but it is present in sale_coupon)

Could we switch to inherits instead pleaz?

Also, do a grep for delegate=True : 3 results
inherits: 100+ results -_-

cc @Feyensv

book_id = fields.Many2one('library.book', string="Book", required=True, ondelete="cascade", delegate=True)

Possible error in estate.property.offer:action_accept

return self.mapped("property_id").write(
{
"state": "offer_accepted",
"selling_price": self.price,
"buyer_id": self.partner_id.id,
}
)

If you are accepting several offers at once, won't this code set the buyer_id and selling_price of the first offer of the record_set to all the corresponding properties, even those whose accepted offer is from a different buyer_id and/or at a different selling_price?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.