Skip to content

Commit 9384a72

Browse files
committed
Merge PR OCA#4240 into 19.0
Signed-off-by Shide
2 parents 5af546a + 1fe96d5 commit 9384a72

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

sale_invoice_frequency/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To use this module, you need to:
4949

5050
1. Go to *Sales/Configuration/Invoicing frequency* and create your
5151
custom frequencies.
52-
2. Set these frequencies in the customer form *Invoicing* tab.
52+
2. Set these frequencies in the customer form *Sales* tab.
5353
3. When a sale is created, the Invoicing frequency of the field
5454
``partner_id`` is propagated.
5555
4. An user can change Invoicing frequency on sales and customers if has

sale_invoice_frequency/readme/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ To use this module, you need to:
22

33
1. Go to *Sales/Configuration/Invoicing frequency* and create your
44
custom frequencies.
5-
2. Set these frequencies in the customer form *Invoicing* tab.
5+
2. Set these frequencies in the customer form *Sales* tab.
66
3. When a sale is created, the Invoicing frequency of the field
77
`partner_id` is propagated.
88
4. An user can change Invoicing frequency on sales and customers if has

sale_invoice_frequency/static/description/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ <h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
399399
<ol class="arabic simple">
400400
<li>Go to <em>Sales/Configuration/Invoicing frequency</em> and create your
401401
custom frequencies.</li>
402-
<li>Set these frequencies in the customer form <em>Invoicing</em> tab.</li>
402+
<li>Set these frequencies in the customer form <em>Sales</em> tab.</li>
403403
<li>When a sale is created, the Invoicing frequency of the field
404404
<tt class="docutils literal">partner_id</tt> is propagated.</li>
405405
<li>An user can change Invoicing frequency on sales and customers if has

sale_invoice_frequency/views/res_partner_view.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
<field name="model">res.partner</field>
88
<field name="inherit_id" ref="account.view_partner_property_form" />
99
<field name="arch" type="xml">
10-
<xpath
11-
expr="//group[@id='invoice_send_settings']/field[@name='invoice_sending_method']"
12-
position="before"
13-
>
14-
<field name="invoice_frequency_id" options="{'no_create': True}" />
10+
<xpath expr="//group[@name='sale']" position="inside">
11+
<field
12+
name="invoice_frequency_id"
13+
options="{'no_create': True}"
14+
groups="account.group_account_invoice"
15+
/>
1516
</xpath>
1617
</field>
1718
</record>

0 commit comments

Comments
 (0)