add carrier:issue8413.diff

This commit is contained in:
?ngel ?lvarez 2019-06-10 10:02:15 +02:00
parent 14983e869c
commit 84671f939a
2 changed files with 13 additions and 1 deletions

12
issue8413.diff Normal file
View File

@ -0,0 +1,12 @@
diff -r 254e4bb38458 carrier.py
--- a/trytond/trytond/modules/carrier/carrier.py Mon May 06 15:01:12 2019 +0200
+++ b/trytond/trytond/modules/carrier/carrier.py Mon Jun 10 10:00:08 2019 +0200
@@ -13,6 +13,8 @@
class Carrier(ModelSQL, ModelView):
'Carrier'
__name__ = 'carrier'
+ _rec_name = 'party'
+
party = fields.Many2One('party.party', 'Party', required=True,
ondelete='CASCADE', help="The party which represents the carrier.")
carrier_product = fields.Many2One('product.product', 'Carrier Product',

2
series
View File

@ -27,7 +27,7 @@ issue10467.diff # [stock_lot] add lot to grouping when assign try if lot it's re
party_identifier_migration.diff # [Party] avoid errors on upgrades
production_view.diff [production] Split inputs and outputs on pages
issue8413.diff [carrier] Add recname to search
# Sao