update demo

This commit is contained in:
Ivan Office
2025-02-22 02:41:35 +08:00
5 changed files with 12 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ from odoo.exceptions import UserError, ValidationError
class ResPartner(models.Model): class ResPartner(models.Model):
_inherit = 'res.partner' _inherit = 'res.partner'
name = fields.Char(translate=False) # name = fields.Char(translate=False)
short_name = fields.Char('Short Name') # 简称 short_name = fields.Char('Short Name') # 简称
fax = fields.Char('Fax') # 简称 fax = fields.Char('Fax') # 简称

View File

@@ -17,7 +17,7 @@
<section class="oe_container container"> <section class="oe_container container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<div class="row"> <div class="row">
<h3>Latest update: v18.0.25.01.17</h3> <h3>Latest update: v18.0.25.02.20</h3>
<div class="oe_span12 oe_spaced"> <div class="oe_span12 oe_spaced">
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;"> <div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
<i class="fa fa-hand-o-right"></i><b> Key features: </b> <i class="fa fa-hand-o-right"></i><b> Key features: </b>
@@ -188,4 +188,4 @@
</div> </div>
</section> </section>
<!-- end support--> <!-- end support-->
</html> </html>

View File

@@ -9,7 +9,11 @@
{ {
'name': '2025最新中国会计科目表.企业标准会计.Latest Chinese Accounting for odoo18', 'name': '2025最新中国会计科目表.企业标准会计.Latest Chinese Accounting for odoo18',
<<<<<<< HEAD
'version': '18.0.25.02.17', 'version': '18.0.25.02.17',
=======
'version': '18.0.25.02.18',
>>>>>>> 45755625c75769f05f8e783700c875306e877cc0
'author': 'odooai.cn', 'author': 'odooai.cn',
'category': 'Accounting/Localizations/Account Charts', 'category': 'Accounting/Localizations/Account Charts',
'website': 'https://www.odooai.cn', 'website': 'https://www.odooai.cn',

View File

@@ -15,6 +15,6 @@ class AccountJournal(models.Model):
if hasattr(company, 'coa_delimiter'): if hasattr(company, 'coa_delimiter'):
delimiter = company.coa_delimiter delimiter = company.coa_delimiter
code = code + delimiter + '01' code = code + delimiter + '01'
new_code = self.env['account.account']._search_new_account_code(code), new_code = self.env['account.account']._search_new_account_code(code)
res.update({'code': new_code}) res.update({'code': new_code})
return res return res

View File

@@ -17,7 +17,11 @@
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<div class="row"> <div class="row">
<div class="oe_row"> <div class="oe_row">
<<<<<<< HEAD
<h3>Lastest update: v18.0.25.02.17</h3> <h3>Lastest update: v18.0.25.02.17</h3>
=======
<h3>Lastest update: v18.25.02.18</h3>
>>>>>>> 45755625c75769f05f8e783700c875306e877cc0
<div class="row"> <div class="row">
<img class="oe_demo oe_screenshot img img-fluid" src="banner.png"> <img class="oe_demo oe_screenshot img img-fluid" src="banner.png">
</div> </div>