Giter Club home page Giter Club logo

Comments (16)

pedrobaeza avatar pedrobaeza commented on July 30, 2024

Old views should be automatically purged, but in this case, just remove them by SQL

from commission.

alanljj avatar alanljj commented on July 30, 2024

@pedrobaeza Thank you for your answer, could you please share a little more which views must be purged?

from commission.

pedrobaeza avatar pedrobaeza commented on July 30, 2024

You have the view_id in the traceback.

from commission.

alanljj avatar alanljj commented on July 30, 2024

DELETE FROM ir_ui_view WHERE id = 3437;
DELETE 0
And the view_id changes every time, everytime I can't del it.
@pedrobaeza May I ask wether my commond is wrong?

from commission.

pedrobaeza avatar pedrobaeza commented on July 30, 2024

parent_id: 126

from commission.

alanljj avatar alanljj commented on July 30, 2024

@pedrobaeza look like there is no record for parent_id: 126. Thanks again!
=> DELETE FROM res_partner WHERE parent_id = 126;
DELETE 0
Please give me more suggestion!

from commission.

pedrobaeza avatar pedrobaeza commented on July 30, 2024
DELETE FROM res_partner WHERE inherit_id = 126;
DELETE FROM res_partner WHERE id = 126;

from commission.

alanljj avatar alanljj commented on July 30, 2024

@pedrobaeza here is the result:
=> DELETE FROM res_partner WHERE id = 126;
DELETE 0
=> DELETE FROM res_partner WHERE inherit_id = 126;
ERROR: column "inherit_id" does not exist
LINE 1: DELETE FROM res_partner WHERE inherit_id = 126;

from commission.

pedrobaeza avatar pedrobaeza commented on July 30, 2024

Wow, I haven't seen the model!!

DELETE FROM ir_ui_view WHERE inherit_id = 126;
DELETE FROM ir_ui_view WHERE id = 126;

from commission.

alanljj avatar alanljj commented on July 30, 2024

@pedrobaeza but the id 126 is a form view for Customer "res.partner.form", I can't delete it, many addons inherit from it.
It's blonge to base addon res_partner, is there any conflict with this model?

from commission.

pedrobaeza avatar pedrobaeza commented on July 30, 2024

You should delete views and update your base module.

from commission.

alanljj avatar alanljj commented on July 30, 2024

@pedrobaeza I found there are 40 form views inherit from id=126, that means I need uninstall all of this iherit addons, then I can delete id=126.

May I ask whether their have any solution update the sale_commission to solve this problem?

from commission.

pedrobaeza avatar pedrobaeza commented on July 30, 2024

Sorry, I have already told you how to solve it.

from commission.

alanljj avatar alanljj commented on July 30, 2024

Anyway, I am really appricated you time, thank you very much!

from commission.

alanljj avatar alanljj commented on July 30, 2024

@pedrobaeza I come here to thank you for your suggestion.

after git pull latest source and updated the model base, it was installed successfully.

from commission.

pedrobaeza avatar pedrobaeza commented on July 30, 2024

Good to know that.

from commission.

Related Issues (20)

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.