Browse Source

[CHANGE][0045 - Date de livraison dans le bon de commande]

Remove date_planned and button to set date in tab delivery
Add a new field manual_date_planned
Onchange on order_line to set the first time a date planned
Force the manual_date_planned to all line at confirmation
Change the report for purchase order
[ADD] default value on picking responsible: set the create_uid as responsible (this mean the one that confirm the purchase order
pull/114/head
Thibault Francois 6 years ago
committed by Rémy Taymans
parent
commit
2ed912c330
  1. 2
      beesdoo_purchase/__init__.py
  2. 5
      beesdoo_purchase/models/purchase.py
  3. 3
      beesdoo_purchase/views/purchase_order.xml

2
beesdoo_purchase/__init__.py

@ -1,2 +0,0 @@
# -*- coding: utf-8 -*-
import models

5
beesdoo_purchase/models/purchase.py

@ -1,5 +0,0 @@
# -*- coding: utf-8 -*-
from openerp import models, api
class PurchaseOrder(models.Model):
_inherit = 'purchase.order'

3
beesdoo_purchase/views/purchase_order.xml

@ -8,9 +8,6 @@
<field name="product_id" position="attributes">
<attribute name="domain">[('main_seller_id','=', parent.partner_id)]</attribute>
</field>
<xpath expr="//page/group/group//field[@name='date_planned']" position="attributes">
<attribute name="readonly">0</attribute>
</xpath>
</field>
</record>
</data>

Loading…
Cancel
Save