Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

How to pass a new field from Sales Order Line to Manufacturing?

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
v8modulemrpsaleodoo
4 Risposte
9640 Visualizzazioni
Avatar
Gill Potter

I have created a new text field on the sales order line which will hold free form information required during the manufacturing process.

I now want to pass that field to the Manufacturing Order form. I have found that sale_mrp passes the Sales Order number and Customer Reference number through. How do I write a new module to extend sale_mrp to include my new field?

I am using Odoo v8.

I've made some progress...

I can't make it work when the notes field is on sale.order.line, However I have succeeded in adding a notes field on the sale.order and have got it to appear on the Manufacturing Order form mrp.production. However I don't know how safe what I have done is?

 

0
Avatar
Abbandona
Gill Potter
Autore

Hi Mehmet, I can't reply to your answer I haven't enough answer. I edited my original post to give more information.

Avatar
Gill Potter
Autore Risposta migliore

I should clarify that I am using a product which has Manufacture and Make to Order checked in the supply chain Routes.

My code works when I first install my module. I can write a note in my new field on the Sale order. Confirm the sale -> in Warehouse- Run Schedulers which creates the Manufacturing Order. My notes are visible on the Manufacturing Order under the Extra Information Tab under Priority as I expected.

BUT - After the server was powered down and restarted my note was still on the Sale Order form but had been removed from the Manufacturing form (the field label remained but the content had gone). I think it is because in the official sale_mrp.py _inherit=‘mrp.production’ takes precedence and it doesn't use my sale_lab.py _inherit=‘mrp.production’. Is there any way to overcome this?

UPDATE - To make sure my module is loaded last I added sale_mrp to the dependancies in __openerp.py it works a treat now!

On another issue – when adding examples of code to questions – how do I get them in a neat box as I've seen on other questions? (I'm new and have very low karma)

1
Avatar
Abbandona
Herman

Hi @Gill Potter I've been struggling with this for a while. Please Please Please share code or email me @ herman.wolkie@gmail.com It would really be appreciated.

Avatar
Mehmet Demirel
Risposta migliore

I do not understand. Can you give an example?

0
Avatar
Abbandona
Avatar
TJ
Risposta migliore

Can you share your solution? As I'm also able to customize the sale_mrp module but cannot get the information from the sale.order.line. The sale.order.line has a description that I want to show in the Manufacturing order. The product and quantity of the sale.order.line are forwarded to the Manufacturing Order but I can't find this in the code. Many thanks!

0
Avatar
Abbandona
Gill Potter
Autore

I found a module for v8 which gave me the framework of how to pass fields from sale.order and sale.order.line through to manufacturing. I was always worried about changing the core code ,so I scrapped my changes to sale_mrp. The module is found at https://apps.openerp.com/apps/modules/8.0/mrp_production_sale_info/ Good luck!

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Hide the "New" button in the list view.
sale odoo
Avatar
Avatar
1
dic 24
4216
Pass information from the "comments" field to a button in tree view [SOLVED] Risolto
sale odoo
Avatar
Avatar
1
apr 25
3539
How can we Uninstall odoo module from terminal? Risolto
module odoo
Avatar
Avatar
Avatar
Avatar
3
set 25
22072
Why is my module not showing up? Risolto
v8 module
Avatar
Avatar
1
mar 15
14041
Where is the dissassembly functionlty in odoo v8 ? Risolto
v8 mrp
Avatar
Avatar
Avatar
3
mar 15
4426
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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