Merge lp:~openerp-dev/openobject-addons/trunk-usability1_purchase_sale-nco into lp:openobject-addons

Proposed by Nimesh Contractor(Open ERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-usability1_purchase_sale-nco
Merge into: lp:openobject-addons
Diff against target: 54 lines (+7/-7)
3 files modified
account/partner_view.xml (+2/-2)
account_followup/account_followup_customers.xml (+4/-4)
purchase/purchase_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-usability1_purchase_sale-nco
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+163301@code.launchpad.net

Description of the change

Hello,

I have done following things.
1) When we install account_followup, there are 2 group by options in partner search view, I have merge it.
2) Accounting tab in partner form view is always visible even if we don't have accounting rights, I have make it invisible if user don't have accounting rights.
3) I have make "Receive Invoice" button invisible, when the purchase order's invoicing policy is based on order lines.

Thanks,
Nimesh.

To post a comment you must log in.
8702. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8703. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8704. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8705. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8706. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8707. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8708. By Nimesh Contractor(Open ERP)

[MERGE] with addons

8709. By Amit Bhavsar (Open ERP)

[MERGE] merge with latest trunk

8710. By Amit Bhavsar (Open ERP)

[MERGE] merge with latest trunk.

8711. By Amit Bhavsar (Open ERP)

[MERGE] merge with latest trunk.

Unmerged revisions

8711. By Amit Bhavsar (Open ERP)

[MERGE] merge with latest trunk.

8710. By Amit Bhavsar (Open ERP)

[MERGE] merge with latest trunk.

8709. By Amit Bhavsar (Open ERP)

[MERGE] merge with latest trunk

8708. By Nimesh Contractor(Open ERP)

[MERGE] with addons

8707. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8706. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8705. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8704. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8703. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

8702. By Nimesh Contractor(Open ERP)

[MERGE] with trunk.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/partner_view.xml'
2--- account/partner_view.xml 2013-06-14 12:10:20 +0000
3+++ account/partner_view.xml 2013-11-11 06:55:47 +0000
4@@ -97,7 +97,7 @@
5 <field name="inherit_id" ref="base.view_partner_form"/>
6 <field name="arch" type="xml">
7 <page name="sales_purchases" position="after" version="7.0">
8- <page string="Accounting" col="4" name="accounting" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}">
9+ <page string="Accounting" col="4" name="accounting" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}" groups="account.group_account_invoice">
10 <group>
11 <group>
12 <field name="property_account_position" widget="selection"/>
13@@ -127,7 +127,7 @@
14 </tree>
15 </field>
16 </page>
17- <page string="Accounting" name="accounting_disabled" attrs="{'invisible': ['|',('is_company','=',True),('parent_id','=',False)]}">
18+ <page string="Accounting" name="accounting_disabled" attrs="{'invisible': ['|',('is_company','=',True),('parent_id','=',False)]}" groups="account.group_account_invoice">
19 <div>
20 <p>Accounting-related settings are managed on <button name="open_commercial_entity" type="object" string="the parent company" class="oe_link"/></p>
21 </div>
22
23=== modified file 'account_followup/account_followup_customers.xml'
24--- account_followup/account_followup_customers.xml 2013-06-03 12:18:52 +0000
25+++ account_followup/account_followup_customers.xml 2013-11-11 06:55:47 +0000
26@@ -50,11 +50,11 @@
27 <filter string="No Responsible" domain="[('payment_responsible_id', '=', False)]"/>
28 <filter string="My Follow-ups" domain="[('payment_responsible_id','=', uid)]" name="my"/>
29 </group>
30- <group expand="1" string="Group By...">
31- <filter string="Follow-up Responsible" context="{'group_by':'payment_responsible_id'}"/>
32- <filter string="Followup Level" context="{'group_by':'latest_followup_level_id'}"/>
33- </group>
34 </search>
35+ <xpath expr="//filter[@string='Country']" position="after">
36+ <filter string="Follow-up Responsible" context="{'group_by':'payment_responsible_id'}"/>
37+ <filter string="Followup Level" context="{'group_by':'latest_followup_level_id'}"/>
38+ </xpath>
39 </field>
40 </record>
41
42
43=== modified file 'purchase/purchase_view.xml'
44--- purchase/purchase_view.xml 2013-09-17 11:48:53 +0000
45+++ purchase/purchase_view.xml 2013-11-11 06:55:47 +0000
46@@ -173,7 +173,7 @@
47 <button name="invoice_ok" states="except_invoice" string="Manually Corrected"/>
48 <button name="purchase_approve" states="confirmed" string="Approve Order" class="oe_highlight" groups="purchase.group_purchase_manager"/>
49 <button name="view_picking" string="Receive Products" type="object" attrs="{'invisible': ['|', ('shipped','=',True), ('state','!=', 'approved')]}" class="oe_highlight"/>
50- <button name="view_invoice" string="Receive Invoice" type="object" attrs="{'invisible': ['|', ('invoice_method','=','picking'), '|', ('state','!=', 'approved'), ('invoiced','=',True) ]}" class="oe_highlight"/>
51+ <button name="view_invoice" string="Receive Invoice" type="object" attrs="{'invisible': ['|', ('invoice_method','in',['picking','manual']), '|', ('state','!=', 'approved'), ('invoiced','=',True) ]}" class="oe_highlight"/>
52 <button name="action_cancel_draft" states="cancel,confirmed" string="Set to Draft" type="object" />
53 <button name="purchase_cancel" states="draft,confirmed,sent" string="Cancel"/>
54 <field name="state" widget="statusbar" statusbar_visible="draft,sent,approved,done" statusbar_colors='{"except_picking":"red","except_invoice":"red","confirmed":"blue"}' readonly="1"/>

Subscribers

People subscribed via source and target branches

to all changes: