mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[MIG] account_move_budget: Migration to 17.0
This commit is contained in:
@@ -49,8 +49,8 @@ expenses report.
|
||||
Usage
|
||||
=====
|
||||
|
||||
In order to set up the budget items go to *Invoicing / Accounting /
|
||||
Miscellaneous / Account Move Budgets*.
|
||||
In order to set up the budget items go to *Accounting / Accounting /
|
||||
Journals / Account Move Budgets*.
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
"name": "Account Move Budget",
|
||||
"summary": "Create Accounting Budgets",
|
||||
"version": "16.0.1.0.0",
|
||||
"version": "17.0.1.0.0",
|
||||
"category": "Accounting & Finance",
|
||||
"website": "https://github.com/OCA/account-financial-tools",
|
||||
"author": "ForgeFlow, " "Odoo Community Association (OCA)",
|
||||
|
||||
@@ -50,7 +50,7 @@ class AccountMoveBudget(models.Model):
|
||||
default = {}
|
||||
if "name" not in default:
|
||||
default["name"] = _("%s (copy)") % self.name
|
||||
return super(AccountMoveBudget, self).copy(default=default)
|
||||
return super().copy(default=default)
|
||||
|
||||
@api.onchange("date_range_id")
|
||||
def _onchange_date_range(self):
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
In order to set up the budget items go to *Invoicing / Accounting /
|
||||
Miscellaneous / Account Move Budgets*.
|
||||
In order to set up the budget items go to *Accounting / Accounting / Journals / Account Move Budgets*.
|
||||
|
||||
@@ -394,8 +394,8 @@ expenses report.</p>
|
||||
</div>
|
||||
<div class="section" id="usage">
|
||||
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
|
||||
<p>In order to set up the budget items go to <em>Invoicing / Accounting /
|
||||
Miscellaneous / Account Move Budgets</em>.</p>
|
||||
<p>In order to set up the budget items go to <em>Accounting / Accounting /
|
||||
Journals / Account Move Budgets</em>.</p>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
|
||||
|
||||
@@ -13,20 +13,20 @@
|
||||
name="action_draft"
|
||||
string="Set draft"
|
||||
type="object"
|
||||
attrs="{'invisible': [('state', '=', 'draft')]}"
|
||||
invisible="state == 'draft'"
|
||||
/>
|
||||
<button
|
||||
name="action_confirm"
|
||||
string="Confirm"
|
||||
type="object"
|
||||
attrs="{'invisible': [('state', '!=', 'draft')]}"
|
||||
invisible="state != 'draft'"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
<button
|
||||
name="action_cancel"
|
||||
string="Cancel"
|
||||
type="object"
|
||||
attrs="{'invisible': [('state', '=', 'cancelled')]}"
|
||||
invisible="state == 'cancelled'"
|
||||
/>
|
||||
<field name="state" widget="statusbar" />
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user