Need help
I am using odoo 10. in module lunch I would like when click to select order, I want to get product from sales and not only product from lunch or product created in lunch to appear also in product of sales. anyone can help?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
2
Risposte
2659
Visualizzazioni
I changed
product_id = fields.Many2one('lunch.product', 'Product', required=True)
by this
product_id = fields.Many2one('product.product', 'Product', required=True)
but no effect after I updated my module getting Internal server error
Hi,
in the lunch module the product form is created separately does not inherit module product
if you want to change that you have to change this line: (\addons\\lunch\models/lunch.py)
product_id = fields.Many2one('lunch.product', 'Product', required=True)
by this
product_id = fields.Many2one('product.product', 'Product', required=True)
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