上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页
摘要: # coding=utf8 import warnings warnings.filterwarnings('ignore') 阅读全文
posted @ 2023-09-05 13:37 CrossPython 阅读(42) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/CBGCampus/article/details/125366246 https://blog.csdn.net/weixin_43674606/article/details/129193832 https://apps.odoo.com/apps/m 阅读全文
posted @ 2023-09-03 06:42 CrossPython 阅读(231) 评论(0) 推荐(0)
摘要: 2. 销售出库的成本项冗余删除 == DONE 3.报废单需要输入日期. cancel 4. 增加一个成本调整单, 针对物料 == 不需要了 5.凭证编号要改成 记-XXX ==自定义一下即可.. 8.凭证的归属日期必须依据原始单据, 而不是按当前时间 -- 末..... 1. 盘点科目设置 6.价 阅读全文
posted @ 2023-09-02 22:07 CrossPython 阅读(24) 评论(0) 推荐(0)
摘要: Rc::borrow()、 Rc::as_ref()、 Rc::deref(), Rc::borrow_mut()、 Rc::as_mut()、 Rc::deref_mut() Box::borrow()、 Box::as_ref()、 Box::deref() Box::borrow_mut()、 阅读全文
posted @ 2023-09-01 09:35 CrossPython 阅读(38) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/m0_67394360/article/details/123251807 阅读全文
posted @ 2023-08-31 10:09 CrossPython 阅读(1066) 评论(0) 推荐(0)
摘要: **** https://blog.csdn.net/sr50611/article/details/103269668 **** https://blog.csdn.net/venfKong/article/details/121659611 https://odoo.net.cn/topic/4 阅读全文
posted @ 2023-08-30 23:26 CrossPython 阅读(41) 评论(0) 推荐(0)
摘要: 对老表改名 ALTER TABLE ins_txn_attachment_live RENAME TO ins_txn_attachment_live_old ALTER INDEX PK_Ins_TXN_Attachment_ID_ArchiveDataRENAME TO PK_Ins_TXN_A 阅读全文
posted @ 2023-08-30 21:23 CrossPython 阅读(584) 评论(0) 推荐(0)
摘要: 创建子表 CREATE TABLE testdb_2022 ( CHECK ( createtime >= DATE '2022-01-01' AND createtime < DATE '2023-01-01' ) ) INHERITS (testdb); CREATE TABLE testdb_ 阅读全文
posted @ 2023-08-30 21:07 CrossPython 阅读(55) 评论(0) 推荐(0)
摘要: 在Odoo的report报表里: 只显示日期: <t t-esc="deposit.create_date" t-options='{"widget": "date"}'/> 显示日期和时间:<t t-esc="deposit.create_date" t-options='{"widget": " 阅读全文
posted @ 2023-08-30 19:32 CrossPython 阅读(290) 评论(0) 推荐(0)
摘要: 1. anyhow + trivival 2. 直接? 然后返回 box dyn error; ok_or_?(box dyn error) 3. unstable rust有 try block 阅读全文
posted @ 2023-08-29 23:17 CrossPython 阅读(44) 评论(0) 推荐(0)
摘要: 查所有表 SELECT tablename FROM pg_tables WHERE tablename NOT LIKE'pg%' AND tablename NOT LIKE'sql_%' ORDER BY tablename; 查看当前表的所有字段 SELECT C.relname, A.at 阅读全文
posted @ 2023-08-28 14:39 CrossPython 阅读(829) 评论(0) 推荐(0)
摘要: 问: 我有一个函数: fn foo<i32>(x: i32) -> Result<i32, i32> { ... } 我想把结果的值提取到一个变量中,不管它是Ok还是Err。我可以这样做: let val = match foo(10) { Ok(i) => i, Err(i) => i, } 想知 阅读全文
posted @ 2023-08-28 12:45 CrossPython 阅读(113) 评论(0) 推荐(0)
摘要: postgres = "0.19.2" use postgres::{Client, NoTls}; fn main() -> Result<(), postgres::Error> { let mut client = Client::connect("host=localhost dbname= 阅读全文
posted @ 2023-08-27 16:49 CrossPython 阅读(131) 评论(0) 推荐(0)
摘要: 不正确: schtasks /create /tn "MySQL Automatic Backup" /tr "d:\path with spaces to my script\my script.bat" /sc daily ... 正确: schtasks /create /tn "MySQL 阅读全文
posted @ 2023-08-27 16:09 CrossPython 阅读(38) 评论(0) 推荐(0)
摘要: 解决方案:1.创建bat文件,任务命令如下 schtasks /create /TN 名称 /TR 运行程序路径 /SC 指定计划频率 设为用户登入时运行 schtasks /create /TN update /TR D:\Dir\bz2.exe /SC ONLOGON12.立刻执行 schtas 阅读全文
posted @ 2023-08-27 15:53 CrossPython 阅读(336) 评论(0) 推荐(0)
摘要: https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/System/TaskScheduler/index.html https://github.com/ShaoDaTao/windows-taskscheduler-api-r 阅读全文
posted @ 2023-08-27 14:44 CrossPython 阅读(235) 评论(0) 推荐(0)
摘要: nginx的 代码: # set $flag 0; # if ($http_user_agent ~* "360Spider|Baiduspider|Baiduspider-render|Googlebot-Mobile|Googlebot-Image|Mediapartners-Google|Ad 阅读全文
posted @ 2023-08-26 23:29 CrossPython 阅读(94) 评论(0) 推荐(0)
摘要: use std::process::Command; fn is_program_running(program: &str) ->bool { let cmdstr = format!("IMAGENAME eq {}", program); let output = Command::new(" 阅读全文
posted @ 2023-08-26 19:12 CrossPython 阅读(268) 评论(0) 推荐(0)
摘要: '-Begin Option Explicit Dim gColl() As String Dim j As Integer Sub GetAll(Obj As Object) ' '- '- Recursively called sub routine to get the IDs of all 阅读全文
posted @ 2023-08-25 09:32 CrossPython 阅读(29) 评论(0) 推荐(0)
摘要: def test(session): door(session) tabs = session.findById("/app/con[0]/ses[0]/wnd[0]/usr/tabsTABSPR1") a = tabs.FindById(r'/app/con[0]/ses[0]/wnd[0]/us 阅读全文
posted @ 2023-08-25 09:25 CrossPython 阅读(19) 评论(0) 推荐(0)
摘要: https://www.zhihu.com/column/c_1468529809685307392 阅读全文
posted @ 2023-08-24 22:11 CrossPython 阅读(31) 评论(0) 推荐(0)
摘要: 业务场景 使用了外部工作流系统管理固定资产申请,转移(负责人变更), 盘点,报废等涉及固定资产的业务,而固定资产采购,折旧等仍在SAP中进行,所以需要定时从SAP中下载包括固定资产账面值的固定资产清单,以作为工作流审批节点流转的依据 主要功能说明 定时运行 自动登录SAP 下载SAP固定资产报表 S 阅读全文
posted @ 2023-08-24 22:09 CrossPython 阅读(188) 评论(0) 推荐(0)
摘要: import math import os,sys, win32com.client import clipboard from pprint import pprint import csv def get_mb52(session, args = {}, plant = '0001'): res 阅读全文
posted @ 2023-08-24 22:06 CrossPython 阅读(227) 评论(0) 推荐(0)
摘要: 1. 获取session(窗口) Set SapGuiAuto = GetObject("SAPGUI") 'Get the SAP GUI Scripting object Set SAPApp = SapGuiAuto.GetScriptingEngine 'Get the currently 阅读全文
posted @ 2023-08-24 22:04 CrossPython 阅读(145) 评论(0) 推荐(0)
摘要: 代码实现: class SapMessageType(enum.Enum): SUCCESS = "S" WARNING = "W" ERROR = "E" ABORT = "A" INFORMATION = "I" class SapStatusMessage: def __init__(self 阅读全文
posted @ 2023-08-24 21:51 CrossPython 阅读(26) 评论(0) 推荐(0)
摘要: class SapGuiGridView: """ SAP中GridView组件数据的表示对象类。 用于从SAP的GridView中读取指定的数据。 """ @staticmethod def get_data(session, _id, columns, handler=None): """ 读取 阅读全文
posted @ 2023-08-24 21:50 CrossPython 阅读(178) 评论(0) 推荐(0)
摘要: class SapGuiTableControl: """ 读取GuiTableControl对象的数据。 """ @staticmethod def get_data(session, _id, columns=None): """ 获取指定列的数据,索引从0开始。 :param session: 阅读全文
posted @ 2023-08-24 21:49 CrossPython 阅读(66) 评论(0) 推荐(0)
摘要: class SapGuiTree: class TreeType(enum.Enum): SIMPLE = 0 LIST = 1 COLUMN = 2 @classmethod def show(cls, tree, node, indention): print(indention, node, 阅读全文
posted @ 2023-08-24 21:44 CrossPython 阅读(51) 评论(0) 推荐(0)
摘要: import sys import win32com.client import win32api import win32gui import win32con # import win32ui import time import os import subprocess def Login() 阅读全文
posted @ 2023-08-24 11:47 CrossPython 阅读(50) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/new-june/p/11151458.html https://www.cnblogs.com/new-june/p/11356719.html https://www.cnblogs.com/new-june/tag/SAP%20script/ 阅读全文
posted @ 2023-08-24 11:25 CrossPython 阅读(20) 评论(0) 推荐(0)
摘要: import subprocess #'-system = PRD' 请把PRD换成指定SAP系统的SID # '-client=110' 请把Client修改为正确的Client, 输入用户名和密码的上方有的Client, 3位数字的 #'-l=ZH' ZH中文,EN英文, def login() 阅读全文
posted @ 2023-08-24 09:14 CrossPython 阅读(79) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/442717704 阅读全文
posted @ 2023-08-24 08:44 CrossPython 阅读(26) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-08-23 18:40 CrossPython 阅读(44) 评论(0) 推荐(0)
摘要: 1.纵向无缝滚动(类似淘宝) ps:存在一个问题,当鼠标移入时,未关闭定时器 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .box{ margin:100px 阅读全文
posted @ 2023-08-23 10:54 CrossPython 阅读(404) 评论(0) 推荐(0)
摘要: 滚动公告栏是网页中常见的一种组件,可以在网页头部或者侧边显示最新的消息和活动。下面介绍如何使用CSS来实现一个滚动公告栏。 /* 定义滚动公告栏的样式 */ .news { overflow: hidden; /* 隐藏溢出部分 */ height: 30px; /* 设置高度 */ line-he 阅读全文
posted @ 2023-08-23 10:18 CrossPython 阅读(647) 评论(0) 推荐(0)
摘要: 1. 成本调整不能调到没有完工的工单 2. 工单产出物限制选择SEMI,FG 阅读全文
posted @ 2023-08-23 09:18 CrossPython 阅读(23) 评论(0) 推荐(0)
摘要: // prettier-ignore const hours = [ '', '2022-09', '2022-10', '2022-11', '2022-12', '2023-01', '2023-02', '2023-03', '2023-04', '2023-05', '2023-06', ' 阅读全文
posted @ 2023-08-22 10:47 CrossPython 阅读(167) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <odoo> <data> <record id="account_move_line_view_customize_form" model="ir.ui.view"> <field name="name">account 阅读全文
posted @ 2023-08-21 16:48 CrossPython 阅读(132) 评论(0) 推荐(0)
摘要: https://www.lmlphp.com/user/63822/article/item/2434309/按条件隐藏: <xpath expr="//group[1]" position="attributes"> <attribute name="attrs">{'invisible':[(' 阅读全文
posted @ 2023-08-21 16:31 CrossPython 阅读(131) 评论(0) 推荐(0)
摘要: # 设置默认值函数 @api.model def _default_ids(self): default_ids=[] for s in range(1,6): default_ids.append((0, 0,{'service':s,'all':0})) #字典里边填的是默认子表的值,前面0,0 阅读全文
posted @ 2023-08-21 16:24 CrossPython 阅读(49) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页