Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
Sites and saleoder are not linked i just want to select the Sites things in saleorder tree grid like this,
Site A Name (selection), Site A Address , Site B Name (selection) , Site B Address , Link(text)
when i select Site Site A Name its address will show in Site A Address same will be for Site B and I will input the text in link
thats my senairo.
0
Fawad Mazhar
Le 15/05/2017 12:22
Sites and saleoder are not linked i just want to select the Sites things in saleorder tree grid like this,
Site A Name (selection), Site A Address , Site B Name (selection) , Site B Address , Link(text)
when i select Site Site A Name its address will show in Site A Address same will be for Site B and I will input the text in link
thats my senairo.
Hi,
how 'Sites' and 'Sale Order' are linked? Would you like to have some reference from an order to sites? If so:
class SaleOrder(models.Model):
_inherit = "sale.order"
sites_id = fields.Many2one("sites.sites")
customer_site_name = fields.Char(related="sites_id.customer_site_name")
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ę