Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

How Can I delete anything from Database (odoo) for start again

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
3 Odpowiedzi
36735 Widoki
Awatar
Daniel Sanchez de Leon

I am making testings creating clients and invoices but i can delete invoices. I wish to delete anything for start again. It is possible?

 

Thanks

1
Awatar
Odrzuć
Awatar
Martin
Najlepsza odpowiedź

I have been concerned about this difficulty for a long time.  If you are learning Odoo on your own it can be really horrible to paint yourself into a corner and have to recreate the whole project by hand to get yourself back to the point just before the misstep.

I published on GitHub a toolkit for managing the process of recreating a database from data in spreadsheets.  It's a Python program that you can run in your laptop or whatever.  It pulls data records from Google speadsheets and injects them into the right places in Odoo using XML-RPC.

The main point is that, using settings in a control spreadsheet, you can have complete automated control over the process of installing modules and inserting data, without programming.

I made a video series that introduces the whole environment I use so I can run it from a Chromebook or mobile phone:   http://blog.warehouseman.com/2014/02/step-00-handbook-for-devops-for-openerp.html.

The last video, http://blog.warehouseman.com/2014/02/demonstrate-data-pump.html gives a really fast (<5 mins) demo of how you can use the data pump to install extra languages and provinces for a country.

The project page is GData OpenERP Data Pump

I'd love to have some collaborators to help me move it forward more quickly.

 

Note! -- Google has changed the interface to its spreadsheets.  For the time being, the pump will work only with "old-style" spreadsheets.

 

4
Awatar
Odrzuć
gunnar

that seems like a great project. Is there a way to do that without google spreadsheets? I think I would have a hard time justifying that I have uploaded confidential data to a google (or any other) cloud service where no one can ever say where the data goes and who has access to look at it or copy it to wherever.

Martin

That's a sensible observation. There are certainly inappropriate use cases. Keeping separate development and production servers is always a good idea, and this tool is definitely for the development side, for the moment. All spreadsheets have size limitations too, which you'd run into quite soon with production data. Meanwhile, Daniel Sanchez de León (the OP), describes exactly the use case for I which I developed the pump. Other use cases I had in mind include: preparing demos to customers, training users, testing 3rd party modules before installing in production, debugging the install/de-install cycles of one's own modules, and pre-production setup of production servers (charts of accounts, categories, parameters, products, locations). You have given me the idea to include (some day) an encryption filter for obfuscating sensitive columns. It'd decrypt fields just before pumping them into Odoo. You're welcome to contribute that if you feel the inclination. I did use the really cool site http://www.fakenamegenerator.com/. I ordered 100,000 free fictional persons in a csv file, loaded it into Google Spreadsheets and then used formulas to create data for the pump.

gunnar

hi Martin, I'd love to help but total illiterate in programming whatsoever, so would there be anything apart from that?

Awatar
gunnar
Najlepsza odpowiedź

I had a similar question and so far it looks like ... you can't really. The problem is that all installed modules are inside the database, so if you make a new empty one ... also all installed modules are gone. The workaround for your scenario seems to be:

  1. make a new empty database
  2. install all modules you want to use
  3. make a dupliacte of that still empty database and use that for testing.
  4. Once you go 'live' ... use the still ampty database with all modules installed

I know it is probably the wrong moment for you now (because it's too late) bit it seems that this is the way it works. I think what would be cool would be a Duplicate of the curren database without the data. I guess Oddo is constructed in a way somehow that sees the modules in the same way as your actual data.

If you don't have many entries yet you can try to either delete them handish or unckeck "active" checkbox in the objects you want to remove. When something is not "activ" anymore it still fullfils its dependenies with other parts of your database, but you don't see it anymore. Not 100% sure how "clean" that solution is

Deleting things by hand can be a lengthy process because in many cases an entry might be used somewhere else, so you need to delete these entries in the right order. For example the invoice you are referring to is used by any other part in your database which prevents the invoice from being deleted. So you need to get rid of this object first... depending on how many entries you have already this can be a tyring task, especially when you don't have really a clue where exactly your dependencies are.

1
Awatar
Odrzuć
Awatar
Candra Rusly
Najlepsza odpowiedź

As for me, for testing softwares i usually use VM, mostly i used virtualbox, there are features like snapshot and export the virtual machine where you can use to create "save points" as your testing or development goes, i know it's like using a cannon to shoot an apple, but so far it's the most foolproof way that i always use.

and do take notes, use online notes like evernote or such to keep track of your progress, it hurts when we miss certain steps to prepare the whole system.

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now